From a080e1b7f9fb813abde85186e524bfbc95b00d2f Mon Sep 17 00:00:00 2001 From: yory8 <> Date: Mon, 30 Sep 2019 09:55:42 +0200 Subject: [PATCH] fix(selector): wofi doesn't allow setting n of display items --- selector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selector.go b/selector.go index f3dac98..ed3d657 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", "--cache-file", "/dev/null", "--dmenu", strconv.Itoa(max)} + args = []string{"wofi", "--cache-file", "/dev/null", "--dmenu"} default: return "", fmt.Errorf("Unsupported tool: %s", tool) }