summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormynacol2022-01-28 13:36:11 +0100
committermynacol2022-01-28 13:36:11 +0100
commit77faeb54cdde03bdf38913559139e886a5c3d5d4 (patch)
tree8d7751b07226c2e628cc26bff49c27a52d6adb3e
parentc1e12e5fd049a8f9da5246701aa7b4e9087261c9 (diff)
downloadaur-77faeb54cdde03bdf38913559139e886a5c3d5d4.tar.gz
Match for more keywords
Inspired by redshift/gammastep period names.
-rwxr-xr-xdark-theme.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/dark-theme.sh b/dark-theme.sh
index d19ece089d31..474c83f3d7c2 100755
--- a/dark-theme.sh
+++ b/dark-theme.sh
@@ -6,12 +6,12 @@ set -eu
CURRENT=$(gsettings get org.gnome.desktop.interface gtk-theme)
case $1 in
- dark)
+ dark | night)
for f in "$HOME/.local/share/dark-mode.d/"*; do
"$f" &
done
;;
- light)
+ light | day | daytime)
for f in "$HOME/.local/share/light-mode.d/"*; do
"$f" &
done