hypridle: Use minimum screen brightness

Prevents the screen from increasing in brightness when the original
value is lower.
This commit is contained in:
Donovan Glover 2024-07-08 14:08:08 -04:00
parent 5c9f94c4ce
commit 219e5d1b0b
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -464,8 +464,8 @@ in
listener = [
{
timeout = 150;
on-timeout = "brightnessctl -s set 10 && brightnessctl --device=tpacpi::kbd_backlight set 0 --save";
on-resume = "brightnessctl -r && brightnessctl --device=tpacpi::kbd_backlight --restore";
on-timeout = "brightnessctl set 0 --save && brightnessctl --device=tpacpi::kbd_backlight set 0 --save";
on-resume = "brightnessctl --restore && brightnessctl --device=tpacpi::kbd_backlight --restore";
}
{
timeout = 300;