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",
|
||||
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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue