nwg-piotr / nwg-look

GTK3 settings editor adapted to work in the wlroots environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change GTK settings via command line

TomyOne opened this issue · comments

Hello is there or in plan to have possibility to change setting directly from command line?

Could be useful to quickly change let's say GTK theme between light and dark theme via keybinding.

Something like:
nwg-look -c gtk-theme="theme-name"

Thank you!

Well after checking the code I found out this solution for it, but a bit of hacking :)

sed -i -e 's/gtk-theme=.*/gtk-theme=<THEME_NAME>/g' ${HOME}/.local/share/nwg-look/gsettings
nwg-look -a

Try gsettings set org.gnome.desktop.interface gtk-theme "ThemeNameHere".

ahh yeah or that is much better :) Thanks!