From 7aabcfcda3aabdbee2dcad04c657a67f6cd5bd19 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 24 May 2020 20:51:41 -0300 Subject: Switch to i3lock at xlock --- xlock | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3