[dev] dmenu -m "new%patch" -d "%"

From: Martin Ellis <ellism88_AT_gmail.com>
Date: Tue, 11 May 2010 11:58:12 +0100


We had a strange situation where putting the menu in stdin was difficult.

For our situation supplying the menu on the command line would be easier.

Attached is a patch that provides this.

The new syntax is

dmenu -m "hello\nworld"

or use the -d flag to specify the seperator

dmenu -m "hello%world" -d "%"

The old style still works.

Hope this helps someone.


Received on Tue May 11 2010 - 10:58:12 UTC

This archive was generated by hypermail 2.2.0 : Tue May 11 2010 - 11:00:02 UTC