mirror of https://github.com/lcpz/lain.git
Updated mem (markdown)
This commit is contained in:
parent
c77e4191ba
commit
bab5d155b0
15
mem.md
15
mem.md
|
@ -10,12 +10,11 @@ contain:
|
||||||
|
|
||||||
Variable | Meaning | Type | Default
|
Variable | Meaning | Type | Default
|
||||||
--- | --- | --- | ---
|
--- | --- | --- | ---
|
||||||
`refresh_timeout` | Refresh timeout seconds | int | 10
|
`timeout` | Refresh timeout seconds | int | 10
|
||||||
`show_swap` | Show amount of used swap space? | boolean | false
|
`settings` | User settings | function | empty function
|
||||||
`show_total` | Show amout of total memory? | boolean | false
|
|
||||||
`header` | Text to show before value | string | " Mem "
|
|
||||||
`header_color` | Header color | string | `beautiful.fg_normal` or "#FFFFFF"
|
|
||||||
`color` | Value color | string | `beautiful.fg_focus` or "#FFFFFF"
|
|
||||||
`footer` | Text to show after value | string | "MB "
|
|
||||||
|
|
||||||
**Note**: `footer` color is `color`.
|
`settings` can use the strings `used` (memory used MB) and `swapused` (swap used MB).
|
||||||
|
|
||||||
|
### output
|
||||||
|
|
||||||
|
A textbox.
|
Loading…
Reference in New Issue