Comments (8)
The widget spacing setting only applies to the spacing between discrete widgets. The workspace list/pager is a single widget. You should see 0 spacing between that widget and any widgets directly adjacent to it....
As far as I can tell, the hbox containing the workspace names already sets its padding to 0. Could you post a screenshot showing the problem you are seeing? I'm not sure that having less spacing is possible with gtk without a serious re-engineering.
from taffybar.
Fair Warning: I changed my label background color settings to be a little more dramatic to make this issue easier to see.
My desktop is like so http://imgur.com/wRGCsDY . As you can see I set the background color for my workspaces labels, to be different colors. There is no padding inside the labels, but only a margin outside, which makes them look ugly. I can pad them myself with spaces, but because of the margin outside it makes the workspace pager much to wide.
from taffybar.
+1
from taffybar.
Fair Warning: I changed my label background color settings to be a little more dramatic to make this issue easier to see.
My desktop is like so http://imgur.com/wRGCsDY . As you can see I set the background color for my workspaces labels, to be different colors. There is no padding inside the labels, but only a margin outside, which makes them look ugly. I can pad them myself with spaces, but because of the margin outside it makes the workspace pager much to wide.
@joyfulmantis @Cumgun The reason that happens is because the color set with the original TaffyPager is actually on the label, not the background of the widget itself.
The new module workspaceHUD allows setting the background color of the entire widget. (See #180)
Here is an example of workspaceHUD providing something like what you want http://imgur.com/xHmhInm . Here's an album of other looks you can get with WorkspaceHUD
from taffybar.
@IvanMalison thanks a lot for your update. Would you be able to provide a configuration example?
from taffybar.
@Cumgun Yes, of course. You'll need to have taffybar installed from the git repository since there has not been a release that has included these changes yet.
You'll need to set up both a taffybar.hs and a taffybar.rc.
You can check out my configuration here
I'll post a more minimal example here in a second.
from taffybar.
@Cumgun Here is a minimal taffybar.hs, taffybar.rc pair
hs: https://gist.github.com/IvanMalison/8359d4a2e8ee2bc5214cca79b7d1e09a
rc: https://gist.github.com/IvanMalison/eb8ca91bb9db418742b730aeb620b71b
that should accomplish exactly what this ticket would seem to want
Here's an image
http://i.imgur.com/SggNcKV.png
from taffybar.
@IvanMalison awesome, thanks a lot for your time and effort! This indeed achieves exactly what I wanted to see.
from taffybar.
Related Issues (20)
- Chrome MPRIS Icon is not set properly
- Fix up README
- ConfigFile -> MissingH dependency HOT 2
- taffybar-3.3.0 failed to build in Stackage Nightly HOT 9
- Image command buttons HOT 1
- Taffybar fails to build with haskell-gi-0.26 HOT 1
- Handling X11 error with error handler HOT 5
- Window titles missing HOT 1
- Make Crypto Widgets Fail Gracefully when Unable to Connect
- Support running multiple/different bar configurations HOT 9
- Taffybar crashes when using Discord HOT 9
- Somehow document how to make cabal new-repl work with nix shell HOT 2
- Taffybar barHeight problem HOT 2
- Set a maximum exponential backoff for crypto widgets
- mmap 4096 bytes at (nil): Cannot allocate memory HOT 37
- Windows widget `truncatedGet*Label` functions don't account for character entity encoding HOT 3
- Fully working taffybar with nix flakes example HOT 3
- Avoid calling Refresh on org.freedesktop.UPower.Device HOT 5
- Crypto Widgets aren't working. Possible issue with coin gecko
- mtl 2.3 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taffybar.