Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

wlr/taskbar: Allow custom format for active window

Open alessaba opened this issue 1 year ago • 1 comments

It would be nice it f there was a config option to specify a custom format for active windows: my use case would be having just the icon for all programs running, and icon + title for the current window. I tried to achieve the effect with CSS but i can't find a way since setting font size to 0px does not seem to work. Also tried googling some other tricks but some css parameters are not accepted.

my request would either be:

  • add a "format-active" config option
  • Add the ability to style the text of the actual taskbar button, so i can the size to 0 or hide it in some other way with CSS

If i am missing something, let me know :-)

alessaba avatar Aug 18 '24 14:08 alessaba

Update: temporary solution to the problem is the following code:

` #taskbar button box label{ font-size: 0px; }

#taskbar button.active box label{ font-size: 13px; } ` Result is the following:

dom 18 ago 2024, 19:48:39, CEST_grim

alessaba avatar Aug 18 '24 17:08 alessaba