Add new 'Search' option to main menu#2258
Closed
RushiChaganti wants to merge 1 commit into
Closed
Conversation
Member
|
Appreciate the suggestion, but I don't love the dynamics of that. If we're going to have a menu-wide search, it has to be fully integrated into the walker setup. |
Author
|
Hey @dhh , |
Member
|
I don't know if this is currently feasible. What I'd prefer is that there's one input field, and that it by default just filters the visible options we have, but, maybe, if you hold down a modifier, like alt, it'll search the global space. But I don't want this to be a big, invasive change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a Search option to the Omarchy main menu, allowing users to quickly find and execute any menu action. The search interface is dmenu-based and integrates themes, fonts, and power profiles for faster navigation.
Note: Another contributor, KoushikScripts
, was also working on a similar fuzzy search feature. Their approach is slightly different, but both aim to improve menu navigation.
Key Changes:
extract_menu_actions()to list all menu items with their commands.show_search_menu()for searchable menu selection.go_to_menu()andshow_main_menu()to include the new Search option.Benefit:
Users can quickly access any menu item without navigating multiple sub-menus.
Main Menu
Search Menu