1
0
Fork 0
mirror of https://gitlab.com/dwt1/dotfiles.git synced 2023-02-13 20:55:19 -05:00
dwt1--dotfiles/.local/bin/volume

5 lines
106 B
Text
Raw Permalink Normal View History

2020-03-19 15:50:17 -04:00
#!/bin/bash
vol="$(amixer get Master | tail -n1 | sed -r 's/.*\[(.*)%\].*/\1/')"
2020-11-20 21:48:15 -05:00
echo "${vol}% volume "