From 91da964076912a556a68a38b0f095f2f747ada25 Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Sun, 17 Jul 2011 11:19:41 +0000 Subject: fix dmenu prompt in formfiller.sh util/dmenu.sh breaks with spaces in $DMENU_PROMPT. a proper fix looks like it will require all scripts that use util/dmenu.sh to use "eval $DMENU" instead of "$DMENU" (which has side-effects of its own), I'd rather avoid that for now. --- examples/data/scripts/formfiller.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/data/scripts/formfiller.sh b/examples/data/scripts/formfiller.sh index c1171a0..beab011 100755 --- a/examples/data/scripts/formfiller.sh +++ b/examples/data/scripts/formfiller.sh @@ -39,7 +39,10 @@ GenForm () GetOption () { DMENU_SCHEME=formfiller - DMENU_PROMPT="choose profile" + + # util/dmenu.sh doesn't handle spaces in DMENU_PROMPT. a proper fix will be + # tricky. + DMENU_PROMPT="choose_profile" DMENU_LINES=4 . "$UZBL_UTIL_DIR/dmenu.sh" -- cgit v1.2.3