~keyboard volume commands now use @DEFAULT_SINK@
These commands are to the pulseaudio server, which has a default sink variable so if I decide to go to Bluetooth for my default output, it will adjust for me.
This commit is contained in:
8
i3.conf
8
i3.conf
@@ -26,10 +26,10 @@ gaps inner 15
|
||||
|
||||
# Volume binds
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +10% && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -10% && $refresh_i3status
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle && $refresh_i3status
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCe@ toggle && $refresh_i3status
|
||||
|
||||
## m and n are the + and - volume buttons
|
||||
bindsym $mod+m exec --no-startup-id pactl set-sink-volume 0 +5% && $refresh_i3status
|
||||
|
||||
Reference in New Issue
Block a user