aboutsummaryrefslogtreecommitdiff
path: root/xlock
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-03-08 22:02:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-03-08 22:02:50 -0300
commit7b2fb7a022a3273177eefcd68f67c4a7bc3edbbb (patch)
treeae0a58bd883569db0e9e48d12dec0c0f3ddbaff3 /xlock
parent02195d4da406adb7d9b683afe690d4376dc9fac5 (diff)
downloadutils-x11-7b2fb7a022a3273177eefcd68f67c4a7bc3edbbb.tar.gz
utils-x11-7b2fb7a022a3273177eefcd68f67c4a7bc3edbbb.tar.bz2
Sleep before turning screen off at xlock
Diffstat (limited to 'xlock')
-rwxr-xr-xxlock1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlock b/xlock
index 4adaeeb..6dacdfc 100755
--- a/xlock
+++ b/xlock
@@ -6,4 +6,5 @@
# 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