Introduction
Introduction Statistics Contact Development Disclaimer Help
tShow single symbol instead of animation with blank mpd metadata - spoon - dwm …
git clone git://src.adamsgaard.dk/spoon
Log
Files
Refs
LICENSE
---
commit 3c6eedee86ba611a19953902f16f2c2cdddd400f
parent 11d2344a17373aff077d0a7884a8ac8a3c7751e3
Author: Anders Damsgaard <[email protected]>
Date: Fri, 8 May 2020 14:01:33 +0200
Show single symbol instead of animation with blank mpd metadata
Diffstat:
M mpd.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/mpd.c b/mpd.c
t@@ -6,14 +6,6 @@
#include "types.h"
#include "util.h"
-char *anim[] = {
- "!!.|.",
- "|!.!.",
- "!.!!.",
- "!!|.!",
- ".!!|!",
-};
-
int
mpdread(void *arg, char *buf, size_t len)
{
t@@ -64,7 +56,7 @@ mpdread(void *arg, char *buf, size_t len)
} else if (title != NULL) {
strlcpy(buf, title, len);
} else {
- strlcpy(buf, anim[frame++ % LEN(anim)], len);
+ strlcpy(buf, ">", 2);
}
mpd_song_free(song);
mpd_response_finish(conn);
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.