]> gitweb.fluxo.info Git - utils-x11.git/commitdiff
Switch to i3lock at xlock
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 24 May 2020 23:51:41 +0000 (20:51 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 24 May 2020 23:51:41 +0000 (20:51 -0300)
xlock

diff --git a/xlock b/xlock
index 6dacdfcdb0c121830d8b2a443f4f3050e4f2009d..3de67ac2bf3a45c06ffaddd489cc8755fdebe26f 100755 (executable)
--- 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