From f2a8fe47628388d5dd13524ba2a1f20eb32988ec Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 13 Oct 2019 17:30:14 +0200 Subject: [PATCH] add logitech shortcut --- awesome/.config/awesome/rc.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 1f68ba1..97d5a45 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -422,8 +422,18 @@ globalkeys = gears.table.join( awful.key({ }, "XF86AudioPlay", function () awful.spawn("mpc toggle") end), awful.key({ }, "XF86AudioStop", function () awful.spawn("mpc stop") end), awful.key({ }, "XF86AudioNext", function () awful.spawn("mpc next") end), - awful.key({ }, "XF86AudioPrev", function () awful.spawn("mpc prev") end) - + awful.key({ }, "XF86AudioPrev", function () awful.spawn("mpc prev") end), + --application hotkeys (logitech keyboard g710+) + awful.key({ }, "XF86LaunchA", function () awful.spawn(terminal) end, + {description = "open a terminal", group = "launcher"}), + awful.key({ }, "XF86Launch9", function () awful.spawn("keepassxc") end, + {description = "open keepass", group = "launcher"}), + + awful.key({ }, "XF86Launch8", function () awful.spawn("firefox") end, + {description = "open a Firefox", group = "launcher"}), + + awful.key({ }, "XF86Launch7", function () awful.spawn("code") end, + {description = "open VScode", group = "launcher"}) ) clientkeys = gears.table.join(