From 1782031b041c524fac97a8d08584db11e1c63914 Mon Sep 17 00:00:00 2001 From: maxim-h Date: Sun, 16 Jun 2019 01:39:33 +0300 Subject: [PATCH] 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. --- .config/sxhkd/sxhkdrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 12b2a3d0..a54af6e2 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -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