mirror of
https://github.com/romkatv/powerlevel10k
synced 2025-02-22 05:56:54 +00:00
Add option for non-verbose battery
This commit is contained in:
parent
cef8c65586
commit
19ccfa64eb
@ -419,6 +419,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…
Reference in New Issue
Block a user