aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2026-08-26 00:40:12 +0800
committerXiao Pan <xyz@flylightning.xyz>2026-08-26 00:40:59 +0800
commit641403d9c13c4111db4c80ea103febde82818905 (patch)
treec03c711dc7b83dd3692f1b7a4fe78f0c3b545814
parentafc1061f9cc6517455326a12f131bfb12b4a2aa0 (diff)
Add fallback fonts to make Chinese and emoji workfly
According to example in commit 14343e69cc596b847f71f1e825d3019ab1a29aa8
-rw-r--r--config.def.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index c8b0212..eb617a3 100644
--- a/config.def.h
+++ b/config.def.h
@@ -7,7 +7,11 @@ static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
-static const char *fonts[] = { "monospace:size=11" };
+static const char *fonts[] = {
+ "Noto Sans Mono:size=11",
+ "Noto Sans Mono CJK SC:size=11",
+ "Noto Color Emoji:size=11"
+};
static const char dmenufont[] = "monospace:size=11";
/*