Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #/bin/sh
- #get default sink name
- name="$(pacmd stat | awk -F": " '/^Default sink name: /{print $2}')"
- #get volume level
- pactl list sinks|grep -A 10 "$name"|grep "Volume: front"|awk '{print $5}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement