volume in bar
This commit is contained in:
parent
74e6cfec06
commit
c373245cbc
3 changed files with 39 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ battery()
|
|||
|
||||
volume()
|
||||
{
|
||||
vol="$(amixer sget Master | awk -F"[][]" '/(Mono|Left):/ { print $2 }')"
|
||||
vol="$(pactl get-sink-volume @DEFAULT_SINK@ | grep -oE '[1-9]+%' | head -n1)"
|
||||
echo "V vol: ${vol}"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue