aboutsummaryrefslogtreecommitdiffstats
path: root/.zshrc-linux-desktop
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2023-12-16 11:37:00 -0700
committerkatherine <ageha@airen-no-jikken.icu>2023-12-16 11:37:00 -0700
commitaf7c6e45cc69c5f02d01a5283b28c863e9665826 (patch)
tree6525dc0c56ab2b36a8d3e3c94baa295b301ab975 /.zshrc-linux-desktop
parentd362061784a38eb1bff655980d2db502e1607f08 (diff)
downloaddotfiles-af7c6e45cc69c5f02d01a5283b28c863e9665826.tar.gz
mpc aliases
old pms won't build, and new is still unusably bugged, so just mpc for now; not too bad with zsh completion
Diffstat (limited to '.zshrc-linux-desktop')
-rw-r--r--.zshrc-linux-desktop11
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