From 19c426cbecb9d529893bc7e6f281012babcd0d9d Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Fri, 22 Mar 2019 10:39:59 +0100 Subject: [PATCH] lock laptop on screen close --- xorg/.dwm/autostart.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xorg/.dwm/autostart.sh b/xorg/.dwm/autostart.sh index 744c07a..6d28b2f 100755 --- a/xorg/.dwm/autostart.sh +++ b/xorg/.dwm/autostart.sh @@ -1,6 +1,9 @@ #!/bin/sh +# lock screen after x minutes and on laptop close lid xautolock -time 10 -locker ~/.scripts/lock.sh & +xss-lock ~/.scripts/lock.sh & + xbindkeys & compton --xrender-sync-fence & feh --bg-scale ~/.config/wall.png &