From: Don Armstrong Date: Fri, 11 Aug 2017 22:19:07 +0000 (-0700) Subject: don't expose my current location in my .xsession X-Git-Url: https://git.donarmstrong.com/?p=x_base.git;a=commitdiff_plain;h=cbf9144503c1029398ecaea40fef782684f2eb84;hp=758d513c2e9a47efa15d061b293051b2ca694b81 don't expose my current location in my .xsession --- 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