summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-03-17 12:06:49 +0100
committerAdam Stück <adam@adast.xyz>2023-03-17 12:06:49 +0100
commit163edd7856493de3ec5c0c1d49e46d833d4fe431 (patch)
tree0830b28c40651a307bcfd6d113a1ca6d2d561dcc /.local/bin
parentc4b3b4e105e7e31b578f2c99b1aa9fa758060dce (diff)
lock: disable dpms and screensaver on unlock
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/lock2
-rwxr-xr-x.local/bin/rate2
2 files changed, 3 insertions, 1 deletions
diff --git a/.local/bin/lock b/.local/bin/lock
index 9595b81..7f2c145 100755
--- a/.local/bin/lock
+++ b/.local/bin/lock
@@ -6,4 +6,4 @@ xidlehook \
--timer 60 'systemctl suspend' '' &
slock
kill $!
-xset dpms 300
+xset -dpms
diff --git a/.local/bin/rate b/.local/bin/rate
index 5c4c93e..f8be848 100755
--- a/.local/bin/rate
+++ b/.local/bin/rate
@@ -2,3 +2,5 @@
xset r rate 300 25
setxkbmap -option grp:win_space_toggle us,dk
+
+xset -dpms && xset s off