summaryrefslogtreecommitdiff
path: root/.local/bin/idle
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/idle')
-rwxr-xr-x.local/bin/idle6
1 files changed, 6 insertions, 0 deletions
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' '' &