Re: [dev] Adding MRU support to dmenu

From: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Sun, 1 Dec 2013 18:06:25 -0600

On Mon, Dec 02, 2013 at 12:53:03AM +0100, Markus Teich wrote:
> 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.

Should that be "tac" instead of "rev" or am I missing something?

Eric
Received on Mon Dec 02 2013 - 01:06:25 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 02 2013 - 01:12:05 CET