From: Silvio Rhatto Date: Sun, 24 May 2020 23:51:41 +0000 (-0300) Subject: Switch to i3lock at xlock X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7aabcfcda3aabdbee2dcad04c657a67f6cd5bd19;p=utils-x11.git Switch to i3lock at xlock --- diff --git a/xlock b/xlock index 6dacdfc..3de67ac 100755 --- a/xlock +++ b/xlock @@ -3,8 +3,13 @@ # Lock the screen using xscreensaver # +# Using xscreensaver +#xscreensaver-command --lock + +# Using i3lock +i3lock -c 1c1c1c + # See https://www.kirsle.net/turn-off-monitor-from-linux-cli # https://askubuntu.com/questions/62858/turn-off-monitor-using-command-line#62861 -xscreensaver-command --lock sleep 1 xset dpms force off