]> git.sur5r.net Git - i3/i3status/commit
disk: Colorize output when below given threshold
authorMats <d912e3@gmail.com>
Fri, 7 Mar 2014 23:24:42 +0000 (00:24 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 9 Mar 2014 21:57:19 +0000 (22:57 +0100)
commitbc0bd8c9e03d92ab133f4dfae52dc202c3e0cbf6
tree61eebe406b1a1978d1fb3d1e84706ab2daaba48e
parent1de12e7b20e7ce38e2777218f1d922b3255599e1
disk: Colorize output when below given threshold

New disk module options:
* threshold_type: ^(percentage|[kmgt]?bytes)_(free|avail)$
* low_threshold: <double>

fixes #912
i3status.c
include/i3status.h
man/i3status.man
src/print_disk_info.c