2017-09-06 20:00:29 +02:00
|
|
|
# Volumebar widget
|
|
|
|
|
|
|
|
Almost the same as volume widget, but more minimalistic:
|
|
|
|
|
2017-09-06 19:55:04 +02:00
|
|
|
![screenshot](out.gif)
|
2017-09-06 20:00:29 +02:00
|
|
|
|
|
|
|
Supports
|
|
|
|
- scroll up - increase volume,
|
|
|
|
- scroll down - decrease volume,
|
|
|
|
- left click - mute/unmute.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
Clone repo, include widget and use it in **rc.lua**:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
require("volumebar")
|
|
|
|
...
|
|
|
|
s.mytasklist, -- Middle widget
|
|
|
|
{ -- Right widgets
|
|
|
|
layout = wibox.layout.fixed.horizontal,
|
|
|
|
...
|
|
|
|
volumebar_widget,
|
|
|
|
...
|
|
|
|
```
|