mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-21 18:21:31 +02:00
hypridle: Disable laptop keyboard backlight on dim
Also restores the previous state when resuming activity.
This commit is contained in:
parent
aa61279c71
commit
375d85cd76
@ -444,8 +444,8 @@ in
|
||||
listener = [
|
||||
{
|
||||
timeout = 150;
|
||||
on-timeout = "brightnessctl -s set 10";
|
||||
on-resume = "brightnessctl -r";
|
||||
on-timeout = "brightnessctl -s set 10 && brightnessctl --device=tpacpi::kbd_backlight set 0 --save";
|
||||
on-resume = "brightnessctl -r && brightnessctl --device=tpacpi::kbd_backlight --restore";
|
||||
}
|
||||
{
|
||||
timeout = 300;
|
||||
|
Loading…
x
Reference in New Issue
Block a user