From df27c88c2b85ed15963f3c6ec330f29d8d834fd7 Mon Sep 17 00:00:00 2001 From: yory8 <> Date: Mon, 30 Sep 2019 09:48:00 +0200 Subject: [PATCH] fix(selector): tell wofi to not cache --- selector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selector.go b/selector.go index bb6683c..f3dac98 100644 --- a/selector.go +++ b/selector.go @@ -39,7 +39,7 @@ func selector(data []string, max int, tool string) (string, error) { "-lines", strconv.Itoa(max)} case "wofi": - args = []string{"wofi", "--show", "dmenu", strconv.Itoa(max)} + args = []string{"wofi", "--cache-file", "/dev/null", "--dmenu", strconv.Itoa(max)} default: return "", fmt.Errorf("Unsupported tool: %s", tool) }