commit 429034708b4e130cc75b8c180f58a55c0f219ec9
parent 1e1e9228adf53c243acd7408ae43c413f781e721
Author: Chris Bracken <chris@bracken.jp>
Date: Tue, 5 May 2020 14:48:37 -0700
Specify dmenu font explicitly
After tweaking fonts.conf, it's now defaulting to text that's too small.
I imagine it's picking up the Twitter Color Emoji font at its default
font size rather than DejaVu Sans Mono at whatever size dmenu requests
by default.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.config/i3/config b/.config/i3/config
@@ -51,7 +51,7 @@ set $term urxvt
# Your preferred application launcher.
# Note: it's recommended that you pass the final command to i3.
-set $menu dmenu_path | dmenu | xargs i3-msg exec --
+set $menu dmenu_path | dmenu -fn "DejaVu Sans Mono-12" | xargs i3-msg exec --
# Set lock screen handler.
set $lock_screen i3lock -c 000000
diff --git a/.config/i3/exit_check.sh b/.config/i3/exit_check.sh
@@ -7,7 +7,7 @@
unset XMODIFIERS
while [ "$choice" != "no" ] && [ "$choice" != "yes" ]; do
- choice=$(echo -e 'no\nyes' | dmenu -p "Really exit?")
+ choice=$(echo -e 'no\nyes' | dmenu -fn "DejaVu Sans Mono-12" -p "Really exit?")
done
if [ "$choice" = "yes" ]; then
i3-msg exit