Browse Source

~/.config/sway: Control volume using pactl

I had an odd bug where the minimum volume with alsa was jumping a lot.
In addition there was a bug where with pipewire sometimes an output
could not be controlled at all anymore.
Luna Stadler 4 years ago
parent
commit
7e7ff19fa8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .config/sway/config

+ 3 - 3
.config/sway/config

@ -104,9 +104,9 @@ input type:touchpad events disabled
104 104
105 105
    bindsym $mod+Shift+l exec swaylock --color 000000
106 106
107
    bindsym XF86AudioLowerVolume exec amixer set Master 5%-
108
    bindsym XF86AudioRaiseVolume exec amixer set Master 5%+
109
    bindsym XF86AudioMute        exec amixer set Master toggle
107
    bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
108
    bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
109
    bindsym XF86AudioMute        exec pactl set-sink-mute   @DEFAULT_SINK@ toggle
110 110
    bindsym XF86AudioPlay        exec playerctl play-pause
111 111
112 112
    bindsym $mod+Shift+f exec ~/.bin/toggle-fan