summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorMark Schreiber <mark7@alumni.cmu.edu>2016-04-13 09:07:12 -0700
committerMark Schreiber <mark7@alumni.cmu.edu>2016-04-13 09:11:32 -0700
commit1e8dab273d8542366c098dfcda37756db6b2bcd7 (patch)
tree4c9fbbee9124a01a080c6b6ff635d8a5d5304093 /.clang-format
parentc094f47b457104c267dd55782efc34c47f05cf9d (diff)
Add CPU usage color thresholds
CPU usage had previously not supported the color option. Add support for a "degraded" state above which the degraded color is used, and a higher "bad" state above which the "bad" color is used. One possible use for these might be indicating whether one or all cores are saturated. Unlike the color settings for other, these are set high enough to be disabled by default. This is done because i3status determines CPU usage over only the last display interval, which means that, a user with a low refresh rate might see frequent, potentially-annoying color changes.
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions