aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Ben Boeckel <MathStuf@gmail.com>2011-03-11 20:55:57 -0500
committerGravatar Brendan Taylor <whateley@gmail.com>2011-03-13 22:13:52 -0600
commit3cc75534065c0775dfea171b1b96cc3d2b7243a0 (patch)
tree3059375b1fee95adaf3af49485f4f9f4bdcf8245 /examples
parentac9ba58e63576adbf6aa5fbd956be7d4dbfd5aae (diff)
Support -x flag without angle brackets as well
Diffstat (limited to 'examples')
-rw-r--r--examples/data/scripts/util/dmenu.sh2
1 files changed, 1 insertions, 1 deletions
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 <xoffset>\]'; then
+if dmenu --help 2>&1 | grep -q '\[-x <\?xoffset>\?\]'; then
DMENU_PLACE_X="-x"
DMENU_PLACE_Y="-y"
DMENU_PLACE_WIDTH="-w"