dotfiles/bin/volume
2020-05-21 15:59:58 +02:00

4 lines
99 B
Bash
Executable file

#!/bin/bash
vol="$(amixer get Master | tail -n1 | sed -r 's/.*\[(.*)%\].*/\1/')"
echo "${vol}% "