basecamp/omarchy

Create universally searchable Omarchy Menu

Open

#2807 aperta il 24 ott 2025

Vedi su GitHub
 (5 commenti) (18 reazioni) (0 assegnatari)Shell (2295 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (22.948 star)
Metriche merge PR
 (Merge medio 58g 18h) (2 PR mergiate in 30 g)

Descrizione

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 = "󰃉"

Guida contributor