From a0b32034f7c557bcaa38e3610c8a97eeee7a00a8 Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Sun, 29 Jun 2025 22:28:05 +0200 Subject: Initial commit --- dot-local-bin/dark-light-switch | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 dot-local-bin/dark-light-switch (limited to 'dot-local-bin/dark-light-switch') 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 -- cgit v1.2.3