awesome-wm-widgets/_widgets/volumebar-widget.md

33 lines
755 B
Markdown
Raw Normal View History

2018-09-15 23:33:42 +02:00
---
layout: page
---
# Volumebar widget
Almost the same as volume widget, but more minimalistic:
2018-09-20 01:59:07 +02:00
![screenshot]({{'/assets/img/screenshots/volumebar-widget.gif' | relative_url }})
2018-09-15 23:33:42 +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,
...
```
## Troubleshooting
If the bar is not showing up, try to decrease top or bottom margin - widget uses hardcoded margins for vertical alignment, so if your wibox is too small then bar is simply hidden by the margins.