X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/bab5d155b029d5a42bfa695d66f7e1e098d00da7..e41f4ab4f999bb15d72c509a1a603f5994b2ffd0:/mem.md?ds=sidebyside diff --git a/mem.md b/mem.md index 067dc25..84b7ad2 100644 --- a/mem.md +++ b/mem.md @@ -4,16 +4,14 @@ Shows memory status (in MiB) in a textbox. mymem = lain.widgets.mem() - -The function takes a table as an optional argument. That table may -contain: +### input table Variable | Meaning | Type | Default --- | --- | --- | --- -`timeout` | Refresh timeout seconds | int | 10 +`timeout` | Refresh timeout seconds | int | 3 `settings` | User settings | function | empty function -`settings` can use the strings `used` (memory used MB) and `swapused` (swap used MB). +`settings` can use the strings `mem_now.used` (memory used MB) and `mem_now.swapused` (swap used MB). ### output