X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/1a26a10e7e2b66b17e85971da613c55dbd0229a0..d2ec840058a6de4eaafe57fe66953ede542815e6:/bat.md diff --git a/bat.md b/bat.md index ec10057..6bbb21e 100644 --- a/bat.md +++ b/bat.md @@ -13,9 +13,17 @@ 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`, `perc`, `time`, `watt`. +`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