stuff
This commit is contained in:
parent
c5eef44306
commit
87f5f95b4e
7 changed files with 703 additions and 24 deletions
|
|
@ -52,7 +52,7 @@ function select_song
|
|||
|
||||
while true
|
||||
if test $state = "title"
|
||||
set song[3] (echo -e ".\n..\n$(mpc search --format "%track%\t%title%" album $song[2])" | fuzzel --dmenu --accept-nth 2 || exit)
|
||||
set song[3] (echo -e "\t.\n\t..\n$(mpc search --format "%track%\t%title%" album $song[2])" | column --table --separator \t --output-separator \t | fuzzel --dmenu --accept-nth 2 || exit)
|
||||
|
||||
if test $song[3] = "."
|
||||
set state ""
|
||||
|
|
@ -67,7 +67,7 @@ function select_song
|
|||
end
|
||||
|
||||
else if test $state = "album"
|
||||
set song[2] (echo -e ".\n..\n$(mpc search --format "%date%\t%album%" albumartist $song[1] | uniq | sort)" | fuzzel --dmenu --accept-nth 2 || exit)
|
||||
set song[2] (echo -e "\t.\n\t..\n$(mpc search --format "%date%\t%album%" albumartist $song[1] | uniq | sort)" | column --table --separator \t --output-separator \t | fuzzel --dmenu --accept-nth 2 || exit)
|
||||
|
||||
if test $song[2] = "."
|
||||
set state ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue