sway: Add brightnessctl and map buttons
This commit is contained in:
parent
d4ee062827
commit
681f180009
|
@ -74,6 +74,7 @@ in
|
||||||
|
|
||||||
swaylock
|
swaylock
|
||||||
swayidle
|
swayidle
|
||||||
|
brightnessctl
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
mako
|
mako
|
||||||
waybar
|
waybar
|
||||||
|
|
|
@ -128,6 +128,9 @@ in
|
||||||
"XF86AudioNext" = "exec ${playerctl} next";
|
"XF86AudioNext" = "exec ${playerctl} next";
|
||||||
"XF86AudioPlay" = "exec ${playerctl} play-pause";
|
"XF86AudioPlay" = "exec ${playerctl} play-pause";
|
||||||
"XF86AudioPrev" = "exec ${playerctl} previous";
|
"XF86AudioPrev" = "exec ${playerctl} previous";
|
||||||
|
|
||||||
|
"XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +10%";
|
||||||
|
"XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 10%-";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue