summaryrefslogtreecommitdiff
path: root/volume-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2018-11-01 09:43:17 -0400
committerGitHub <noreply@github.com>2018-11-01 09:43:17 -0400
commitf63cfbc96b6a796f35b7b6dc41054b9136084543 (patch)
tree18aa1410fcf773fbf864ec1069c2d693c04f0db7 /volume-widget
parent472d03be0ed8edce149dc5e5cfbec595ddaa9b37 (diff)
parent22d3efe071b30bb098cb7257970e10b58b938db3 (diff)
Merge pull request #54 from astroengisci/master
Fix flipped volume commands
Diffstat (limited to 'volume-widget')
-rw-r--r--volume-widget/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/volume-widget/README.md b/volume-widget/README.md
index 19946a2..118abc6 100644
--- a/volume-widget/README.md
+++ b/volume-widget/README.md
@@ -38,7 +38,7 @@ To mute/unmute click on the widget. To increase/decrease volume scroll up or dow
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"}),
```