mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-02 05:04:19 +01:00
fix(bar): fmt battery percentage without decimals
This commit is contained in:
1 parent
45894be4ff
commit
286bb0070c
1 file changed
+1
-1
@@ -86,7 +86,7 @@ impl Battery {
|
||||
_ => {}
|
||||
}
|
||||
|
||||
output = format!("{percentage}%");
|
||||
output = format!("{percentage:.0}%");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user