fix(selector): tell wofi to not cache
This commit is contained in:
parent
a0e4bc98dd
commit
df27c88c2b
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ func selector(data []string, max int, tool string) (string, error) {
|
||||||
"-lines",
|
"-lines",
|
||||||
strconv.Itoa(max)}
|
strconv.Itoa(max)}
|
||||||
case "wofi":
|
case "wofi":
|
||||||
args = []string{"wofi", "--show", "dmenu", strconv.Itoa(max)}
|
args = []string{"wofi", "--cache-file", "/dev/null", "--dmenu", strconv.Itoa(max)}
|
||||||
default:
|
default:
|
||||||
return "", fmt.Errorf("Unsupported tool: %s", tool)
|
return "", fmt.Errorf("Unsupported tool: %s", tool)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue