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:
Dario Vladović
2021-04-03 13:10:45 +02:00
committed by GitHub
parent dbb6885724
commit e19f79bfd3
2 changed files with 13 additions and 13 deletions
+5 -5
View File
@@ -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,