aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-24 20:51:41 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-24 20:51:41 -0300
commit7aabcfcda3aabdbee2dcad04c657a67f6cd5bd19 (patch)
tree45853b0176ffa314542adcedb8b4e3c134fef04c
parentd91fc04a56569e15b0c82f92542c59d5d9f7f306 (diff)
downloadutils-x11-7aabcfcda3aabdbee2dcad04c657a67f6cd5bd19.tar.gz
utils-x11-7aabcfcda3aabdbee2dcad04c657a67f6cd5bd19.tar.bz2
Switch to i3lock at xlock
-rwxr-xr-xxlock7
1 files changed, 6 insertions, 1 deletions
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