12 lines
269 B
Bash
Executable file
12 lines
269 B
Bash
Executable file
#!/bin/bash
|
|
|
|
case $BLOCK_BUTTON in
|
|
1) $TERMINAL -e ncpamixer & disown ;;
|
|
3) pamixer -t ;;
|
|
4) pamixer -i 5 ;;
|
|
5) pamixer -d 5 ;;
|
|
esac
|
|
|
|
printpastatus() { [[ $(pamixer --get-mute) = "true" ]] && echo -n 🔇 && exit
|
|
echo 🔊 $(pamixer --get-volume)% ;}
|
|
printpastatus
|