From b48537a1d256f821abe3cd5a2842e2908c89d184 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Wed, 22 Feb 2023 07:16:03 +0100 Subject: feat: idle timeout lockscreen Re-adds betterlockscreen. Don't remember why I removed it in the first place. --- .local/bin/idle | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .local/bin/idle (limited to '.local/bin/idle') diff --git a/.local/bin/idle b/.local/bin/idle new file mode 100755 index 0000000..ae40ff3 --- /dev/null +++ b/.local/bin/idle @@ -0,0 +1,6 @@ +#!/bin/sh + +xidlehook \ + --detect-sleep --not-when-audio --not-when-fullscreen \ + --timer 300 'betterlockscreen -l' '' \ + --timer 60 'systemctl suspend' '' & -- cgit v1.2.3-70-g09d2