prevent screen from dimming

This commit is contained in:
Daylin Morgan 2024-06-10 11:30:32 -05:00
parent 9e8b4a9d1a
commit 35a2da3c15
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -5,11 +5,11 @@ general {
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
}
listener {
timeout = 150 # 2.5min.
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
on-resume = brightnessctl -r # monitor backlight restor.
}
# listener {
# timeout = 150 # 2.5min.
# on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
# on-resume = brightnessctl -r # monitor backlight restor.
# }
listener {
timeout = 300 # 5min