X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/72bc5d131a4f85474d95b3b5895085ab521bb47e..36a0534651749f23bf9786ba47912b498938c103:/alsabar.md?ds=inline diff --git a/alsabar.md b/alsabar.md index f694c69..31a7b23 100644 --- a/alsabar.md +++ b/alsabar.md @@ -13,6 +13,7 @@ The function takes a table as optional argument, which can contain: Variable | Meaning | Type | Default --- | --- | --- | --- `timeout` | Refresh timeout seconds | int | 4 +`settings` | User settings | function | empty function `width` | Bar width | int | 63 `height` | Bar height | int | 1 `ticks` | Set bar ticks on | boolean | true @@ -42,6 +43,12 @@ Variable | Meaning | Type | Default It's **crucial** to set `notifications.bar_size` to your `mywibox[s]` height. +`settings` can use the following variables: + +Variable | Meaning | Type | Values +--- | --- | --- | --- +`volume_now.level` | Self explained | int | 0-100 +`volume_now.status` | Device status | string | "on", "off" ### output table Variable | Meaning | Type