Set GTK theme
Some apps don't react to automatic theme changes via xfconf-query because they instead monitor the gtk-theme setting - Sublime Text is a good example. This quick fix additionally sets the gtk-theme gsetting to the target theme so these kind of apps will respond to theme changes.
This commit is contained in:
parent
04f1427ae9
commit
4c6ae90598
1 changed files with 5 additions and 0 deletions
|
|
@ -71,6 +71,11 @@ function set_theme()
|
|||
show_usage
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$2" = "/Net/ThemeName" ]
|
||||
then
|
||||
gsettings set org.gnome.desktop.interface gtk-theme "$target_theme"
|
||||
fi
|
||||
}
|
||||
|
||||
function get_config()
|
||||
|
|
|
|||
Loading…
Reference in a new issue