aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-10-12 16:58:50 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-10-12 16:58:50 +0200
commit49af961a24ae13d864460635fd9df70a8e4fb847 (patch)
tree80c7baf1231f518106c5fa19b115ed16890bb436
parent644d55476f4173948c05736665d59e8e64bfcb23 (diff)
downloaddesktop-tools-49af961a24ae13d864460635fd9df70a8e4fb847.tar.gz
desktop-tools-49af961a24ae13d864460635fd9df70a8e4fb847.tar.xz
desktop-tools-49af961a24ae13d864460635fd9df70a8e4fb847.zip
dwmstatus: try to make the status a bit shorter
-rw-r--r--dwmstatus.c5
1 files 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")))