Skip to content

Awesome WM manual tiling extension. It's simular to Aero Snap in windows and Grid plugin in Compiz

License

Notifications You must be signed in to change notification settings

zarkone/hand-tiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Awesome WM manual tiling

Awesome WM manual tiling extension. It’s simular to Aero Snap in windows and Grid plugin in Compiz. Works only when “float” layout is active.

Install

Download module to awesome wm configuration directory:

cd ~/.config/awesome/
git clone [email protected]:zarkone/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.tileTo(c, 'left')         end),
    awful.key({ modkey,           },  "]",     function (c) handTiler.tileTo(c, 'right')        end),
    awful.key({ modkey, "Control" },  "[",     function (c) handTiler.tileTo(c, 'left-top')     end),
    awful.key({ modkey, "Shift"   },  "[",     function (c) handTiler.tileTo(c, 'left-bottom')  end),
    awful.key({ modkey, "Control" },  "]",     function (c) handTiler.tileTo(c, 'right-top')    end),
    awful.key({ modkey,  "Shift"  },  "]",     function (c) handTiler.tileTo(c, 'right-bottom') end),
    
    awful.key({ modkey, "Control", "Shift" },   "[",     function (c) handTiler.tileTo(c, 'top')    end),
    awful.key({ modkey, "Control", "Shift"  },  "]",     function (c) handTiler.tileTo(c, 'bottom') end),

    awful.key({ modkey,           },  "'",     function (c) handTiler.tileTo(c, 'full')         end),
    -- ...

)

About

Awesome WM manual tiling extension. It's simular to Aero Snap in windows and Grid plugin in Compiz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages