diff options
author | Adam Stück <adam@adast.xyz> | 2023-02-22 18:30:20 +0100 |
---|---|---|
committer | Adam Stück <adam@adast.xyz> | 2023-02-22 18:30:20 +0100 |
commit | 7464e8fc26a762b213348ad1b050e21fa2be64ce (patch) | |
tree | f0ffb7c8d1b3f2579502491c457ea81a37ebc24f /.local/bin/lock | |
parent | f5a8605de8b202ad656caee6ba072a98b5c53953 (diff) |
replace betterlockscreen -> slock
Diffstat (limited to '.local/bin/lock')
-rwxr-xr-x | .local/bin/lock | 9 |
1 files changed, 9 insertions, 0 deletions
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 |