From 3cc75534065c0775dfea171b1b96cc3d2b7243a0 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 11 Mar 2011 20:55:57 -0500 Subject: Support -x flag without angle brackets as well --- examples/data/scripts/util/dmenu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/data/scripts/util/dmenu.sh b/examples/data/scripts/util/dmenu.sh index 354d7d1..f0d1651 100644 --- a/examples/data/scripts/util/dmenu.sh +++ b/examples/data/scripts/util/dmenu.sh @@ -98,7 +98,7 @@ if dmenu --help 2>&1 | grep -q '\[-l <\?lines>\?\]'; then fi # Detect placement patch -if dmenu --help 2>&1 | grep -q '\[-x \]'; then +if dmenu --help 2>&1 | grep -q '\[-x <\?xoffset>\?\]'; then DMENU_PLACE_X="-x" DMENU_PLACE_Y="-y" DMENU_PLACE_WIDTH="-w" -- cgit v1.2.3