summary refs log tree commit diff
path: root/.config/redshift/hooks/notif.sh
blob: 667f9e1f761949f528b682739df3ac6fab146328 (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 ~/.background_night '*'
		else
			ogurictl output --image ~/.background '*'
		fi
		;;
esac