add load theshold

This commit is contained in:
Klas Mellbourn 2021-04-03 20:06:05 +02:00
commit cf7324e7be
No known key found for this signature in database
GPG key ID: 9421003411C7A828
5 changed files with 9 additions and 1 deletions

View file

@ -761,6 +761,8 @@
######################################[ 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
# don't show load below this threshold percentage
typeset -g POWERLEVEL9K_LOAD_THRESHOLD=40
# Load color when load is under 50%.
typeset -g POWERLEVEL9K_LOAD_NORMAL_FOREGROUND=2
# Load color when load is between 50% and 70%.