]> git.wh0rd.org - home.git/blame - .bin/redshift-check
goobuntu: install more dev pkgs
[home.git] / .bin / redshift-check
CommitLineData
98f583b3
MF
1#!/bin/sh
2h=$(date +%H)
3if [ ${h#0} -lt 10 -o ${h#0} -ge 21 ]; then
0db3831b 4 (pgrep -f /usr/bin/redshift >/dev/null 2>&1 || DISPLAY=:0 exec /usr/bin/redshift -l 42:-71) &
98f583b3
MF
5else
6 killall -q redshift
7fi
8: