diff options
author | Samuli Thomasson <simsaladin@paivola.fi> | 2014-11-12 09:10:15 +0200 |
---|---|---|
committer | Samuli Thomasson <simsaladin@paivola.fi> | 2014-11-12 22:23:54 +0200 |
commit | 5ca683d08663cf623422dcfd2085db799bf761df (patch) | |
tree | 7818a279a5f873ed670be51fc6ba4e4580beb826 /readme.md | |
parent | 715af1288cf61d643f8267c734338265a6ba516b (diff) | |
download | xmobar-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 'readme.md')
-rw-r--r-- | readme.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -768,10 +768,12 @@ something like: - Args: default monitor arguments, plus: - `--used-icon-pattern`: dynamic string for used memory ratio in `usedipat`. - `--free-icon-pattern`: dynamic string for free memory ratio in `freeipat`. + - `--available-icon-pattern`: dynamic string for available memory ratio in `availableipat`. - Variables that can be used with the `-t`/`--template` argument: - `total`, `free`, `buffer`, `cache`, `rest`, `used`, + `total`, `free`, `buffer`, `cache`, `available`, `used`, `usedratio`, `usedbar`, `usedvbar`, `usedipat`, - `freeratio`, `freebar`, `freevbar`, `freeipat` + `freeratio`, `freebar`, `freevbar`, `freeipat`, + `availableratio`, `availablebar`, `availablevbar`, `availableipat` - Default template: `Mem: <usedratio>% (<cache>M)` ### `Swap Args RefreshRate` |