jaor/xmobar — pull request #203 by SimSaladin (2014-11-12 08:35:08+00:00)
Title: Introduce available memory variables in memory monitor

This introduces new variables `` to the `Memory` monitor.

Also refactors internal `formatMem` to be less intimidating.

Available memory is determined from meminfo's `MemAvailable:` on 3.14 and
newer, and falls back to `free + buffer + cache` on older systems.