Re: [dev] Adding MRU support to dmenu

From: Markus Teich <>
Date: Mon, 2 Dec 2013 00:53:03 +0100

Eyal Erez wrote:
> I wanted to add support for MRU type sorting of commands. I've created a
> patch which does this in a separate executable for backwards compatibility.


this should also be possible with some construct like this:

rev <historyfile | awk '!x[$0]++' | dmenu

First reverse the historyfile (assuming you append to it), so most recently used
entry is first, then remove duplicates and pass the list to dmenu.

Received on Mon Dec 02 2013 - 00:53:03 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 02 2013 - 01:00:07 CET