summaryrefslogtreecommitdiff
path: root/.config/eww/scripts/battery
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-28 03:42:18 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-28 03:42:18 +0200
commit617a57a0bbf3784eb20fc2930ffaf46f2251b5a5 (patch)
treebb26ac5158341398b16e3558738034da04e2a3d8 /.config/eww/scripts/battery
parented0694196c3571879f9ebc80357a70e76bf41b68 (diff)
eww: Add percentage symbol after battery capacity
Diffstat (limited to '.config/eww/scripts/battery')
-rwxr-xr-x.config/eww/scripts/battery2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/eww/scripts/battery b/.config/eww/scripts/battery
index baeaa45..600dfb3 100755
--- a/.config/eww/scripts/battery
+++ b/.config/eww/scripts/battery
@@ -24,7 +24,7 @@ then
fi
{
- printf 'percentage=%s\nicon=' $cap
+ printf 'percentage=%s%%\nicon=' $cap
if [ $status = Charging ]; then
echo "󰂄"
elif [ $cap -ge 90 ]; then