]> git.donarmstrong.com Git - x_base.git/commitdiff
don't expose my current location in my .xsession
authorDon Armstrong <don@donarmstrong.com>
Fri, 11 Aug 2017 22:19:07 +0000 (15:19 -0700)
committerDon Armstrong <don@donarmstrong.com>
Fri, 11 Aug 2017 22:19:07 +0000 (15:19 -0700)
.xsession

index 6e39043557a9d914fd81fdb62424cb69ce80068e..76b01dbddaf3d3128612e6db166471c2a84577a3 100755 (executable)
--- a/.xsession
+++ b/.xsession
@@ -50,8 +50,10 @@ elif [ -x /usr/bin/xautolock ]; then
     (/usr/bin/xautolock -notifier true -bell 0 >/de/vnull 2>&1 &)
 fi;
 
-if which redshift >/dev/null 2>&1; then
-    (redshift -l 40.11059:-88.20727 >/dev/null 2>&1 &)
+if which redshift >/dev/null 2>&1 &&
+       [ -e .location ]; then
+    . .location
+    (redshift -l $LOCATION >/dev/null 2>&1 &)
 fi;
 
 if which mopidy >/dev/null 2>&1 && [ -e ~/.config/mopidy/mopidy.conf ]; then