summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/hyprland')
-rw-r--r--dotfiles/hyprland/.config/hypr/hypridle.conf21
1 files changed, 4 insertions, 17 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hypridle.conf b/dotfiles/hyprland/.config/hypr/hypridle.conf
index 681c741..5a4fe24 100644
--- a/dotfiles/hyprland/.config/hypr/hypridle.conf
+++ b/dotfiles/hyprland/.config/hypr/hypridle.conf
@@ -7,28 +7,15 @@ general {
after_sleep_cmd = hyprctl dispatch dpms on
}
-# Screen dim after 4.5 minutes
+# Screen dim after 5 minutes
listener {
- timeout = 270
+ timeout = 300
on-timeout = brightnessctl -s set 10%
on-resume = brightnessctl -r
}
-# Lock screen after 5 minutes (matching xautolock -time 5)
+# Lock screen after 7 minutes
listener {
- timeout = 300
+ timeout = 420
on-timeout = loginctl lock-session
}
-
-# Turn off screen after 10 minutes
-listener {
- timeout = 600
- on-timeout = hyprctl dispatch dpms off
- on-resume = hyprctl dispatch dpms on
-}
-
-# Suspend after 30 minutes
-listener {
- timeout = 1800
- on-timeout = systemctl suspend
-}