From 833ef8fe97dd4e0b14e18c523bccee6b4a52096e Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Tue, 3 Jan 2017 17:09:48 +0100
Subject: wmstatus: nicer MPD player status chars
---
wmstatus.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/wmstatus.c b/wmstatus.c
index 1216b85..6e2e582 100644
--- a/wmstatus.c
+++ b/wmstatus.c
@@ -1532,12 +1532,14 @@ mpd_on_info_response (const struct mpd_response *response,
const char *value;
if ((value = str_map_find (&map, "state")))
{
+ // Unicode approximates since in proportional fonts ASCII looks ugly
+ // and I don't want to depend on a particular font with player chars
if (!strcmp (value, "stop"))
ctx->mpd_status = xstrdup ("MPD stopped");
else if (!strcmp (value, "pause"))
- str_append (&s, "|| ");
+ str_append (&s, "▯▯ " /* "|| " */);
else
- str_append (&s, "|> ");
+ str_append (&s, "▷ " /* "|> " */);
}
if ((value = str_map_find (&map, "title"))
--
cgit v1.2.3-70-g09d2