Changed pamixer to pulsemixer

This commit is contained in:
Alexander Von Moll
2018-10-06 22:42:21 -04:00
parent f73b483d9d
commit 2af091c4f7
2 changed files with 9 additions and 9 deletions

View File

@@ -2,11 +2,11 @@
case $BLOCK_BUTTON in
1) $TERMINAL -e pulsemixer & disown ;;
3) pamixer -t ;;
4) pamixer -i 5 ;;
5) pamixer -d 5 ;;
3) pulsemixer --toggle-mute ;;
4) pulsemixer --change-volume +5 ;;
5) pulsemixer --change-volume -5 ;;
esac
printpastatus() { [[ $(pamixer --get-mute) = "true" ]] && echo -n 🔇 && exit
echo 🔊 $(pamixer --get-volume)% ;}
printpastatus() { [[ $(pulsemixer --get-mute) = 1 ]] && echo -n 🔇 " " && exit
echo 🔊 $(pulsemixer --get-volume | sed -e "s/\s[0-9][0-9]*//g")% ;}
printpastatus