From 7464e8fc26a762b213348ad1b050e21fa2be64ce Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Wed, 22 Feb 2023 18:30:20 +0100 Subject: replace betterlockscreen -> slock --- .local/bin/lock | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .local/bin/lock (limited to '.local/bin/lock') diff --git a/.local/bin/lock b/.local/bin/lock new file mode 100755 index 0000000..191c876 --- /dev/null +++ b/.local/bin/lock @@ -0,0 +1,9 @@ +#!/bin/sh + +xset dpms 5 +xidlehook \ + --detect-sleep --not-when-audio --not-when-fullscreen \ + --timer 60 'systemctl suspend' '' & +slock +kill $! +xset dpms 300 -- cgit v1.2.3-70-g09d2