From: Mike Frysinger Date: Fri, 25 Dec 2015 01:22:31 +0000 (-0500) Subject: redshift-check: reset cwd to / rather than $HOME X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d6be6f38bf6c0e2e09fdbbdea8bbba5398117da8;p=home.git redshift-check: reset cwd to / rather than $HOME This way we still work when HOME is unset. --- diff --git a/.bin/redshift-check b/.bin/redshift-check index b7f2d38..9481c09 100755 --- a/.bin/redshift-check +++ b/.bin/redshift-check @@ -21,7 +21,7 @@ rs() { } main() { - cd + cd / export DISPLAY=:0 while [[ $# -gt 0 ]] ; do