]> git.wh0rd.org Git - home.git/commitdiff
fix hemisphere
authorMike Frysinger <vapier@gentoo.org>
Wed, 12 Feb 2014 06:50:10 +0000 (01:50 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 12 Feb 2014 06:50:10 +0000 (01:50 -0500)
.bin/redshift-check

index eeaf8a7530b128006137067470e28ede8ec954b8..a74940625eb7b9a873313b817fd8c52638ace259 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 h=$(date +%H)
 if [ ${h#0} -lt 10 -o ${h#0} -ge 21 ]; then
-       (pgrep -f /usr/bin/redshift >/dev/null 2>&1 || DISPLAY=:0 exec /usr/bin/redshift -l 42:71) &
+       (pgrep -f /usr/bin/redshift >/dev/null 2>&1 || DISPLAY=:0 exec /usr/bin/redshift -l 42:-71) &
 else
        killall -q redshift
 fi