diff options
-rw-r--r-- | .zshrc-linux-desktop | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.zshrc-linux-desktop b/.zshrc-linux-desktop index bf7f6eb..d354d97 100644 --- a/.zshrc-linux-desktop +++ b/.zshrc-linux-desktop @@ -16,6 +16,13 @@ if [[ $(whence sshfs) != "" ]] then alias aumount='fusermount -u ~/mount-ageha && rmdir ~/mount-ageha' fi +if [[ $(whence mpc) != "" ]] then + alias mc='mpc clear' + alias mp='mpc playlist' + alias mr='mpc random' + alias ms='mpc search any' +fi + if [[ $(whence timew) != "" ]] then alias t='timew' alias ts='timew summary :week' @@ -37,9 +44,11 @@ eumount() { } fi -pacsync() { +if [[ $(whence pacmd) != "" ]] then +pacsink() { [[ $(pacmd list-sinks) =~ 'name: <book>' ]] && return pacmd load-module module-null-sink sink_name=book pacmd update-sink-proplist book device.description=book } +fi |