diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-08-29 19:36:36 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-08-29 19:36:36 +0300 |
commit | 71c6843cb47fec88baec15bdbd633b47368a4f7e (patch) | |
tree | 5eadee19539b15686df2095c256d474a3cb7bc83 /config/p10k-classic.zsh | |
parent | eb58f0562108595e89cf8857582b34d955fcfd76 (diff) |
add ram and load
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r-- | config/p10k-classic.zsh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index ad3b14f1..325bcad3 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -61,6 +61,8 @@ fi context # user@host nordvpn # nordvpn connection status, linux only (https://nordvpn.com/) ranger # ranger shell (https://github.com/ranger/ranger) + # ram # free RAM + # load # CPU load # time # current time # =========================[ Line #2 ]========================= newline @@ -453,6 +455,24 @@ fi # Custom icon. # typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION='⭐' + ######################################[ ram: free RAM ]####################################### + # RAM color. + typeset -g POWERLEVEL9K_RAM_FOREGROUND=66 + # Custom icon. + # typeset -g POWERLEVEL9K_RAM_VISUAL_IDENTIFIER_EXPANSION='⭐' + + ######################################[ load: CPU load ]###################################### + # Show average CPU load over this many last minutes. Valid values are 1, 5 and 15. + typeset -g POWERLEVEL9K_LOAD_WHICH=5 + # Load color when load is under 50%. + typeset -g POWERLEVEL9K_LOAD_NORMAL_FOREGROUND=66 + # Load color when load is between 50% and 70%. + typeset -g POWERLEVEL9K_LOAD_WARNING_FOREGROUND=178 + # Load color when load is over 70%. + typeset -g POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND=166 + # Custom icon. + # typeset -g POWERLEVEL9K_LOAD_VISUAL_IDENTIFIER_EXPANSION='⭐' + ####################################[ context: user@host ]#################################### # Default context color. typeset -g POWERLEVEL9K_CONTEXT_FOREGROUND=180 |