awesome-wm-widgets/VolumeWidget/README.md

22 lines
550 B
Markdown
Raw Normal View History

2015-07-13 23:07:30 +02:00
## Volume widget
Simple and easy-to-install widget for Awesome Window Manager.
This widget represents the sound level: ![Volume Wiget](./volWid.png)
## Installation
- clone/copy volume.lua file and volume-icons folder to your `~/home/username/.config/awesome/` folder;
2015-07-14 09:04:27 +02:00
- change path to the icons in `volume.lua`:
```
2015-07-14 09:04:53 +02:00
widget:set_image("/home/<username>/.config/awesome/volume-icons/" .. volumeLevel .. ".png")
2015-07-14 09:04:27 +02:00
```
2015-07-13 23:07:30 +02:00
- include `volume.lua` and add volume widget to your wibox in rc.lua:
```
require("volume")
...
right_layout:add(volumeWidget)
```