Sway : Add mic toggle.

This commit is contained in:
Dmitry Voronin 2024-09-03 15:41:41 +03:00
parent 0826932c53
commit 1aed756a67
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@ in {
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 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 XF86AudioPause exec 'playerctl pause'

View file

@ -53,6 +53,7 @@ in {
e = "nextsong";
q = "previoussong";
s = "volumedown";
v = "micmute";
w = "volumeup";
x = "stopcd";
z = "mute";