Volume buttons support

Found my keyboard volume buttons not working in larbs (archi3). At least not always, because i feel like they worked in some scenarios on fresh install. Though at that time it was hard to tell, my audio was pretty much inexistent due to the lack of pulse & alsa. Anyway, this got it working. Sorry if it's stupid, i'm very much a newb.
This commit is contained in:
maxim-h 2019-06-16 01:39:33 +03:00 committed by GitHub
parent 7d3b042daf
commit 1782031b04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,18 @@ super + {_,shift +} bracketright
super + {_,shift +} bracketleft
lmc back {10,120}
# General bindings for audio control buttons. You might also want
# to specify your @DEFAULT_SINK@ in /etc/pulse/default.pa
# Mute volume
XF86AudioMute
pactl set-sink-mute @DEFAULT_SINK@ toggle
# Decrease volume
XF86AudioLowerVolume
pactl set-sink-volume @DEFAULT_SINK@ -5%
# Increase volume
XF86AudioRaiseVolume
pactl set-sink-volume @DEFAULT_SINK@ +5%
# Function keys
# Show readme
super + F1