X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/cbeeb53e91b72faa7ae03fee8f3647060c95062c..f996cdb74e7583534256d82706ef63d2b9811b42:/bat.md diff --git a/bat.md b/bat.md index 27a0d32..6bbb21e 100644 --- a/bat.md +++ b/bat.md @@ -13,15 +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`; +- `perc`; - `time`; - `watt`. +To disable warning notifications, set `notify` to `"off"`. + ### output A textbox. \ No newline at end of file