diff options
author | Mathias Magnusson <mathias@magnusson.space> | 2025-06-29 22:28:05 +0200 |
---|---|---|
committer | Mathias Magnusson <mathias@magnusson.space> | 2025-06-29 22:47:23 +0200 |
commit | a0b32034f7c557bcaa38e3610c8a97eeee7a00a8 (patch) | |
tree | 3f4f1b7252958ccd8fa3158a35aeb34cdacf94c1 /dot-local-bin/dark-light-switch | |
download | sleipner-a0b32034f7c557bcaa38e3610c8a97eeee7a00a8.tar.gz |
Initial commit
Diffstat (limited to 'dot-local-bin/dark-light-switch')
-rwxr-xr-x | dot-local-bin/dark-light-switch | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dot-local-bin/dark-light-switch b/dot-local-bin/dark-light-switch new file mode 100755 index 0000000..488b71a --- /dev/null +++ b/dot-local-bin/dark-light-switch @@ -0,0 +1,7 @@ +#!/usr/bin/env fish + +if [ (gsettings get org.gnome.desktop.interface color-scheme) = "'prefer-dark'" ] + gsettings set org.gnome.desktop.interface color-scheme prefer-light +else + gsettings set org.gnome.desktop.interface color-scheme prefer-dark +end |