Fix mpd prompt replace mode
This commit is contained in:
parent
b8dae293fa
commit
0bbf605eac
2
mpd.lua
2
mpd.lua
|
@ -30,7 +30,7 @@ end
|
||||||
|
|
||||||
local function dmenu(opts)
|
local function dmenu(opts)
|
||||||
log.spawn("dmpc -h " .. settings.host .. " -p " .. settings.port .. " " ..
|
log.spawn("dmpc -h " .. settings.host .. " -p " .. settings.port .. " " ..
|
||||||
(clear_before and "-r" or "-R") .. " " .. opts)
|
(settings.replace_on_search and "-r" or "-R") .. " " .. opts)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function notify(stext)
|
local function notify(stext)
|
||||||
|
|
Loading…
Reference in a new issue