dotfiles/.config/redshift/hooks/notifcation.sh

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