diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2014-02-04 17:47:08 -0500 |
---|---|---|
committer | Ben Boeckel <mathstuf@gmail.com> | 2014-02-04 17:47:08 -0500 |
commit | 4b3a516b8444f9bd14d24ed258ce44efe28b0a5a (patch) | |
tree | 1c64b07b8a19894751adcd875b799b25bca14cd2 /src/XUtil.hsc | |
parent | e8f9e881d37536954f24d73b29cbccf86341c3d3 (diff) | |
download | xmobar-4b3a516b8444f9bd14d24ed258ce44efe28b0a5a.tar.gz xmobar-4b3a516b8444f9bd14d24ed258ce44efe28b0a5a.tar.bz2 |
Parse out fields from /proc/meminfo
Newer kernels have changed the order of the lines in the /proc/meminfo
find (MemAvailable is now line 3). To support this and older kernels,
use the key from the map when getting data from it rather than static
line numbers.
Diffstat (limited to 'src/XUtil.hsc')
0 files changed, 0 insertions, 0 deletions