summaryrefslogtreecommitdiff
path: root/bindings.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bindings.lua')
-rw-r--r--bindings.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings.lua b/bindings.lua
index ed45435..7dffbe1 100644
--- a/bindings.lua
+++ b/bindings.lua
@@ -32,8 +32,8 @@ function M.create(workspace)
awful.key({ modkey, }, "Escape", function () utils.spawn_current(commondefs.terminal .. " -e htop") end),
-- audio control
- awful.key({ modkey }, "Prior", function () utils.vol_control(1) end),
- awful.key({ modkey }, "Next", function () utils.vol_control(-1) end),
+ awful.key({ modkey }, "Prior", function () utils.vol_control(workspace, 1) end),
+ awful.key({ modkey }, "Next", function () utils.vol_control(workspace, -1) end),
awful.key({ modkey }, "End", function () utils.vol_mute_toggle(workspace) end),
awful.key({ modkey }, "Delete", function () utils.auto_mute_toggle(workspace) end),
awful.key({ modkey }, "grave", function () awful.spawn("mpc toggle") end),