nixos/tower: Add brightness keybinds
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 29m59s

This commit is contained in:
Jack O'Sullivan 2024-10-26 20:19:53 +01:00
parent 5d827aa00c
commit 6130ee73be

View File

@ -190,6 +190,10 @@
config = { config = {
input."1:1:AT_Translated_Set_2_keyboard".xkb_layout = "ie"; input."1:1:AT_Translated_Set_2_keyboard".xkb_layout = "ie";
output.eDP-1.scale = "1"; output.eDP-1.scale = "1";
keybindings = lib.mkOptionDefault {
"XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%-";
"XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +5%";
};
}; };
}; };