commit 334300202fd25d9dfad351129191c3ecfe4b045b parent 21a2f23ff755799ffa609343f0765391af6c0ace Author: Chris Bracken <chris@bracken.jp> Date: Wed, 8 Sep 2021 16:52:05 -0700 sway: use pulseaudio for volume control Diffstat:
M | .config/sway/config | | | 14 | +++++++------- |
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/.config/sway/config b/.config/sway/config @@ -136,10 +136,10 @@ bindsym $mod+Shift+e exec ~/.config/sway/exit_check.sh # Key bindings: Volume/Brightness # PulseAudio: -# set $volume_up pactl set-sink-volume @DEFAULT_SINK@ +5% -# set $volume_down pactl set-sink-volume @DEFAULT_SINK@ -5% -# set $volume_toggle_mute pactl set-sink-mute @DEFAULT_SINK@ toggle -# set $volume_toggle_mic_mute pactl set-source-mute @DEFAULT_SOURCE@ toggle +set $volume_up pactl set-sink-volume @DEFAULT_SINK@ +5% +set $volume_down pactl set-sink-volume @DEFAULT_SINK@ -5% +set $volume_toggle_mute pactl set-sink-mute @DEFAULT_SINK@ toggle +set $volume_toggle_mic_mute pactl set-source-mute @DEFAULT_SOURCE@ toggle # # Alsa: #set $volume_up amixer -q sset Master 5%+ @@ -148,9 +148,9 @@ bindsym $mod+Shift+e exec ~/.config/sway/exit_check.sh #set $volume_toggle_mic_mute amixer -q sset Mic toggle # # FreeBSD -set $volume_up mixer -s pcm +5 -set $volume_down mixer -s pcm -5 -set $volume_toggle_mute mixer -s pcm 0 +#set $volume_up mixer -s pcm +5 +#set $volume_down mixer -s pcm -5 +#set $volume_toggle_mute mixer -s pcm 0 # Increase and decrease volume. bindsym Control+$mod+F12 exec $volume_up