summaryrefslogtreecommitdiffhomepage
path: root/samples/Plugins/HelloWorld.hs
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2014-02-04 17:47:08 -0500
committerBen Boeckel <mathstuf@gmail.com>2014-02-04 17:47:08 -0500
commit4b3a516b8444f9bd14d24ed258ce44efe28b0a5a (patch)
tree1c64b07b8a19894751adcd875b799b25bca14cd2 /samples/Plugins/HelloWorld.hs
parente8f9e881d37536954f24d73b29cbccf86341c3d3 (diff)
downloadxmobar-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 'samples/Plugins/HelloWorld.hs')
0 files changed, 0 insertions, 0 deletions