~yerinalexey/dotfiles

ref: 597d8714da0a68ede60c1662d2b368f53a5e2763 dotfiles/scripts/update-volume -rwxr-xr-x 180 bytes
597d8714Alexey Yerin river: add volume bar with wob 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
#!/bin/sh

# Update pulseaudio volume
# TODO: ALSA support

pulsemixer --change-volume "$1"

newvol=$(pulsemixer --get-volume | cut -d" " -f1)
printf "%s\n" $newvol >> /tmp/wob-in