Coder Social home page Coder Social logo

Comments (8)

travitch avatar travitch commented on May 13, 2024

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.

joyfulmantis avatar joyfulmantis commented on May 13, 2024

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.

virvum avatar virvum commented on May 13, 2024

+1

from taffybar.

colonelpanic8 avatar colonelpanic8 commented on May 13, 2024

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

http://imgur.com/a/kH6T4

from taffybar.

virvum avatar virvum commented on May 13, 2024

@IvanMalison thanks a lot for your update. Would you be able to provide a configuration example?

from taffybar.

colonelpanic8 avatar colonelpanic8 commented on May 13, 2024

@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.

colonelpanic8 avatar colonelpanic8 commented on May 13, 2024

@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.

virvum avatar virvum commented on May 13, 2024

@IvanMalison awesome, thanks a lot for your time and effort! This indeed achieves exactly what I wanted to see.

from taffybar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.