1 2 3 4 5 6
#!/bin/bash case $1 in period-changed) exec notify-send "End of the $2" "Period changed to $3" --app-name="redshift" --icon="atmosphere" esac