summary refs log tree commit diff
path: root/bin/darkmode
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-07-29 23:50:35 +0200
committerRobert Günzler <r@gnzler.io>2021-07-29 23:50:35 +0200
commit7fc4089ea413801912ccdd0b3bf8697fe86372ff (patch)
treeec8a256bc267e5b818e88a33f38d9d3e52cdbca8 /bin/darkmode
parente3a498bad8f10bd2b9ea576edeb906ba23b3fcbb (diff)
bin/darkmode: accept day* arguments
Diffstat (limited to 'bin/darkmode')
-rwxr-xr-xbin/darkmode2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/darkmode b/bin/darkmode
index 19d60eb..5b97f61 100755
--- a/bin/darkmode
+++ b/bin/darkmode
@@ -6,7 +6,7 @@ set -e
 icons=/usr/share/icons/mdi/scalable
 
 case "${1}" in
-	daytime)
+	day*)
 		notify-send -i ${icons}/car-light-high.svg -a gamma "gamma: day" "switching to light theme"
 		gsettings set org.gnome.desktop.interface gtk-theme Adwaita
 		pkill -fe -USR1 waybar-gammastep