enhancementhelp wanted
Description
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 > ThemefromRemove > 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 = ""