diff options
author | Dan Miller <dnmiller@gmail.com> | 2016-06-17 08:33:09 +0300 |
---|---|---|
committer | Dan Miller <dnmiller@gmail.com> | 2016-06-17 08:33:09 +0300 |
commit | 19ccfa64eb37541793c16e68ab7c519819d91ba6 (patch) | |
tree | d4237787ba201e090f0f831c3c580a03107ae615 | |
parent | cef8c65586c92a6c696b497c0d4ddd6610db203e (diff) |
Add option for non-verbose battery
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 2 insertions, 0 deletions
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 |