nixos/tower: Add brightness keybinds
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 29m59s
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 29m59s
This commit is contained in:
parent
5d827aa00c
commit
6130ee73be
@ -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%";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user