~pvsr/dotfiles

96fb505276e9c6354ce10e77f72987f055fbe0f2 — Peter Rice 11 months ago 5ab20d1
pass album args to fzf as query
1 files changed, 1 insertions(+), 1 deletions(-)

M bin/bin/album
M bin/bin/album => bin/bin/album +1 -1
@@ 1,2 1,2 @@
#!/usr/bin/fish
set -l a (mpc list album | fzf) && mpc -q clear && mpc -q random off && mpc findadd album $a && mpc play
set -l a (mpc list album | fzf -q "$argv") && mpc -q clear && mpc -q random off && mpc findadd album $a && mpc play