Skip to content

Conversation

@johanmalm
Copy link
Member

...because such menus are supported with the released of labwc 0.8.3

It shows how a simple wrapper can be written around labwc-menu-generator to add some menu entires before and after the generated directories and .desktop entries.

<action name="Execute"><command>firefox</command></action>
</item>
<item label="Terminal">
<action name="Execute" command="foot" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose this could be

<action name="Execute" command="'"$terminal"'" />

(That is command=" ' " $terminal " ' " />)

@Consolatis
Copy link
Member

Minor nitpick above, other than that LGTM

...because such menus are supported with the released of labwc 0.8.3

It shows how a simple wrapper can be written around labwc-menu-generator
to add some menu entires before and after the generated directories and
.desktop entries.
@johanmalm johanmalm force-pushed the example-dynamic-root-menu branch from 995cce5 to 0ee8030 Compare March 8, 2025 13:51
@johanmalm
Copy link
Member Author

@Consolatis - thanks for suggestion. Very good idea 😄 Have incorporated.

@johanmalm johanmalm merged commit f1aa43d into master Mar 8, 2025
3 checks passed
@johanmalm johanmalm deleted the example-dynamic-root-menu branch March 8, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants