dmenu

Dmenu fork with patches: numbers, nonblocking_stdin, height, input_text
git clone http://milesalan.com/git/dmenu
Log | Files | Refs | Mirror | README | LICENSE

commit 70b3418e3e44a562cec860033d2a3bbf640f3084
parent cf641ae49677ae0435780e0641d9b347a4325044
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Mon, 17 Oct 2011 10:22:23 +0100

simplify dmenu_run
Diffstat:
Mdmenu_run | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dmenu_run b/dmenu_run @@ -5,7 +5,7 @@ if [ ! -d "`dirname "$CACHE"`" ]; then fi ( IFS=: - if test "`ls -dt $PATH "$CACHE" 2> /dev/null | sed 1q`" != "$CACHE"; then + if [ "`ls -dt $PATH "$CACHE" | head -n 1`" != "$CACHE" ]; then lsx $PATH | sort -u > "$CACHE" fi )