dotfiles/hypr/hypridle.conf
Michael Bradley 33bee6e5fb
Framework Hyprland adjustments
Better defaults for when docked
2025-06-22 13:12:21 -04:00

36 lines
737 B
Text

general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch dmps on
inhibit_sleep = 0
}
{% if host.name != "chonk" %}
listener {
timeout = 120
on-timeout = brightnessctl -sd amdgpu_bl1 set 66-
on-resume = brightnessctl -rd amdgpu_bl1
}
listener {
timeout = 240
on-timeout = brightnessctl -d amdgpu_bl1 set 0 && brightnessctl -sd chromeos::kbd_backlight set 0
on-resume = brightnessctl -rd chromeos::kbd_backlight
}
listener {
timeout = 480
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
listener {
timeout = 600
on-timeout = loginctl lock-session
}
listener {
timeout = 1200
on-timeout = systemctl suspend
}
{% endif %}