mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
add ram and load
This commit is contained in:
parent
eb58f05621
commit
71c6843cb4
2 changed files with 40 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
@ -436,6 +438,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
|
||||
|
|
Loading…
Reference in a new issue