mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-14 17:12:58 +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