battery pictogram
This commit is contained in:
parent
36d8c0d409
commit
30a09fd640
14
.p10k.zsh
14
.p10k.zsh
|
|
@ -229,6 +229,20 @@ fi
|
|||
typeset -g POWERLEVEL9K_{ETC,FOLDER,HOME,HOME_SUB,LOCK}_ICON=
|
||||
typeset -g POWERLEVEL9K_DIR_HYPERLINK=false
|
||||
|
||||
# Show battery in red when it's below this level and not connected to power supply.
|
||||
typeset -g POWERLEVEL9K_BATTERY_LOW_THRESHOLD=20
|
||||
typeset -g POWERLEVEL9K_BATTERY_LOW_FOREGROUND=1
|
||||
# Show battery in green when it's charging.
|
||||
typeset -g POWERLEVEL9K_BATTERY_CHARGING_FOREGROUND=2
|
||||
# Show battery in yellow when not connected to power supply.
|
||||
typeset -g POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND=3
|
||||
# Battery pictograms going from low to high level of charge.
|
||||
typeset -g POWERLEVEL9K_BATTERY_STAGES='▁▂▃▄▅▆▇'
|
||||
# Display battery pictogram on black background.
|
||||
typeset -g POWERLEVEL9K_BATTERY_VISUAL_IDENTIFIER_EXPANSION='%0K${P9K_VISUAL_IDENTIFIER}%k'
|
||||
# Don't show battery when it's fully charged and connected to power supply.
|
||||
typeset -g POWERLEVEL9K_BATTERY_CHARGED_{CONTENT,VISUAL_IDENTIFIER}_EXPANSION=
|
||||
# Don't show the remaining time to charge/discharge.
|
||||
typeset -g POWERLEVEL9K_BATTERY_VERBOSE=false
|
||||
|
||||
typeset -g POWERLEVEL9K_VCS_{CLEAN,UNTRACKED,MODIFIED,LOADING}_BACKGROUND=none
|
||||
|
|
|
|||
Loading…
Reference in New Issue