aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/hypridle.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/hypridle.conf')
-rw-r--r--.config/hypr/hypridle.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf
new file mode 100644
index 0000000..786177b
--- /dev/null
+++ b/.config/hypr/hypridle.conf
@@ -0,0 +1,19 @@
+general {
+ lock_cmd =
+ unlock_cmd =
+ before_sleep_cmd =
+ after_sleep_cmd =
+ ignore_dbus_inhibit = false
+}
+
+listener {
+ timeout = 300
+ on-timeout = hyprlock
+ on-resume =
+}
+
+listener {
+ timeout = 600
+ on-timeout = hyprctl dispatch dpms off
+ on-resume = hyprctl dispatch dpms on
+}