acpid: inc/dec brightness by 1 instead of 10
authorJulien Moutinho <julm+julm-nix@sourcephile.fr>
Mon, 27 Jan 2025 21:56:19 +0000 (22:56 +0100)
committerJulien Moutinho <julm+julm-nix@sourcephile.fr>
Mon, 27 Jan 2025 21:56:28 +0000 (22:56 +0100)
nixos/profiles/acpid.nix

index acce5177fe754e6bd59a1cd4ff0a3b7eeec84e5d..e1d91ecdf5642b5bf817c87b1444f7779b966967 100644 (file)
@@ -6,11 +6,11 @@
     handlers = {
       brightnessDown = {
         event = "video/brightnessdown.*";
-        action = "${pkgs.acpilight}/bin/xbacklight -dec 10";
+        action = "${pkgs.acpilight}/bin/xbacklight -dec 1";
       };
       brightnessUp = {
         event = "video/brightnessup.*";
-        action = "${pkgs.acpilight}/bin/xbacklight -inc 10";
+        action = "${pkgs.acpilight}/bin/xbacklight -inc 1";
       };
     };
     lidEventCommands = lib.mkDefault ''