screenshots and readme
This commit is contained in:
parent
64652e0f38
commit
e214e416d3
|
@ -18,6 +18,6 @@ These widgets use [Arc icon theme](https://github.com/horst3180/arc-icon-theme)
|
||||||
|
|
||||||
[Install](https://github.com/horst3180/arc-icon-theme#installation) Arc icon theme and follow installation instructions of each widget.
|
[Install](https://github.com/horst3180/arc-icon-theme#installation) Arc icon theme and follow installation instructions of each widget.
|
||||||
|
|
||||||
In case of any questions/suggestions don't hesitate to contact me, I would be happy to help =)
|
In case of any questions/suggestions don't hesitate to contact me, I would be happy to help :)
|
||||||
|
|
||||||
PRs/issues are welcome!
|
PRs/issues are welcome!
|
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
|
@ -0,0 +1,31 @@
|
||||||
|
# Volume widget
|
||||||
|
|
||||||
|
Simple and easy-to-install widget for Awesome Window Manager.
|
||||||
|
|
||||||
|
This widget represents the sound level: ![Volume Wiget](./vol-wid-1.png)
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
- clone/copy **volume.lua** file;
|
||||||
|
|
||||||
|
- include `volume.lua` and add volume widget to your wibox in rc.lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
require("volume")
|
||||||
|
...
|
||||||
|
s.mytasklist, -- Middle widget
|
||||||
|
{ -- Right widgets
|
||||||
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
...
|
||||||
|
volume_widget,
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
## Control volume
|
||||||
|
|
||||||
|
To be able to control volume level add following lines in shortcut section of the **rc.lua** (the command could be slightly different depending on your pc configuration):
|
||||||
|
|
||||||
|
```lua
|
||||||
|
awful.key({ modkey}, "[", function () awful.spawn("amixer -D pulse sset Master 5%-") end, {description = "increase volume", group = "custom"}),
|
||||||
|
awful.key({ modkey}, "]", function () awful.spawn("amixer -D pulse sset Master 5%+") end, {description = "decrease volume", group = "custom"}),
|
||||||
|
```
|
Binary file not shown.
After Width: | Height: | Size: 817 B |
Loading…
Reference in New Issue