Hi!
If you like (as myself) use more the keyboard and less the mouse, Awesome
it's great...
Some implementations as Rodentbane or little applications as xdotool can
help even a little more.

Thats my rc.lua (v3.5.5) to do that... Maybe do you think it's better do
the same in another way?

-- {{{ MOVE MOUSE
local leapV = 25
local leapH = 1
local function moveMouse(nx, ny)
        mouse.coords({ x = mouse.coords()["x"] + nx, y =
mouse.coords()["y"] + ny })
end
-- {{{ MOVE MOUSE

--- in global_keys
     -- Bind to move the mouse
    awful.key({ modkey,         }, "Return", function ()
awful.util.spawn_with_shell("sleep 1 && xdotool click 1") end),
    awful.key({ modkey, "Shift" }, "Up", function() moveMouse(0, -leapV)
end),
    awful.key({ modkey, "Shift" }, "Down", function() moveMouse(0, leapV)
end),
    awful.key({ modkey, "Shift" }, "Left", function() moveMouse(-leapV,
leapH) end),
    awful.key({ modkey, "Shift" }, "Right", function() moveMouse(leapV,
leapH) end),

Reply via email to