From 43470e3b516b49e7bdb7559e9ed0af0809d16212 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 26 Oct 2021 21:05:31 +0200 Subject: bindings: add a binding for toggling auto-mute --- bindings.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'bindings.lua') diff --git a/bindings.lua b/bindings.lua index 8aa9d48..ebaf864 100644 --- a/bindings.lua +++ b/bindings.lua @@ -35,6 +35,7 @@ function M.create(workspace) awful.key({ modkey }, "Prior", function () utils.vol_control(1) end), awful.key({ modkey }, "Next", function () utils.vol_control(-1) end), awful.key({ modkey }, "End", utils.vol_mute_toggle), + awful.key({ modkey }, "Delete", function () utils.auto_mute_toggle(workspace.notify_tbl, 'auto_mute') end), awful.key({ modkey }, "grave", function () awful.spawn("mpc toggle") end), awful.key({ modkey }, "b", function () awful.spawn("mpc next") end), awful.key({ modkey }, "p", function () awful.spawn("mpc prev") end), -- cgit v1.2.3