-
Notifications
You must be signed in to change notification settings - Fork 1.3k
integrate global search for applications and menu items #2461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Wow, it's a nice feature @RushiChaganti |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I absolutely love this. thanks for working on it!
Left some remarks.
bin/omarchy-menu
Outdated
go_to_menu() { | ||
case "${1,,}" in | ||
*apps*) walker -p "Launch…" ;; | ||
*search*) /omarchy-global-search ;; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a typo, correct?
*search*) /omarchy-global-search ;; | |
*search*) omarchy-global-search ;; |
if [[ -z "$selection" ]]; then | ||
$HOME/test/test.sh | ||
else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this supposed to be commited?
bin/omarchy-menu
Outdated
LAUNCHER="${LAUNCHER:-$HOME/test/test.sh}" | ||
launch_unified_search() { | ||
export OMARCHY_MENU_ACTIVE=1 | ||
"$LAUNCHER" unified | ||
unset OMARCHY_MENU_ACTIVE | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again, I'm supposing test.sh
is some WIP?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it’s finished. I’ve been working on the file and renamed it to omarchy-global-search, but I’ve forgotten parts of the code.
Hey @celsobenedetti Fixed the issue, |
This update introduces a global search that integrates both applications and menu items into a single searchable interface.
Details:
Applications and menu entries are now combined into one seamless search experience.
Search results display inline counts for better clarity.
The global search can be accessed by pressing Esc from within any menu (as modifying other keybindings would require extensive structural changes — following @dhh request for minimal modification).
It remains accessible from the main menu as well.
Notes:
This code was collaboratively developed with the assistance of various LLMs and has been thoroughly reviewed and tested by a human to ensure correctness and reliability.
Although it has been tested thoroughly, some minor bugs may still exist.
You can comment on this PR if you encounter any issues — I’ll address them promptly.
Open for suggestions and feedback for further improvements.
Global_search_demo.mp4