mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
style(battery): add space between icon and text for better visual (#2547)
* style(battery): add space between icon and text for better visual * docs(battery): update docs Co-authored-by: LitoMore <litomore@gmail.com>
This commit is contained in:
@@ -18,11 +18,11 @@ pub struct BatteryConfig<'a> {
|
||||
impl<'a> Default for BatteryConfig<'a> {
|
||||
fn default() -> Self {
|
||||
BatteryConfig {
|
||||
full_symbol: "",
|
||||
charging_symbol: "",
|
||||
discharging_symbol: "",
|
||||
unknown_symbol: "",
|
||||
empty_symbol: "",
|
||||
full_symbol: " ",
|
||||
charging_symbol: " ",
|
||||
discharging_symbol: " ",
|
||||
unknown_symbol: " ",
|
||||
empty_symbol: " ",
|
||||
format: "[$symbol$percentage]($style) ",
|
||||
display: vec![BatteryDisplayConfig {
|
||||
threshold: 10,
|
||||
|
||||
Reference in New Issue
Block a user