summaryrefslogtreecommitdiff
path: root/arch/hyprland/.config/hypr/hypridle.conf
diff options
context:
space:
mode:
authorsteven-na <noreply.github@stvnc.dev>2026-04-26 11:58:32 -0700
committersteven-na <noreply.github@stvnc.dev>2026-04-26 11:58:32 -0700
commit4b309f0a5555b5fed5a65ee425dcb6da15421f5b (patch)
treeb923f4f76df6205ee3099d9bf8072209ff9e8256 /arch/hyprland/.config/hypr/hypridle.conf
Initial commit.
Diffstat (limited to 'arch/hyprland/.config/hypr/hypridle.conf')
-rw-r--r--arch/hyprland/.config/hypr/hypridle.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/hyprland/.config/hypr/hypridle.conf b/arch/hyprland/.config/hypr/hypridle.conf
new file mode 100644
index 0000000..c6e2ac8
--- /dev/null
+++ b/arch/hyprland/.config/hypr/hypridle.conf
@@ -0,0 +1,32 @@
+general {
+ lock_cmd = pidof hyprlock || hyprlock
+ before_sleep_cmd = loginctl lock-session
+ after_sleep_cmd = hyprctl dispatch dpms on
+ ignore_dbus_inhibit = false
+}
+
+# Dim screen after 2.5 min
+listener {
+ timeout = 150
+ on-timeout = brightnessctl -s set 10%
+ on-resume = brightnessctl -r
+}
+
+# Lock after 5 min
+listener {
+ timeout = 300
+ on-timeout = loginctl lock-session
+}
+
+# Display off after 5.5 min
+listener {
+ timeout = 330
+ on-timeout = hyprctl dispatch dpms off
+ on-resume = hyprctl dispatch dpms on
+}
+
+# Suspend after 30 min
+listener {
+ timeout = 1800
+ on-timeout = systemctl suspend
+}