Skip to content

Commit

Permalink
fix dmenu prompt in formfiller.sh
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bct committed Jul 17, 2011
1 parent d200ca6 commit 91da964
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/data/scripts/formfiller.sh
Expand Up @@ -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"
Expand Down

0 comments on commit 91da964

Please sign in to comment.