logo

dotfiles

My dotfiles, one branch per machine

notify-send.sh (182B)


      1 #!/bin/sh
      2 
      3 export DISPLAY=:0
      4 
      5 case "$1" in
      6 	"period-changed")
      7 		exec notify-send "Redshift" "Period changed to $3"
      8 	;;
      9 	*)
     10 		exec notify-send "Redshift" "Hook args: $1; $2; $3"
     11 esac