summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Hill <andrewh.5299@gmail.com>2018-10-31 19:53:49 -0500
committerGitHub <noreply@github.com>2018-10-31 19:53:49 -0500
commite3362639c2b6a91d95a488de3dab57649116aa21 (patch)
treec3d7a68b8970dbe88ec8b2c9978d4cebf197e7b2
parent472d03be0ed8edce149dc5e5cfbec595ddaa9b37 (diff)
Fix flipped volume commands
The reduce and increase volume commands were flipped
-rw-r--r--volume-widget/README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/volume-widget/README.md b/volume-widget/README.md
index 19946a2..1fcc456 100644
--- a/volume-widget/README.md
+++ b/volume-widget/README.md
@@ -36,9 +36,8 @@ 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"}),
+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"}),
awful.key({ modkey}, "\", function () awful.spawn("amixer -D pulse set Master +1 toggle") end, {description = "mute volume", group = "custom"}),
```