8 lines
137 B
Bash
Executable File
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
|