X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/87af954c99c654d8f405819ef9e1b1ea6a563eea..291910cdb61718058e81d938fb6dc1da7cc9cfff:/bat.md diff --git a/bat.md b/bat.md index 1f8bf1f..6bbb21e 100644 --- a/bat.md +++ b/bat.md @@ -13,8 +13,18 @@ Variable | Meaning | Type | Default --- | --- | --- | --- `timeout` | Refresh timeout seconds | int | 30 `battery` | Identifier of the battery | string | "BAT0" +`notify` | Enable notifications | string | "on" `settings` | User settings | function | empty function +`settings` can use the `bat_now` table, which contains the following strings: + +- `status` ("Not present", "Charging", "Discharging"); +- `perc`; +- `time`; +- `watt`. + +To disable warning notifications, set `notify` to `"off"`. + ### output A textbox. \ No newline at end of file