sway: Add brightnessctl and map buttons

This commit is contained in:
fleaz 2022-03-02 00:00:53 +01:00
parent d4ee062827
commit 681f180009
2 changed files with 4 additions and 0 deletions

View file

@ -74,6 +74,7 @@ in
swaylock
swayidle
brightnessctl
wl-clipboard
mako
waybar

View file

@ -128,6 +128,9 @@ in
"XF86AudioNext" = "exec ${playerctl} next";
"XF86AudioPlay" = "exec ${playerctl} play-pause";
"XF86AudioPrev" = "exec ${playerctl} previous";
"XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +10%";
"XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 10%-";
};
};