diff options
| -rwxr-xr-x | .config/redshift/hooks/notif.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/redshift/hooks/notif.sh b/.config/redshift/hooks/notif.sh index 7111117..9ff487d 100755 --- a/.config/redshift/hooks/notif.sh +++ b/.config/redshift/hooks/notif.sh @@ -2,5 +2,11 @@ case "$1" in period-changed) - exec notify-send "redshift" "changed to $3" ;; + notify-send "redshift" "changed to $3" + if [ "$3" = "night" ]; then + ogurictl output --image ~/Pictures/animepics/room/evening.png '*' + else + ogurictl output --image ~/Pictures/animepics/room/day.png '*' + fi + ;; esac |