diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-11-01 08:15:41 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-11-01 08:15:41 +0100 |
commit | c4e0e03552bf09a54046b5a9ce72375f9cd72bb6 (patch) | |
tree | 16ecceffabf78367a0e69427290d70c20761c692 /bindings.lua | |
parent | 5f2d4fb9b21aab9ba8d893fec8eae8874737c16c (diff) |
utils: show a notification on changing audio volume
Diffstat (limited to 'bindings.lua')
-rw-r--r-- | bindings.lua | 4 |
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), |