summaryrefslogtreecommitdiff
path: root/.local/sbin/chtheme
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2026-03-23 17:52:44 +0100
committerThomas Voss <mail@thomasvoss.com> 2026-03-23 17:52:44 +0100
commit4b83a36ca94eb34a6dce4516ebb4cdbbc391f0d8 (patch)
tree945febd280940de419d52bd5f861433982561d87 /.local/sbin/chtheme
parent07fe5a817a2b1e3527ce17b26896195fe64e9770 (diff)
chtheme: Add script to change the theme
Diffstat (limited to '.local/sbin/chtheme')
-rwxr-xr-x.local/sbin/chtheme10
1 files changed, 10 insertions, 0 deletions
diff --git a/.local/sbin/chtheme b/.local/sbin/chtheme
new file mode 100755
index 0000000..e9b951c
--- /dev/null
+++ b/.local/sbin/chtheme
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ "$1" = true ]
+then
+ theme=Adwaita-dark
+else
+ theme=Adwaita
+fi
+
+gsettings set org.gnome.desktop.interface gtk-theme $theme