eww-config/scripts/track_volume
2024-03-30 09:30:52 -05:00

8 lines
137 B
Bash
Executable File

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