add switch light/dark mode gtk theme script
This commit is contained in:
parent
20887df724
commit
6407620ad2
18
laptop/scripts/change-gtk.sh
Executable file
18
laptop/scripts/change-gtk.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user