nixos/tower: Add brightness keybinds
Some checks failed
CI / Check, build and cache Nix flake (push) Has been cancelled

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

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 = {
"XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%-";
"XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +5%";
};
}; };
}; };