dotfiles/bin/.bin/volume
Anthony Debucquoy 9eede5ef5f
First Commit
This is a first dotfiles config. I think I have a lot more to add tho...
2023-10-24 23:29:07 +02:00

9 lines
136 B
Bash
Executable File

#!/bin/bash
if [ $(pgrep pulseaudio >/dev/null) ]; then
volume_command=pulseaudio-ctl
else
volume_command=avol
fi
$volume_command $@