From 19ccfa64eb37541793c16e68ab7c519819d91ba6 Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Thu, 16 Jun 2016 22:33:09 -0700 Subject: [PATCH] Add option for non-verbose battery --- powerlevel9k.zsh-theme | 2 ++ 1 file changed, 2 insertions(+) diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index d5c2c8bb..c4b74c9c 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -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