basecamp/omarchy

Create universally searchable Omarchy Menu

Open

#2,807 建立於 2025年10月24日

在 GitHub 查看
 (5 留言) (18 反應) (0 負責人)Shell (2,295 fork)batch import
enhancementhelp wanted

倉庫指標

Star
 (22,948 star)
PR 合併指標
 (平均合併 58天 18小時) (30 天內合併 2 個 PR)

描述

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

貢獻者指南