aboutsummaryrefslogtreecommitdiffstats
path: root/.config/redshift/hooks/notify_hook.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/redshift/hooks/notify_hook.sh')
-rwxr-xr-x.config/redshift/hooks/notify_hook.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/redshift/hooks/notify_hook.sh b/.config/redshift/hooks/notify_hook.sh
new file mode 100755
index 0000000..350f335
--- /dev/null
+++ b/.config/redshift/hooks/notify_hook.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+case $1 in
+ period-changed)
+ exec notify-send "Redshift" "Period changed to $3"
+esac