23d7d53fca
Quite a lot of modules use the "if higher X -> critical, if higher Y -> warning" idiom now, so extracted that into a common function for reuse. see #23 |
||
---|---|---|
.. | ||
__init__.py | ||
battery.py | ||
brightness.py | ||
caffeine.py | ||
cmus.py | ||
cpu.py | ||
datetime.py | ||
disk.py | ||
load.py | ||
memory.py | ||
nic.py | ||
spacer.py | ||
test.py |