fix(brightness): change full percentages

brightnessctl can't parse decimals apparently
This commit is contained in:
buffet 2024-01-26 13:43:46 +01:00
parent 54e47ff604
commit f6b6131f97

View file

@ -39,8 +39,8 @@ in {
"${mod}+Shift+y" = "exec swaylock"; "${mod}+Shift+y" = "exec swaylock";
"${mod}+d" = "exec ${pkgs.wofi}/bin/wofi --show drun"; # TODO: config "${mod}+d" = "exec ${pkgs.wofi}/bin/wofi --show drun"; # TODO: config
"${mod}+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 0.5%-"; "${mod}+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 1%-";
"${mod}+x" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +0.5%"; "${mod}+x" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +1%";
"${mod}+Shift+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%-"; "${mod}+Shift+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%-";
"${mod}+Shift+x" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +5%"; "${mod}+Shift+x" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +5%";