diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2023-07-19 11:50:01 -0400 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2023-07-19 11:52:52 -0400 |
| commit | 74805789cd1c1c6aa4f8233cfd4c03d8dc3033fe (patch) | |
| tree | 3861943964d0d2318b94bef91f706eca7389ce48 /bin/statusbar | |
| parent | 89cb92131be595adf56d7b950711dcfcf8792070 (diff) | |
statusbar: fix battery section
Diffstat (limited to 'bin/statusbar')
| -rwxr-xr-x | bin/statusbar | 2 |
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', ''), '', '', '', '', '', '', '', '', '' |
