Updated alsabar (markdown)

This commit is contained in:
Luke Bonham 2013-09-10 13:28:54 -07:00 committed by copycat-killer
parent cc7173f060
commit a3832b86de
1 changed files with 3 additions and 9 deletions

View File

@ -1,12 +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. Shows and controls alsa volume with a progressbar and provides tooltips, notifications, and color changes at mute/unmute switch.
Dependencies:
- alsa-utils (of course)
Plus tooltips, notifications, and color changes at mute/unmute switch.
myvolumebar = lain.widgets.alsabar() myvolumebar = lain.widgets.alsabar()
@ -48,7 +42,7 @@ Variable | Meaning | Type | Default
It's **crucial** to set `notifications.bar_size` to your `mywibox[s]` height, It's **crucial** to set `notifications.bar_size` to your `mywibox[s]` height,
**if** you have set it different than default (18). **if** you have set it different than default (18).
`lain.widgets.alsabar` outputs the following table: ### output table
Variable | Meaning | Type Variable | Meaning | Type
--- | --- | --- --- | --- | ---
@ -57,7 +51,7 @@ Variable | Meaning | Type
`step` | Increase/decrease step | string `step` | Increase/decrease step | string
`notify` | The notification | function `notify` | The notification | function
Finally, you can control the widget with key bindings like these: You can control the widget with key bindings like these:
-- Volume control -- Volume control
awful.key({ altkey }, "Up", awful.key({ altkey }, "Up",