mirror of https://github.com/lcpz/lain.git
Updated alsabar (markdown)
This commit is contained in:
parent
a8865ef187
commit
09d7ce58c1
|
@ -1,6 +1,6 @@
|
||||||
[<- widgets](https://github.com/copycat-killer/lain/wiki/Widgets)
|
[<- widgets](https://github.com/copycat-killer/lain/wiki/Widgets)
|
||||||
|
|
||||||
Shows and controls alsa volume with a progressbar and provides tooltips, notifications, and color changes at mute/unmute switch.
|
Shows and controls alsa volume with a progressbar; provides tooltips, notifications, and color changes at mute/unmute switch.
|
||||||
|
|
||||||
myvolumebar = lain.widgets.alsabar()
|
myvolumebar = lain.widgets.alsabar()
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ The function takes a table as optional argument, which can contain:
|
||||||
|
|
||||||
Variable | Meaning | Type | Default
|
Variable | Meaning | Type | Default
|
||||||
--- | --- | --- | ---
|
--- | --- | --- | ---
|
||||||
|
`timeout` | Refresh timeout seconds | int | 4
|
||||||
`width` | Bar width | int | 63
|
`width` | Bar width | int | 63
|
||||||
`height` | Bar height | int | 1
|
`height` | Bar height | int | 1
|
||||||
`ticks` | Set bar ticks on | boolean | true
|
`ticks` | Set bar ticks on | boolean | true
|
||||||
|
|
Loading…
Reference in New Issue