Merge branch 'noverbose-battery' of https://github.com/dnmiller/powerlevel9k into nonverbose-battery
This commit is contained in:
commit
96731951be
2 changed files with 3 additions and 0 deletions
|
@ -420,6 +420,8 @@ prompt_battery() {
|
|||
set_default POWERLEVEL9K_BATTERY_VERBOSE true
|
||||
if [[ "$POWERLEVEL9K_BATTERY_VERBOSE" == true ]]; then
|
||||
message="$bat_percent%%$remain"
|
||||
else
|
||||
message="$bat_percent%%"
|
||||
fi
|
||||
|
||||
# Draw the prompt_segment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue