feat(sway): enable volume and brightness keys via swayosd
This commit is contained in:
parent
d6b4959e03
commit
ad07e04601
@ -126,12 +126,16 @@ in
|
||||
"${modifier}+l" = "exec ${lock_command}";
|
||||
"${modifier}+Shift+m" = "output '*' power off, output '*' power on, exec ${pkgs.kanshi}/bin/kanshictl reload";
|
||||
|
||||
"--release Caps_Lock" = "exec swayosd --caps-lock";
|
||||
"--release Caps_Lock" = "exec swayosd-client --caps-lock";
|
||||
"--release Num_Lock" = "exec swayosd-client --num-lock";
|
||||
|
||||
"XF86AudioRaiseVolume" = "exec swayosd --output-volume raise";
|
||||
"XF86AudioLowerVolume" = "exec swayosd --output-volume lower";
|
||||
"XF86AudioMute" = "exec swayosd --output-volume mute-toggle";
|
||||
"XF86AudioMicMute" = "exec swayosd --input-volume mute-toggle";
|
||||
"XF86AudioRaiseVolume" = "exec swayosd-client --output-volume raise";
|
||||
"XF86AudioLowerVolume" = "exec swayosd-client --output-volume lower";
|
||||
"XF86AudioMute" = "exec swayosd-client --output-volume mute-toggle";
|
||||
"XF86AudioMicMute" = "exec swayosd-client --input-volume mute-toggle";
|
||||
|
||||
"XF86MonBrightnessUp" = "exec swayosd-client --brightness raise";
|
||||
"XF86MonBrightnessDown" = "exec swayosd-client --brightness lower";
|
||||
};
|
||||
|
||||
startup = [
|
||||
|
Reference in New Issue
Block a user