mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-08 09:24:17 +01:00
hypridle: Use minimum screen brightness
Prevents the screen from increasing in brightness when the original value is lower.
This commit is contained in:
parent
5c9f94c4ce
commit
219e5d1b0b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user