From cbf9144503c1029398ecaea40fef782684f2eb84 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 11 Aug 2017 15:19:07 -0700 Subject: [PATCH] don't expose my current location in my .xsession --- .xsession | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.xsession b/.xsession index 6e39043..76b01db 100755 --- 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 -- 2.39.2