summaryrefslogtreecommitdiff
path: root/.config/hypr/hypridle.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/hypridle.conf')
-rw-r--r--.config/hypr/hypridle.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf
new file mode 100644
index 0000000..d871778
--- /dev/null
+++ b/.config/hypr/hypridle.conf
@@ -0,0 +1,9 @@
+general {
+ before_sleep_cmd = pidof hyprlock || hyprlock
+ after_sleep_cmd = hyprctl dispatch dpms on
+}
+
+listener {
+ timeout = 300 # 5min
+ on-timeout = systemctl suspend
+}