#! /bin/sh . "`dirname \"$0\"`"/../set-path if pulseaudio --check; then if [ "$1" = increase ]; then vol=increase elif [ "$1" = decrease ]; then vol=decrease elif [ "$1" = INCREASE ]; then vol=increase pa-volume "$vol" elif [ "$1" = DECREASE ]; then vol=decrease pa-volume "$vol" else echo "Usage: $0 [increase|decrease|INCREASE|DECREASE]" >&2 exit 1 fi exec pa-volume "$vol" else exec amixer-volume "$@" fi