mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-29 08:14:42 +00:00
By default: set verbose mode on.
This commit is contained in:
@@ -291,6 +291,8 @@ prompt_battery() {
|
|||||||
|
|
||||||
# prepare string
|
# prepare string
|
||||||
local message="$(print_icon 'BATTERY_ICON')"
|
local message="$(print_icon 'BATTERY_ICON')"
|
||||||
|
# Default behavior: Be verbose!
|
||||||
|
set_default POWERLEVEL9K_BATTERY_VERBOSE true
|
||||||
if [[ "$POWERLEVEL9K_BATTERY_VERBOSE" == true ]]; then
|
if [[ "$POWERLEVEL9K_BATTERY_VERBOSE" == true ]]; then
|
||||||
message="$message $bat_percent%%$remain"
|
message="$message $bat_percent%%$remain"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user