aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/hypridle.conf
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-02-28 21:52:12 +0000
committerJustine Smithies <justine@smithies.me.uk>2024-02-28 21:52:12 +0000
commit57bf5223fb803f9715b98fb796a8f86829811179 (patch)
treeb3aae8357d86052431ae3dd252b3cb9ab7d77f65 /.config/hypr/hypridle.conf
parent82759ea93b02b691c77dd723bf709f49f7745a5b (diff)
Modified to trial hypridle in place of swayidle.
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
+}