changes
This commit is contained in:
parent
a475f2caf3
commit
dfe2ed4354
2 changed files with 2 additions and 16 deletions
|
|
@ -82,21 +82,6 @@ function select_song
|
|||
end
|
||||
end
|
||||
|
||||
# function select_song
|
||||
# argparse artist=? album=? -- $argv
|
||||
# or return
|
||||
#
|
||||
# if set -ql _flag_artist
|
||||
# select_song --album (mpc list album albumartist $_flag_artist | fuzzel --dmenu || exit)
|
||||
# else if set -ql _flag_album
|
||||
# set title (mpc search --format "%track%\t%title%" album $_flag_album | fuzzel --dmenu || exit)
|
||||
# mpc findadd album $_flag_album
|
||||
# mpc searchplay title $title
|
||||
# else
|
||||
# select_song --artist (mpc list albumartist | fuzzel --dmenu || exit)
|
||||
# end
|
||||
# end
|
||||
|
||||
function select_song_from_queue
|
||||
set title (mpc playlist --format "%artist%\t%title%" | fuzzel --dmenu --select=(mpc current --format "%artist%\t%title%") --accept-nth 2 || exit)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue