Open sweenu opened 2 years ago
I've had GTK themes mess with the padding of my waybar and it is difficult to figure out just how waybar and the GTK theme interact which makes it pretty complicated to get my desired padding back. Would really appreciate being able to ignore the GTK theme.
Does anyone have any workaround for this in the meanwhile?
A comment from #450 fixed this for me.
At the beginning of your css file you can have:
* { all: initial; }
Which will disable any styling from your GTK theme. The problem is that widgets and any applications launched from the bar (for example if you configure the launch of pavucontrol witha double click on a module) won't have the GTK style either.
For me, the fix was to specifically put
button {
min-height: 24px;
min-width: 16px;
}
in my config, as well as add font-weight: normal;
to my *
section because those were the things that were changed by the GTK themes I use.
For me,
I feel like this is stuff that should either be on the wiki or in the FAQ and would like to hear the devs thoughts on the same, even if we never get an option to escape the GTK theme.
Every time I change my GTK theme, it changes how waybar looks, but I don't want that because I styled it in a specific way and I don't want it to change. Could we have a way to ignore the GTK theme? And if not, a way to choose the theme just for waybar without using
GTK_THEME
?