[GH-ISSUE #534] XDG menu #1580

Open
opened 2026-05-22 22:53:16 +01:00 by JakeStanger · 0 comments
Owner

Originally created by @ClaireNeveu on GitHub (Apr 6, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/534

Originally assigned to: @ClaireNeveu on GitHub.

Is your feature request related to a problem? Please describe.
The Launcher module is great for frequently accessed programs but right now ironbar doesn't provide a solution to infrequently used programs that you don't want cluttering the bar all the time. You mentioned in https://github.com/JakeStanger/ironbar/issues/194 that you don't really want to embed a rofi-like menu (like KDE does) but would you be open to a customizable XDG menu sort of like XFCE?

xdg-menu

Describe the solution you'd like
The interface would be something like:

 - type: menu
   xdg_menu: true
   before:
   - label: Run Program
     action: "wofi --show drun"
   - label: Terminal
     action: "xterm"
   after:
   - label: logout
     action: "wlogout"

Describe alternatives you've considered
I've thought about building something with the custom modules but you can't dynamically decide which GTK elements are present.

Additional context
I'd be willing to contribute the module to ironbar if the idea is acceptable.

Originally created by @ClaireNeveu on GitHub (Apr 6, 2024). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/534 Originally assigned to: @ClaireNeveu on GitHub. **Is your feature request related to a problem? Please describe.** The Launcher module is great for frequently accessed programs but right now ironbar doesn't provide a solution to infrequently used programs that you don't want cluttering the bar all the time. You mentioned in https://github.com/JakeStanger/ironbar/issues/194 that you don't really want to embed a rofi-like menu (like KDE does) but would you be open to a customizable XDG menu sort of like XFCE? ![xdg-menu](https://github.com/JakeStanger/ironbar/assets/1002726/7ed77b36-91f9-48c3-886c-13439fb71259) **Describe the solution you'd like** The interface would be something like: ```yaml - type: menu xdg_menu: true before: - label: Run Program action: "wofi --show drun" - label: Terminal action: "xterm" after: - label: logout action: "wlogout" ``` **Describe alternatives you've considered** I've thought about building something with the custom modules but you can't dynamically decide which GTK elements are present. **Additional context** I'd be willing to contribute the module to ironbar if the idea is acceptable.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#1580
No description provided.