elenapan/Scripts/volume.sh

1 line
No EOL
135 B
Bash
Executable file

amixer get Master | grep "${snd_cha}" | awk -F'[]%[]' '/%/ {if ($7 == "off") {print " \n"} else {printf " %d%%\n", $2}}'