Skip to content

Conversation

RushiChaganti
Copy link

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.

image image
Global_search_demo.mp4

@shyamenk
Copy link

Wow, it's a nice feature @RushiChaganti

@RushiChaganti RushiChaganti mentioned this pull request Oct 16, 2025
Copy link

@celsobenedetti celsobenedetti left a 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 ;;

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?

Suggested change
*search*) /omarchy-global-search ;;
*search*) omarchy-global-search ;;

Comment on lines 464 to 466
if [[ -z "$selection" ]]; then
$HOME/test/test.sh
else

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
Comment on lines 471 to 476
LAUNCHER="${LAUNCHER:-$HOME/test/test.sh}"
launch_unified_search() {
export OMARCHY_MENU_ACTIVE=1
"$LAUNCHER" unified
unset OMARCHY_MENU_ACTIVE
}

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?

Copy link
Author

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.

@RushiChaganti
Copy link
Author

Hey @celsobenedetti Fixed the issue,
Thanks for pointing it out!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants