From 9ebf91e892cbafbf03d09f3adca652db181d1587 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Mon, 5 Aug 2024 19:30:47 -0400 Subject: Wayland migration (first of many) --- .local/bin/dwmbar/dwmb-battery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/dwmbar/dwmb-battery') diff --git a/.local/bin/dwmbar/dwmb-battery b/.local/bin/dwmbar/dwmb-battery index 38673ef..c888fd8 100755 --- a/.local/bin/dwmbar/dwmb-battery +++ b/.local/bin/dwmbar/dwmb-battery @@ -44,4 +44,4 @@ esac [8-9][0-9] | 100) icon=" " ;; esac -printf " %s%s%%" "$icon" "$capacity" +printf '{ "text": "%s%s%%", "class":"block"}\n' "$icon" "$capacity" -- cgit v1.2.3