From c4e0e03552bf09a54046b5a9ce72375f9cd72bb6 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 1 Nov 2021 08:15:41 +0100 Subject: utils: show a notification on changing audio volume --- bindings.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bindings.lua') 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), -- cgit v1.2.3