mirror of https://github.com/lcpz/lain.git
Updated bat (markdown)
This commit is contained in:
parent
780ce12033
commit
ac4b4d5d55
4
bat.md
4
bat.md
|
@ -13,7 +13,7 @@ Variable | Meaning | Type | Default
|
||||||
--- | --- | --- | ---
|
--- | --- | --- | ---
|
||||||
`timeout` | Refresh timeout seconds | int | 30
|
`timeout` | Refresh timeout seconds | int | 30
|
||||||
`battery` | Identifier of the battery | string | "BAT0"
|
`battery` | Identifier of the battery | string | "BAT0"
|
||||||
`notify` | Enable notifications | boolean | true
|
`notify` | Enable notifications | string | "on"
|
||||||
`settings` | User settings | function | empty function
|
`settings` | User settings | function | empty function
|
||||||
|
|
||||||
`settings` can use the `bat_now` table, which contains the following strings:
|
`settings` can use the `bat_now` table, which contains the following strings:
|
||||||
|
@ -23,6 +23,8 @@ Variable | Meaning | Type | Default
|
||||||
- `time`;
|
- `time`;
|
||||||
- `watt`.
|
- `watt`.
|
||||||
|
|
||||||
|
To disable warning notifications, set `notify` to `off`.
|
||||||
|
|
||||||
### output
|
### output
|
||||||
|
|
||||||
A textbox.
|
A textbox.
|
Loading…
Reference in New Issue