Fix max_results to live under [providers]

Re #3175
This commit is contained in:
David Heinemeier Hansson 2025-11-06 08:32:07 +01:00
parent cb03d7d84b
commit 870356ecc3
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,3 @@
max_results = 256 # 256 should be enough for everyone
force_keyboard_focus = true # forces keyboard forcus to stay in Walker
selection_wrap = true # wrap list if at bottom or top
theme = "omarchy-default" # theme to use
@ -11,6 +10,7 @@ additional_theme_location = "~/.local/share/omarchy/default/walker/themes/"
quick_activate = []
[providers]
max_results = 256 # 256 should be enough for everyone
default = [
"desktopapplications",
"menus",

View File

@ -1,5 +1,5 @@
echo "Increase Walker limit on how many entries can be shown to 256"
if ! grep -q "max_results" ~/.config/walker/config.toml; then
sed -i "1i max_results = 256 # 256 should be enough for everyone" ~/.config/walker/config.toml
sed -i '/^\[providers\]$/a max_results = 256' ~/.config/walker/config.toml
fi