summaryrefslogtreecommitdiff
path: root/scripts/reload_gtk_theme
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/reload_gtk_theme')
-rwxr-xr-xscripts/reload_gtk_theme5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/reload_gtk_theme b/scripts/reload_gtk_theme
new file mode 100755
index 0000000..6d17f65
--- /dev/null
+++ b/scripts/reload_gtk_theme
@@ -0,0 +1,5 @@
+#!/bin/sh
+theme=$(gsettings get org.gnome.desktop.interface gtk-theme)
+gsettings set org.gnome.desktop.interface gtk-theme ''
+sleep 1
+gsettings set org.gnome.desktop.interface gtk-theme $theme