prevent screen from dimming
This commit is contained in:
parent
9e8b4a9d1a
commit
35a2da3c15
1 changed files with 5 additions and 5 deletions
|
@ -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.
|
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
# listener {
|
||||||
timeout = 150 # 2.5min.
|
# timeout = 150 # 2.5min.
|
||||||
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
# on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||||
on-resume = brightnessctl -r # monitor backlight restor.
|
# on-resume = brightnessctl -r # monitor backlight restor.
|
||||||
}
|
# }
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 300 # 5min
|
timeout = 300 # 5min
|
||||||
|
|
Loading…
Reference in a new issue