]> git.ekhem.eu.org Git - dwm.git/commitdiff
Add color emoji
authorJakub Czajka <jakub@ekhem.eu.org>
Sun, 26 Dec 2021 08:30:23 +0000 (09:30 +0100)
committerJakub Czajka <jakub@ekhem.eu.org>
Sat, 14 Oct 2023 20:46:44 +0000 (22:46 +0200)
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

index 8fd627f8ef5e76df0b0a5daf5e8336ba2cab5c37..6a92b0e1cc9b3d72af256df80f0eddfbff3e0873 100644 (file)
--- 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";