fix(selector): tell wofi to not cache

This commit is contained in:
yory8 2019-09-30 09:48:00 +02:00
parent a0e4bc98dd
commit df27c88c2b

View file

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