diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-26 17:12:44 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-26 17:12:44 +1100 |
| commit | fe930504a4bc570ad0a74372adb87e717854ba4b (patch) | |
| tree | cd5f87c4c4daedd35feeadfa96b87faed284adfb /src/modules | |
| parent | media: bind controls sensitivity (diff) | |
| download | caelestia-shell-fe930504a4bc570ad0a74372adb87e717854ba4b.tar.gz caelestia-shell-fe930504a4bc570ad0a74372adb87e717854ba4b.tar.bz2 caelestia-shell-fe930504a4bc570ad0a74372adb87e717854ba4b.zip | |
launcher: fix windows mode
Forgot to implement no limit when < 0
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/launcher.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/launcher.tsx b/src/modules/launcher.tsx index aeb7156..5c820ff 100644 --- a/src/modules/launcher.tsx +++ b/src/modules/launcher.tsx @@ -590,7 +590,7 @@ const Results = ({ entry, mode }: { entry: Widget.Entry; mode: Variable<Mode> }) if (entry.text) { const clients = fuzzysort.go(entry.text, unsortedClients, { all: true, - limit: config.windows.maxResults, + limit: config.windows.maxResults < 0 ? undefined : config.windows.maxResults, keys: ["title", "class", "initialTitle", "initialClass"], scoreFn: r => r[0].score * config.windows.weights.title + |