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