hypridle: fix comments (#553)

Adjusted hypridle example as there were a few inconsistencies with what comments were suggesting.

- Adjusted comment to specify how to disable the keyboard backlight listener.
- Adjusted 5.5 timeout to be 5.5 minutes. Previously this was 6.3 minutes.
This commit is contained in:
Josh Kirkwood 2024-03-26 01:19:15 +11:00 committed by GitHub
parent 193cf5a4e5
commit 861e8f4731
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,7 +58,7 @@ listener {
on-resume = brightnessctl -r # monitor backlight restor. on-resume = brightnessctl -r # monitor backlight restor.
} }
# turn off keyboard backlight, uncomment this section if have keyboard backlight. # turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
listener { listener {
timeout = 150 # 2.5min. timeout = 150 # 2.5min.
on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight. on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
@ -71,7 +71,7 @@ listener {
} }
listener { listener {
timeout = 380 # 5.5min timeout = 330 # 5.5min
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
} }