mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-17 22:39:46 +02:00
fix(bar): fmt battery percentage without decimals
This commit is contained in:
@@ -86,7 +86,7 @@ impl Battery {
|
||||
_ => {}
|
||||
}
|
||||
|
||||
output = format!("{percentage}%");
|
||||
output = format!("{percentage:.0}%");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user