summary refs log tree commit diff
path: root/.config/redshift/hooks/notif.sh
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-04-23 13:19:56 +0200
committerRobert Günzler <r@gnzler.io>2020-04-23 13:20:19 +0200
commita1cff046189debbac653b078f0bec5b6fe40c391 (patch)
tree6c12ab6e78203e80f64e0cd0853115bd6e017217 /.config/redshift/hooks/notif.sh
parent05e13dfcb6f31e75808e35e151773c503c61ba95 (diff)
Add redshift config
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