fix(selector): wofi doesn't allow setting n of display items
This commit is contained in:
parent
df27c88c2b
commit
a080e1b7f9
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", "--cache-file", "/dev/null", "--dmenu", strconv.Itoa(max)}
|
args = []string{"wofi", "--cache-file", "/dev/null", "--dmenu"}
|
||||||
default:
|
default:
|
||||||
return "", fmt.Errorf("Unsupported tool: %s", tool)
|
return "", fmt.Errorf("Unsupported tool: %s", tool)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue