From 3c0ce4a9fd28aabac40bde8fc67f29e9d3155296 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sun, 18 Feb 2018 20:04:41 +0100 Subject: [PATCH] added shorcut to execute middle mouse button with keyboard --- .config/awesome/rc.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index a2172790..39b2dc83 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -311,6 +311,8 @@ globalkeys = gears.table.join( awful.key({ modkey }, "z", function() awful.util.spawn(editor_cmd .. " " .. os.getenv("HOME") .. "/.zshrc") end), awful.key({ modkey }, "y", function() awful.util.spawn("/usr/bin/thunar") end), + awful.key({ modkey, }, "u", function() awful.util.spawn("/usr/bin/xdotool click 2") end), + --awful.key({ modkey, "Mod1" }, "space", function() awful.util.spawn("/usr/bin/xdotool click 2") end), -- Lock screen awful.key({ modkey, "Shift" }, "Return", function () awful.util.spawn("/usr/bin/slock") end),