finer brightness adjustment

This commit is contained in:
Reid 2024-06-20 21:00:18 -07:00
parent 3399b05bed
commit 79538cc993
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
2 changed files with 3 additions and 6 deletions

View file

@ -32,7 +32,7 @@ in {
listener = [
{
timeout = 60 * 1;
on-timeout = "${lib.getExe pkgs.brightnessctl} -c backlight -s set 1%"; # dim screen, save brightness state
on-timeout = "${lib.getExe pkgs.brightnessctl} -c backlight -s set 20"; # dim screen, save brightness state
on-resume = "${lib.getExe pkgs.brightnessctl} -c backlight -r"; # restore previous screen brightness state
}
{