summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors/Common.hs
diff options
context:
space:
mode:
authorSamuli Thomasson <simsaladin@paivola.fi>2014-11-12 09:10:15 +0200
committerSamuli Thomasson <simsaladin@paivola.fi>2014-11-12 22:23:54 +0200
commit5ca683d08663cf623422dcfd2085db799bf761df (patch)
tree7818a279a5f873ed670be51fc6ba4e4580beb826 /src/Plugins/Monitors/Common.hs
parent715af1288cf61d643f8267c734338265a6ba516b (diff)
downloadxmobar-5ca683d08663cf623422dcfd2085db799bf761df.tar.gz
xmobar-5ca683d08663cf623422dcfd2085db799bf761df.tar.bz2
Introduce available memory variables in memory monitor
Available memory is determined from meminfo's `MemAvailable:` on 3.14 and newer, and falls back to `free + buffer + cache` on older systems. Introduces new variables `<available{,ratio,bar,vbar,ipat}>`.
Diffstat (limited to 'src/Plugins/Monitors/Common.hs')
0 files changed, 0 insertions, 0 deletions