From 0ccde8d66fdae53c41d71727e4fbbf7c9ec8e836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Fri, 16 Dec 2022 23:35:49 +0100 Subject: [PATCH] i3status-rust: Handle unavailable spotify properly --- i3/i3status-rust/config.toml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/i3status-rust/config.toml.j2 b/i3/i3status-rust/config.toml.j2 index 6af7bdf..269ebb7 100644 --- a/i3/i3status-rust/config.toml.j2 +++ b/i3/i3status-rust/config.toml.j2 @@ -19,7 +19,7 @@ end_separator = "" block = "music" player = "spotify" separator = " — " -format = " $icon $combo $prev $play $next " +format = " $icon {$combo $prev $play $next|-} " [[block]] block = "sound"