summaryrefslogtreecommitdiffhomepage
path: root/src/Localize.hsc
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2014-02-04 22:49:33 -0500
committerBen Boeckel <mathstuf@gmail.com>2014-02-04 22:52:46 -0500
commit70fe560d6e66c6f5a44511f70d06977cde32215b (patch)
tree33591cf07014311db88f99f73c3145e84ce2c8b4 /src/Localize.hsc
parent8b72489b273edcd69be69b8693bc3eccfeb4404c (diff)
downloadxmobar-70fe560d6e66c6f5a44511f70d06977cde32215b.tar.gz
xmobar-70fe560d6e66c6f5a44511f70d06977cde32215b.tar.bz2
Use MemAvailable from meminfo if possible
Use the functionality from newer kernels if available. Basically, the free+buffer+cache metric is a massive hack and not accurate anyways (e.g., not all cache can be swapped out and kernel accounting can change whenever). Kernels 3.14 and newer have MemAvailable in meminfo which is more accurate; use it if possible.
Diffstat (limited to 'src/Localize.hsc')
0 files changed, 0 insertions, 0 deletions