Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
d6474237
Commit
d6474237
authored
Apr 05, 2020
by
Marc Cornellà
Browse files
battery: revert battery charging symbol 1-character-width hack
Fixes #8804
parent
0caae908
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/battery/battery.plugin.zsh
View file @
d6474237
...
@@ -175,7 +175,7 @@ function battery_level_gauge() {
...
@@ -175,7 +175,7 @@ function battery_level_gauge() {
local
filled_symbol
=
${
BATTERY_GAUGE_FILLED_SYMBOL
:-
'▶'
}
local
filled_symbol
=
${
BATTERY_GAUGE_FILLED_SYMBOL
:-
'▶'
}
local
empty_symbol
=
${
BATTERY_GAUGE_EMPTY_SYMBOL
:-
'▷'
}
local
empty_symbol
=
${
BATTERY_GAUGE_EMPTY_SYMBOL
:-
'▷'
}
local
charging_color
=
${
BATTERY_CHARGING_COLOR
:-
$color_yellow
}
local
charging_color
=
${
BATTERY_CHARGING_COLOR
:-
$color_yellow
}
local
charging_symbol
=
${
BATTERY_CHARGING_SYMBOL
:-
'
%{%G⚡%}
'
}
local
charging_symbol
=
${
BATTERY_CHARGING_SYMBOL
:-
'
⚡
'
}
local
battery_remaining_percentage
=
$(
battery_pct
)
local
battery_remaining_percentage
=
$(
battery_pct
)
local
filled empty gauge_color
local
filled empty gauge_color
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment