summary refs log tree commit diff
path: root/.config/redshift/hooks/notif.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/redshift/hooks/notif.sh')
-rwxr-xr-x.config/redshift/hooks/notif.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/redshift/hooks/notif.sh b/.config/redshift/hooks/notif.sh
new file mode 100755
index 0000000..7111117
--- /dev/null
+++ b/.config/redshift/hooks/notif.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+case "$1" in
+	period-changed)
+		exec notify-send "redshift" "changed to $3" ;;
+esac