summaryrefslogtreecommitdiffhomepage
path: root/readme.md
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 /readme.md
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 'readme.md')
-rw-r--r--readme.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index 074f9bc..4cdc571 100644
--- a/readme.md
+++ b/readme.md
@@ -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`