dotfiles/.config/redshift/hooks/notifcation.sh
2020-02-05 19:42:02 +01:00

7 lines
141 B
Bash
Executable file

#!/bin/sh
case $1 in
period-changed)
exec dunstify -u low -r $(sum <<<"redshift" | cut -d' ' -f1) "Redshift" "Period changed to $3"
esac