diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-08-05 19:30:47 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-08-05 19:30:47 -0400 |
commit | 9ebf91e892cbafbf03d09f3adca652db181d1587 (patch) | |
tree | 299f0a362d3ad0f7be8757c7b3cbd2ee715b65cc /.local/bin/dwmbar/dwmb-battery | |
parent | da5ef3b9e22e11192279f0becaa0c8c35b7ff929 (diff) |
Wayland migration (first of many)
Diffstat (limited to '.local/bin/dwmbar/dwmb-battery')
-rwxr-xr-x | .local/bin/dwmbar/dwmb-battery | 2 |
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" |