summaryrefslogtreecommitdiffstats
path: root/src/basic/glyph-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-02-01 11:14:24 +0100
committerLennart Poettering <lennart@poettering.net>2024-02-09 18:27:01 +0100
commitc80139f078f2915200c05bc626b4b14848beb99d (patch)
tree97703015d0f6a4c4c66768d32b647cb95907a41e /src/basic/glyph-util.c
parentptyfwd: optionally update window title if we are running a ptyfwd session (diff)
downloadsystemd-c80139f078f2915200c05bc626b4b14848beb99d.tar.xz
systemd-c80139f078f2915200c05bc626b4b14848beb99d.zip
glyph-util: add colored circle glyphs
Diffstat (limited to 'src/basic/glyph-util.c')
-rw-r--r--src/basic/glyph-util.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/basic/glyph-util.c b/src/basic/glyph-util.c
index 803bdd90e2..2cec3d82cf 100644
--- a/src/basic/glyph-util.c
+++ b/src/basic/glyph-util.c
@@ -74,6 +74,9 @@ const char *special_glyph_full(SpecialGlyph code, bool force_utf) {
[SPECIAL_GLYPH_SPARKLES] = "*",
[SPECIAL_GLYPH_LOW_BATTERY] = "!",
[SPECIAL_GLYPH_WARNING_SIGN] = "!",
+ [SPECIAL_GLYPH_RED_CIRCLE] = "o",
+ [SPECIAL_GLYPH_YELLOW_CIRCLE] = "o",
+ [SPECIAL_GLYPH_BLUE_CIRCLE] = "o",
},
/* UTF-8 */
@@ -136,6 +139,10 @@ const char *special_glyph_full(SpecialGlyph code, bool force_utf) {
[SPECIAL_GLYPH_WARNING_SIGN] = u8"⚠️",
[SPECIAL_GLYPH_COMPUTER_DISK] = u8"💽",
[SPECIAL_GLYPH_WORLD] = u8"🌍",
+
+ [SPECIAL_GLYPH_RED_CIRCLE] = u8"🔴",
+ [SPECIAL_GLYPH_YELLOW_CIRCLE] = u8"🟡",
+ [SPECIAL_GLYPH_BLUE_CIRCLE] = u8"🔵",
},
};