From 2a484129d59a1f2ba3227986214630d80dea919d Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Fri, 6 Dec 2024 19:36:49 +0000 Subject: [PATCH] Indicate muted state --- config.jsonc | 4 ++++ style.css | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config.jsonc b/config.jsonc index f238ab3..f962628 100644 --- a/config.jsonc +++ b/config.jsonc @@ -70,5 +70,9 @@ }, "format": "{capacity}%", "format-alt": "{time}" + }, + "wireplumber": { + "format": "{volume}%", + "format-muted": "M" } } diff --git a/style.css b/style.css index 5c1c9c2..09b7ac1 100644 --- a/style.css +++ b/style.css @@ -62,6 +62,9 @@ window#waybar { #mpris { background-color: rgba(169, 47, 233, 0.5); } +#wireplumber.muted { + background-color: rgba(128, 16, 16, 0.5); +} #battery { background-color: rgba(16, 128, 16, 0.5); } @@ -69,5 +72,5 @@ window#waybar { background-color: rgba(128, 128, 16, 0.5); } #battery.critical { - background-color: rgba(16, 128, 16, 0.5); + background-color: rgba(128, 16, 16, 0.5); }