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) }