aboutsummaryrefslogtreecommitdiffstats
path: root/.config/redshift/hooks/notify_hook.sh
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2023-03-18 09:21:31 +0000
committerterminaldweller <devi@terminaldweller.com>2023-03-18 09:21:31 +0000
commite0f99ff9980aec94ddf9c1acf191f3001f5060ca (patch)
tree6a8139d8ea4e915413b2d33a5af0d36bc1c5a001 /.config/redshift/hooks/notify_hook.sh
parentupdates (diff)
downloadscripts-e0f99ff9980aec94ddf9c1acf191f3001f5060ca.tar.gz
scripts-e0f99ff9980aec94ddf9c1acf191f3001f5060ca.zip
updates
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