From e5affb5220d89e603dcc033a89f31197aa1d9232 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 7 Feb 2014 02:12:19 -0500 Subject: [PATCH] fix up redshift checker --- .bin/redshift-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bin/redshift-check b/.bin/redshift-check index f8f2ca8..eeaf8a7 100755 --- a/.bin/redshift-check +++ b/.bin/redshift-check @@ -1,7 +1,7 @@ #!/bin/sh h=$(date +%H) if [ ${h#0} -lt 10 -o ${h#0} -ge 21 ]; then - (pgrep redshift >/dev/null 2>&1 || DISPLAY=:0 redshift) & + (pgrep -f /usr/bin/redshift >/dev/null 2>&1 || DISPLAY=:0 exec /usr/bin/redshift -l 42:71) & else killall -q redshift fi -- 2.39.5