diff options
author | Brendan Taylor <whateley@gmail.com> | 2011-07-17 11:19:41 +0000 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-07-17 11:19:41 +0000 |
commit | 91da964076912a556a68a38b0f095f2f747ada25 (patch) | |
tree | 6a347e56e83d7152b2c8061abefbcc304d49d5f2 /examples | |
parent | d200ca6b9f30502151f0972a1dcd37229ddcda1a (diff) |
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.
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/data/scripts/formfiller.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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" |