From af7c6e45cc69c5f02d01a5283b28c863e9665826 Mon Sep 17 00:00:00 2001 From: katherine Date: Sat, 16 Dec 2023 11:37:00 -0700 Subject: mpc aliases old pms won't build, and new is still unusably bugged, so just mpc for now; not too bad with zsh completion --- .zshrc-linux-desktop | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to '.zshrc-linux-desktop') 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: ' ]] && return pacmd load-module module-null-sink sink_name=book pacmd update-sink-proplist book device.description=book } +fi -- cgit v1.2.3