shellrc: alias alsamixer file if it exists

This commit is contained in:
Aminda Suomalainen 2020-10-26 19:19:18 +02:00
parent 35c350e4b1
commit e7dee8ee42
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 12 additions and 0 deletions

View File

@ -520,6 +520,12 @@ alias netstat-listening-ports="netstat -plnt"
alias mpvm="mpv --no-video"
alias mpvms="mpv --no-video --shuffle"
# Compatibility with my i3 alsactl mess
if [ -f ~/.config/asound.state ]
then
alias alsactl="\alsactl -f ~/.config/asound.state"
fi
# Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases

View File

@ -497,6 +497,12 @@ alias netstat-listening-ports="netstat -plnt"
alias mpvm="mpv --no-video"
alias mpvms="mpv --no-video --shuffle"
# Compatibility with my i3 alsactl mess
if [ -f ~/.config/asound.state ]
then
alias alsactl="\alsactl -f ~/.config/asound.state"
fi
# Allow custom aliases to be put in .aliases or .zsh_aliases .
# .aliases