PAvol-Cli is a simple command-line utility to control PulseAudio volume from the command-line.
`# user` pavol +10 # Increase output volume by 10
`# user` pavol -i -10 # Decrease input volume by 10
`# user` pavol -n 50 # Set volume to 50 and play a notification sound
`# user` pavol -iv 50 -ov 50 # Set both input and output volume to 50
`# user` pavol -m # Mute the output sink
`# user` pavol -u # Unmute the output sink
`# user` pavol -it # Toggle mute the input source
For more detfails, please run `# user` pavol --help
.
- PulseAudio
`# user` git clone https://github.com/amarakon/pavol-cli
`# user` cd pavol-cli
`# root` make install
`# root` eselect repository add amarlay git https://github.com/amarakon/amarlay
`# root` emerge --sync amarlay
`# root` emerge media-sound/pavol-cli
`# user` cd pavol-cli
`# root` make uninstall
`# root` emerge -c media-sound/pavol-cli
# Remove my overlay (optional)
`# root` eselect-repository remove -f amarlay
`# root` emerge --sync
Configuring PAvol-Cli can be done by editing the configuration file
(~/.config/pavol/pavol.conf
):
# Update [Mstatus](https://github.com/amarakon/mstatus)' volume modules
status() { pkill -RTMIN "^mstatus$" & pkill -RTMIN+1 "^mstatus$"; }
trap status EXIT
# Always notify after changing output volume
notify=true