aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/data/scripts/util/dmenu.sh5
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"