/hand-tiler

Awesome WM teleport extension

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

Awesome WM teleport

Awesome WM teleport extension.
Works only when “float” layout is active.

Install

Download module to awesome wm configuration directory:

cd ~/.config/awesome/
git clone https://github.com/GabbaGandalf/hand-tiler.git
$EDITOR rc.lua

Edit rc.lua as follows:

-- Load module 
handTiler = require("hand-tiler")

-- Add key definitions in client keys array
clientkeys = awful.util.table.join(

    -- ...
    	awful.key({ modkey},  "[",     function (c) handTiler.tp(c, 'right-top')    end),
    awful.key({ modkey },  "p",     function (c) handTiler.tp(c, 'left-top')     end),
    awful.key({ modkey },  ";",     function (c) handTiler.tp(c, 'left-bottom')  end),
    awful.key({ modkey},  "'",     function (c) handTiler.tp(c, 'right-bottom') end),
    awful.key({ modkey,"Shift"},   "'",     function (c) handTiler.tp(c, 'middle')    end),
    awful.key({ modkey, "Shift"},   ";",     function (c) handTiler.tp(c, 'left-middle')    end),
    awful.key({ modkey, "Shift"},   "\\",     function (c) handTiler.tp(c, 'right-middle')    end),

    -- ...

)