Re: Dynamic menu text?

nia <[email protected]> Thu, 9 Apr 2026 18:35:19 +0000
Newsgroups gmane.comp.window-managers.ctwm
Message-ID <[email protected]>
On Wed, Apr 08, 2026 at 05:00:52PM -0500, Thomas E. Kammeyer wrote:
> I was wondering if consideration has ever been given to allowing a
> leading "!" on menu entry text to cause ctwm to display the output of a
> command (subject to limitations like some max. #chars and ending
> regardless at, say, \r or \n)?
> 

Just so you're aware, you can do this with m4 macros if your m4
has "esyscmd". This is how the dynamic ctwm menu on NetBSD's
defualt install works.