From 49af961a24ae13d864460635fd9df70a8e4fb847 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Wed, 12 Oct 2016 16:58:50 +0200
Subject: dwmstatus: try to make the status a bit shorter
---
dwmstatus.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dwmstatus.c b/dwmstatus.c
index 254f442..3eaf99d 100644
--- a/dwmstatus.c
+++ b/dwmstatus.c
@@ -1280,8 +1280,8 @@ refresh_status (struct app_context *ctx)
else
{
char *volumes = make_volume_status (ctx);
- str_append_printf (&status, "%s %s ",
- ctx->sink_muted ? "Muted" : "Volume", volumes);
+ str_append_printf (&status, "%s%s ",
+ ctx->sink_muted ? "Muted " : "", volumes);
free (volumes);
}
@@ -1376,7 +1376,6 @@ mpd_on_info_response (const struct mpd_response *response,
struct str s;
str_init (&s);
- str_append (&s, "Playing: ");
if ((value = str_map_find (&map, "title"))
|| (value = str_map_find (&map, "name"))
|| (value = str_map_find (&map, "file")))
--
cgit v1.2.3-70-g09d2