Small changes

This commit is contained in:
Jonathan Hodgson 2020-01-17 11:31:19 +00:00
parent 043b32b680
commit bd0a26f264
3 changed files with 68 additions and 1 deletions

View file

@ -9,6 +9,9 @@ case "$1" in
;;
"down")
amixer -q -D default sset Master 5%- unmute
;;
"toggle")
amixer -q -D default sset Master toggle
esac
command -v notify-send && notify-send "Volume" "$(amixer -D default sget Master | grep -o '\[.*\%' | tr -d '[')"
command -v notify-send && notify-send "Volume" "$(amixer -D default sget Master | grep -o '\[.*\%' | head -n 1 | tr -d '[')"