From 0bbf605eacdcf135a14aba268c7ec490be446159 Mon Sep 17 00:00:00 2001 From: crater2150 Date: Sat, 13 Jun 2015 23:52:24 +0200 Subject: [PATCH] Fix mpd prompt replace mode --- mpd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpd.lua b/mpd.lua index c228268..b81cc01 100644 --- a/mpd.lua +++ b/mpd.lua @@ -30,7 +30,7 @@ end local function dmenu(opts) 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 local function notify(stext)