themix-project / oomox-gtk-theme

Oomox-gtk-theme is a fork of Numix-gtk-theme with slightly different visual design choices and more customization capabilities. It can be used in Themix/Oomox app.
https://github.com/themix-project/oomox
GNU General Public License v3.0
42 stars 8 forks source link

different headerbar color when window is active/unactive #90

Open demostanis opened 10 months ago

demostanis commented 10 months ago

moved (again) from https://github.com/themix-project/themix-plugin-base16/issues/6 hope this is the right place now...

is there an option/would it be possible to have an option to indicate a different color for the headerbar when its window is active and unactive? i tried to change WMBORDER{UN,}FOCUS but that did not have any effect: i have a script which does the same as oomox-gui: using the base16 plugin to generate colors which i pipe to change_color.sh. i have a file which contains additional variables. i set WM_BORDER_FOCUS (i didn't commit it) to 000000 but i see no change in the headerbar' colors

actionless commented 10 months ago

isn't it the same thing as here? https://github.com/themix-project/oomox-gtk-theme/issues/18

demostanis commented 10 months ago

i see that i can monkey patch the scss files to get the effect i want, but shouldnt there be a variable to do that?

actionless commented 10 months ago

yup, you can add one, but it should be then in sync with all the parts of the theme, not just for one toolkit

demostanis commented 10 months ago

i see that i can monkey patch the scss files to get the effect i want, but shouldnt there be a variable to do that?

actually, no, it seems that setting titlebar_bg_unfocused doesnt do anything, the titlebar's color when unfocused stays the same when focused (however, changing titlebar_bg_focused does work)