Compare commits

...

2 Commits

Author SHA1 Message Date
01b862aaa9 nixos/tower: Add brightness keybinds
Some checks failed
CI / Check, build and cache Nix flake (push) Has been cancelled
2024-10-26 20:19:53 +01:00
5d827aa00c home-manager/gui: Add xdg-utils to home.packages 2024-10-26 18:32:24 +01:00
2 changed files with 6 additions and 0 deletions

View File

@ -39,6 +39,8 @@ in
{
home = {
packages = with pkgs; [
xdg-utils
font.package
(nerdfonts.override {
fonts = [ "DroidSansMono" "SourceCodePro" ];

View File

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