scheme: light/dark mode

This commit is contained in:
2 * r + 2 * t
2025-02-23 20:30:19 +11:00
parent 25cdb598c5
commit 557e1e4abe
4 changed files with 33 additions and 11 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ else
set colour_scheme dark
end
test "$(cat $C_STATE/scheme/current-name.txt)" = dynamic && gsettings set org.gnome.desktop.interface color-scheme \'prefer-$colour_scheme\'
echo -n $colour_scheme > $C_STATE/scheme/dynamic-mode.txt
# 2nd line except first element is the palette
# The first element in lines 3+ are the layers