Control pulseaudio volume from the shell or mapped to keyboard shortcuts. No need for alsa-utils.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Simple bash script to allow for control of pulseaudio without alsautils. Simply map the following to keyboard shortcuts in your DE or WM. Xfce4 allows for this under Settings > Keyboard > Application Shortcuts.
/usr/bin/pulseaudio-ctl mute ==> Toggle status of mute /usr/bin/pulseaudio-ctl mute-input ==> Toggle status of mute for mic /usr/bin/pulseaudio-ctl up ==> Increase vol by 5 % /usr/bin/pulseaudio-ctl up 25 ==> Increase vol by 25 % /usr/bin/pulseaudio-ctl down ==> Decrease vol by 5 % /usr/bin/pulseaudio-ctl down 50 ==> Decrease vol by 50 % /usr/bin/pulseaudio-ctl set 40 ==> Set vol to 40% /usr/bin/pulseaudio-ctl atmost 30 ==> Set vol to 30% if current higher than that
A config file resides in ~/.config/pulseaudio-ctl/config and allows for some options including:
If config file isn't present script uses default value 100 for the UPPER_THRESHOLD and notifications are disabled by default.
AUR package: https://aur.archlinux.org/packages/pulseaudio-ctl