From 1fcdfb3a104b44d80300f77f31d6192c3560d8e7 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 21 Aug 2010 12:16:19 -0400 Subject: Support setting the dmenu font --- examples/data/scripts/util/dmenu.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'examples/data/scripts/util') diff --git a/examples/data/scripts/util/dmenu.sh b/examples/data/scripts/util/dmenu.sh index d1411c7..7d540bd 100644 --- a/examples/data/scripts/util/dmenu.sh +++ b/examples/data/scripts/util/dmenu.sh @@ -46,6 +46,11 @@ if [ -z "$DMENU_ARGS" ]; then DMENU_ARGS="-i" fi +# Set the font if wanted +if [ -n "$DMENU_FONT" ]; then + DMENU_ARGS="$DMENU_ARGS -fn $DMENU_FONT" +fi + # Set the prompt if wanted if [ -n "$DMENU_PROMPT" ]; then DMENU_ARGS="$DMENU_ARGS -p $DMENU_PROMPT" -- cgit v1.2.3