summaryrefslogtreecommitdiff
path: root/volume-widget/README.md
diff options
context:
space:
mode:
authorAndrew Hill <andrewh.5299@gmail.com>2018-10-31 19:54:48 -0500
committerGitHub <noreply@github.com>2018-10-31 19:54:48 -0500
commit22d3efe071b30bb098cb7257970e10b58b938db3 (patch)
tree18aa1410fcf773fbf864ec1069c2d693c04f0db7 /volume-widget/README.md
parente3362639c2b6a91d95a488de3dab57649116aa21 (diff)
Add back accidentally removed newline
Diffstat (limited to 'volume-widget/README.md')
-rw-r--r--volume-widget/README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/volume-widget/README.md b/volume-widget/README.md
index 1fcc456..118abc6 100644
--- a/volume-widget/README.md
+++ b/volume-widget/README.md
@@ -36,6 +36,7 @@ s.mytasklist, -- Middle widget
To mute/unmute click on the widget. To increase/decrease volume scroll up or down when mouse cursor is over the widget.
If you want to control volume level by keyboard shortcuts add following lines in shortcut section of the **rc.lua** (the commands 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"}),