diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2010-08-21 12:16:19 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2010-10-02 11:56:30 -0400 |
commit | 1fcdfb3a104b44d80300f77f31d6192c3560d8e7 (patch) | |
tree | 29a52543c11cb0df7b843703c28f05ef02c7b24f /examples/data/scripts/util | |
parent | aabbcdc4faa4447159606b8a5a70bf17002ba310 (diff) |
Support setting the dmenu font
Diffstat (limited to 'examples/data/scripts/util')
-rw-r--r-- | examples/data/scripts/util/dmenu.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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" |