Created
November 28, 2011 13:52
-
-
Save valvallow/1400468 to your computer and use it in GitHub Desktop.
volume
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ $# -eq 0 ]; then | |
echo 'Usage: volume <num 0 - 100>' 1>&2 | |
exit 1 | |
fi | |
amixer set Master on "$1"% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment