Sway : Add mic toggle.
This commit is contained in:
parent
0826932c53
commit
1aed756a67
|
@ -6,6 +6,7 @@ in {
|
||||||
bindsym --to-code XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +${toString step_volume}%'
|
bindsym --to-code XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +${toString step_volume}%'
|
||||||
bindsym --to-code XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -${toString step_volume}%'
|
bindsym --to-code XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -${toString step_volume}%'
|
||||||
bindsym --to-code XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
|
bindsym --to-code XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
|
||||||
|
bindsym --to-code XF86AudioMicMute exec 'pactl set-source-mute @DEFAULT_SOURCE@ toggle'
|
||||||
|
|
||||||
bindsym --to-code XF86AudioPlay exec 'playerctl play-pause'
|
bindsym --to-code XF86AudioPlay exec 'playerctl play-pause'
|
||||||
bindsym --to-code XF86AudioPause exec 'playerctl pause'
|
bindsym --to-code XF86AudioPause exec 'playerctl pause'
|
||||||
|
|
|
@ -53,6 +53,7 @@ in {
|
||||||
e = "nextsong";
|
e = "nextsong";
|
||||||
q = "previoussong";
|
q = "previoussong";
|
||||||
s = "volumedown";
|
s = "volumedown";
|
||||||
|
v = "micmute";
|
||||||
w = "volumeup";
|
w = "volumeup";
|
||||||
x = "stopcd";
|
x = "stopcd";
|
||||||
z = "mute";
|
z = "mute";
|
||||||
|
|
Loading…
Reference in a new issue