diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-08-11 21:42:52 -0400 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-08-11 21:42:52 -0400 |
commit | 26bcbd581f5a37d228aaf32b9f4850615e6f3085 (patch) | |
tree | 98b21a6a4120e5189d5593acdab47d63744991a1 /.xsessionrc | |
parent | 90c1ed87bf9543ab4ea7c192a14beedd1261cb99 (diff) | |
download | dotfiles-26bcbd581f5a37d228aaf32b9f4850615e6f3085.tar.gz |
tweak xss-lock config
Diffstat (limited to '.xsessionrc')
-rwxr-xr-x | .xsessionrc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.xsessionrc b/.xsessionrc index a723088e..afc766bf 100755 --- a/.xsessionrc +++ b/.xsessionrc @@ -34,9 +34,10 @@ if which xfconf-query; then fi # ... and then hook i3lock into logind -if [ -L "$HOME/local/lock.png" ]; then - # note that i3lock needs a file in PNG format - xss-lock -- i3lock -t -c 000000 -n --image=$HOME/local/lock.png & +if [ -f "$HOME/local/lock.png" ]; then + # note that i3lock needs a file in PNG format. tiling doesn't + # work well; resize image file to monitor dimensions + xss-lock -- i3lock -c 000000 -n --image=$HOME/local/lock.png & else xss-lock -- i3lock -c 000000 -n & fi |