changes
This commit is contained in:
parent
a475f2caf3
commit
dfe2ed4354
2 changed files with 2 additions and 16 deletions
|
|
@ -3,7 +3,8 @@ font=sans-serif
|
||||||
default-timeout=5000
|
default-timeout=5000
|
||||||
max-history=8
|
max-history=8
|
||||||
max-visible=8
|
max-visible=8
|
||||||
on-button-middle=dismiss --no-history
|
on-button-right=exec makoctl menu -n "$id" -- fuzzel --dmenu
|
||||||
|
on-button-middle=dismiss
|
||||||
|
|
||||||
layer=overlay
|
layer=overlay
|
||||||
anchor=top-right
|
anchor=top-right
|
||||||
|
|
|
||||||
|
|
@ -82,21 +82,6 @@ function select_song
|
||||||
end
|
end
|
||||||
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
|
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)
|
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