diff --git a/home/linux/gui/hyprland/conf/hypridle.conf b/home/linux/gui/hyprland/conf/hypridle.conf index bf36d654..ce6fb0b3 100644 --- a/home/linux/gui/hyprland/conf/hypridle.conf +++ b/home/linux/gui/hyprland/conf/hypridle.conf @@ -1,4 +1,3 @@ - general { lock_cmd = pidof swaylock || swaylock # avoid starting multiple instances before_sleep_cmd = loginctl lock-session # lock before suspend @@ -6,12 +5,13 @@ general { ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests } -# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight. -# listener { -# timeout = 180 # 3 minutes -# on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight. -# on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight. -# } +listener { + timeout = 180 # 3 minutes + # List devices: brightnessctl --list + # Adjust keyboard backlight: brightnessctl -d kbd_backlight set 50% + on-timeout = brightnessctl --save --device=kbd_backlight set 0 # turn off keyboard backlight. + on-resume = brightnessctl --restore --device=kbd_backlight # turn on keyboard backlight. +} # listener { # timeout = 600 # 10min. @@ -20,13 +20,13 @@ general { # } listener { - timeout = 1200 # 20 minutes + timeout = 1600 # 20 minutes on-timeout = pidof swaylock || swaylock # lock screen on-resume = hyprctl dispatch dpms on # monitor wake up } listener { - timeout = 1260 # 21 minutes + timeout = 1660 # 31 minutes on-timeout = hyprctl dispatch dpms off # screen off on-resume = hyprctl dispatch dpms on && brightnessctl -r # monitor wake up & screen on }