sway: Add brightnessctl and map buttons
This commit is contained in:
parent
d4ee062827
commit
681f180009
2 changed files with 4 additions and 0 deletions
|
@ -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%-";
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue