summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/statusbar2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/statusbar b/bin/statusbar
index 7387bc5..f08db3e 100755
--- a/bin/statusbar
+++ b/bin/statusbar
@@ -47,7 +47,7 @@ def battery():
status = file.read().strip()
symbol = '󰁹'
- index = (capacity - 1) // 10 + 1
+ index = (capacity - 1) // 10
if status == 'Discharging':
symbol = [
span('#ed8796', '󰂃'), '󰁻', '󰁼', '󰁽', '󰁾', '󰁿', '󰂀', '󰂁', '󰂂', '󰁹'