From d81caaec0da5775c09a4c722aedc3e3e14dd0606 Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sun, 26 Dec 2021 09:30:23 +0100 Subject: [PATCH] Add color emoji In order to add color emoji, we need two things: 1. Use a fallback font which has colorful emoji (Noto Color Emoji). 2. Remove Xft workaround and use the patched library. --- config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.h b/config.h index 8fd627f..6a92b0e 100644 --- a/config.h +++ b/config.h @@ -8,7 +8,10 @@ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const int horizpadbar = 3; /* horizontal padding for statusbar */ static const int vertpadbar = 0; /* vertical padding for statusbar */ -static const char *fonts[] = { "monospace:size=10" }; +static const char *fonts[] = { + "monospace:size=10", + "Noto Color Emoji:size=8" +}; static const char dmenufont[] = "monospace:size=10"; static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; -- 2.39.5