diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-01-03 17:09:48 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-01-03 17:32:36 +0100 |
commit | 833ef8fe97dd4e0b14e18c523bccee6b4a52096e (patch) | |
tree | 8ee84416605acee21e53fb5eaca62ea24e942bbc | |
parent | 5fdeaa35316ae3a5acc7c78d9df53d801d68f015 (diff) | |
download | desktop-tools-833ef8fe97dd4e0b14e18c523bccee6b4a52096e.tar.gz desktop-tools-833ef8fe97dd4e0b14e18c523bccee6b4a52096e.tar.xz desktop-tools-833ef8fe97dd4e0b14e18c523bccee6b4a52096e.zip |
wmstatus: nicer MPD player status chars
-rw-r--r-- | wmstatus.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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")) |