dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: 4c87d97aa1cbdf842b034a3a98aabb8cd512dcb1
Parent: 1de4a4afafe4ade2921448ec8adf11fa542e7d03
Author: Randy Palamar
Date:   Sat,  4 Jun 2022 14:26:12 -0600

volume: add pactl support when using pipewire

Diffstat:
Mbin/volume | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/volume b/bin/volume @@ -4,6 +4,10 @@ OUT=${AUDIOSINK:-"Speaker"} -amixer -q set "$OUT" $@ +if [ $OUT == "pulse" ]; then + pactl set-sink-volume 0 $@ +else + amixer -q set "$OUT" $@ +fi pkill -RTMIN+2 status