Created
August 16, 2016 05:18
-
-
Save efraintorlo/7358c2ae85a63c49c319e1e5edbb359d to your computer and use it in GitHub Desktop.
Volume Up & Down from Terminal Aliases
(Linux)
This file contains hidden or 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
alias k='amixer -D pulse sset Master 10%+ |sed -n "s/.*\[\([^]]*\%\)\].*/Volume:\1/p" | head -1' | |
alias j='amixer -D pulse sset Master 10%- |sed -n "s/.*\[\([^]]*\%\)\].*/Volume:\1/p" | head -1' | |
alias kk='k && k' | |
alias jj='j && j' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment