diff options
author | katherine <ageha@airen-no-jikken.icu> | 2023-12-16 11:37:00 -0700 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2023-12-16 11:37:00 -0700 |
commit | af7c6e45cc69c5f02d01a5283b28c863e9665826 (patch) | |
tree | 6525dc0c56ab2b36a8d3e3c94baa295b301ab975 /.zshrc-linux-desktop | |
parent | d362061784a38eb1bff655980d2db502e1607f08 (diff) | |
download | dotfiles-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-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 |