diff options
author | David Runge <dave@sleepmap.de> | 2018-02-03 11:47:28 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2018-02-03 11:47:28 +0100 |
commit | 98c3fb48e85fba13bedc71ad43e8d05e6c93e03f (patch) | |
tree | 2b3dddd55d717dc2f6f920fb40aa82515960a3c5 | |
parent | 07cb2df65fb94610ac754ae1ac8ca2993d5b7dab (diff) | |
parent | 9a6781956954bc8ff966697a8ea08de763754210 (diff) | |
download | dotfiles-98c3fb48e85fba13bedc71ad43e8d05e6c93e03f.tar.gz dotfiles-98c3fb48e85fba13bedc71ad43e8d05e6c93e03f.tar.bz2 dotfiles-98c3fb48e85fba13bedc71ad43e8d05e6c93e03f.tar.xz dotfiles-98c3fb48e85fba13bedc71ad43e8d05e6c93e03f.zip |
Merge branch 'master' of sleepmap.de:config/dotfiles
* 'master' of sleepmap.de:config/dotfiles:
.xprofile: Adding lock mechanism for sleep (using xss-lock). Fixing comment.
-rw-r--r-- | .xprofile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -21,11 +21,16 @@ if [ -x "$HOME/bin/setup_screens" ]; then $HOME/bin/setup_screens & fi -# start automatic lock based on xssstate and i3lock +# lock X automatically after inactivity if [ -x "$HOME/bin/xorg_autolock" ]; then $HOME/bin/xorg_autolock & fi +# lock X before going to sleep +if [ -x "/usr/bin/xss-lock" ]; then + /usr/bin/xss-lock xorg_lock & +fi + # start redshift if [ -x /usr/bin/redshift ]; then /usr/bin/redshift-gtk & |