dwmstatus: try to make the status a bit shorter

This commit is contained in:
Přemysl Eric Janouch 2016-10-12 16:58:50 +02:00
parent 644d55476f
commit 49af961a24
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 2 additions and 3 deletions

View File

@ -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")))