add switch light/dark mode gtk theme script

This commit is contained in:
Lucas Barbieri 2024-06-27 17:20:07 -03:00
parent 20887df724
commit 6407620ad2

18
laptop/scripts/change-gtk.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/bash
GTKDARK="Numix-BLACK-Pomegranate"
GTKLIGHT="Orchis-Teal"
case "$1" in
light)
gsettings set org.gnome.desktop.interface color-scheme prefer-light
gsettings set org.gnome.desktop.interface gtk-theme "$GTKLIGHT"
;;
dark)
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
gsettings set org.gnome.desktop.interface gtk-theme "$GTKDARK"
;;
*) exit 0
;;
esac