summary refs log tree commit diff
path: root/.config/redshift/hooks/notif.sh
blob: 9ff487d43ff28c4a8be7378df4fb69cc15163eb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

case "$1" in
	period-changed)
		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