eww-config/scripts/track_volume

8 lines
137 B
Plaintext
Raw Normal View History

2024-03-30 14:30:52 +00:00
#!/bin/sh
pactl subscribe | while read -r ;do
case "$REPLY" in
*change*) pamixer --get-volume | grep -E '^[0-9]+$';;
esac
done