mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
shellrc: alias alsamixer file if it exists
This commit is contained in:
parent
35c350e4b1
commit
e7dee8ee42
@ -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
|
||||
|
6
rc/zshrc
6
rc/zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user