omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Create universally searchable Omarchy Menu

Open ryanrhughes opened this issue 1 year ago • 6 comments

What do you need?

Walker / Elephant have support for a menu syntax (https://benz.gitbook.io/walker/customization/custom-menus) that allows for a much more robust and modular setup than we have currently in omarchy-menu.

The current structure is can make merges difficult at times but also requires manual navigation of each level.

In the latest version of Walker, @abenz1267 created a new feature called Sets that should allow us to change this entirely.

Todos

  • [ ] Convert the existing menus to the Walker menu syntax
  • [ ] Update the layout to support nerdicons as well
  • [ ] Utilize Sets to group the menu and allow for universal search
  • [ ] Refine the layout to ensure that there's an indicator of where an item came from to distinguish Install > Style > Theme from Remove > Style > Theme

Nerdicons Layout Add References

Add to layout:

    <child>
      <object class="GtkLabel" id="ItemImageFont">
        <style>
          <class name="item-image-text"></class>
        </style>
        <property name="width-chars">2</property>
      </object>
    </child>

Usage Example

name = "omarchycapture"
name_pretty = "Capture"

[[entries]]
text = "Screenshot"
submenu = "omarchyscreenshot"
icon = ""

[[entries]]
text = "Screenrecord"
submenu = "omarchyscreenrecord"
icon = ""

[[entries]]
text = "Color"
actions = { "pick" = "pkill hyprpicker || hyprpicker -a" }
icon = "󰃉"

ryanrhughes avatar Oct 24 '25 15:10 ryanrhughes

I’m giving this a try — thanks @ryanrhughes for the well-documented enhancement. I’ll post here if I have anything useful to share.

RushiChaganti avatar Oct 24 '25 18:10 RushiChaganti

I’m giving this a try — thanks @ryanrhughes for the well-documented enhancement. I’ll post here if I have anything useful to share.

feel free to hit me up on discord if you hit roadblocks/problems.

abenz1267 avatar Oct 24 '25 18:10 abenz1267

@RushiChaganti let me know if you need any help 🙂

narra-skr avatar Oct 25 '25 05:10 narra-skr

Added in #2864
@ryanrhughes Could you please test this? If you run into any issues, feel free to ping me here or on Discord. Thanks !

RushiChaganti avatar Oct 29 '25 04:10 RushiChaganti

Just popping in to say that the trouble of distinguishing between Install > Style > Theme and Remove > Style > Theme is rooted in sticking with the current menu’s structure.

It might be better to reformat the structure to give more specific names for the actions that are performed. (e.g Style > Theme > Remove Theme, or simply Style > Remove Theme).

Just a thought.

levincozza avatar Dec 09 '25 18:12 levincozza

Closing as fixed, resolved, or superseded by the current Quattro implementation based on the open-issue review.

dhh avatar Jul 18 '26 19:07 dhh