Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.27k stars 689 forks source link

wlr/taskbar: Allow custom format for active window #3529

Open alessaba opened 3 weeks ago

alessaba commented 3 weeks ago

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:

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

alessaba commented 3 weeks ago

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