summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-battery
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dwmbar/dwmb-battery')
-rwxr-xr-x.local/bin/dwmbar/dwmb-battery2
1 files changed, 1 insertions, 1 deletions
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"