summaryrefslogtreecommitdiff
path: root/.local/sbin/chtheme
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2026-04-03 03:53:50 +0200
committerThomas Voss <mail@thomasvoss.com> 2026-04-03 03:53:50 +0200
commit7e0ac6ebfe40e1637e8534a5fcdf5992d525a32e (patch)
tree913acacc53b3443b06d08ec35089202ddfff97f4 /.local/sbin/chtheme
parent6249f5ba768fd496934dbd2eae177e2f01b14075 (diff)
chtheme: Use the Freedesktop interface
Diffstat (limited to '.local/sbin/chtheme')
-rwxr-xr-x.local/sbin/chtheme6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/sbin/chtheme b/.local/sbin/chtheme
index e9b951c..b2f4d14 100755
--- a/.local/sbin/chtheme
+++ b/.local/sbin/chtheme
@@ -2,9 +2,9 @@
if [ "$1" = true ]
then
- theme=Adwaita-dark
+ theme=prefer-dark
else
- theme=Adwaita
+ theme=prefer-light
fi
-gsettings set org.gnome.desktop.interface gtk-theme $theme
+gsettings set org.gnome.desktop.interface color-scheme $theme