diff --git a/rc.lua.blackburn b/rc.lua.blackburn index 699a54f..809463f 100644 --- a/rc.lua.blackburn +++ b/rc.lua.blackburn @@ -488,7 +488,15 @@ globalkeys = awful.util.table.join( mypromptbox[mouse.screen].widget, awful.util.eval, nil, awful.util.getdir("cache") .. "/history_eval") - end) + end), + + --move and resize window + awful.key({ modkey, "Control" }, "Down", function () awful.client.moveresize( 0, 20, 0, 0) end), + awful.key({ modkey, "Control" }, "Up", function () awful.client.moveresize( 0, -20, 0, 0) end), + awful.key({ modkey, "Control" }, "Left", function () awful.client.moveresize(-20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Right", function () awful.client.moveresize( 20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Next", function () awful.client.moveresize( 20, 20, -40, -40) end), + awful.key({ modkey, "Control" }, "Prior", function () awful.client.moveresize(-20, -20, 40, 40) end) ) clientkeys = awful.util.table.join( diff --git a/rc.lua.copland b/rc.lua.copland index dcf3db6..83bb06a 100644 --- a/rc.lua.copland +++ b/rc.lua.copland @@ -541,7 +541,15 @@ globalkeys = awful.util.table.join( mypromptbox[mouse.screen].widget, awful.util.eval, nil, awful.util.getdir("cache") .. "/history_eval") - end) + end), + + --move and resize window + awful.key({ modkey, "Control" }, "Down", function () awful.client.moveresize( 0, 20, 0, 0) end), + awful.key({ modkey, "Control" }, "Up", function () awful.client.moveresize( 0, -20, 0, 0) end), + awful.key({ modkey, "Control" }, "Left", function () awful.client.moveresize(-20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Right", function () awful.client.moveresize( 20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Next", function () awful.client.moveresize( 20, 20, -40, -40) end), + awful.key({ modkey, "Control" }, "Prior", function () awful.client.moveresize(-20, -20, 40, 40) end) ) clientkeys = awful.util.table.join( diff --git a/rc.lua.dremora b/rc.lua.dremora index ff7daed..12dbff5 100644 --- a/rc.lua.dremora +++ b/rc.lua.dremora @@ -488,7 +488,15 @@ globalkeys = awful.util.table.join( mypromptbox[mouse.screen].widget, awful.util.eval, nil, awful.util.getdir("cache") .. "/history_eval") - end) + end), + + --move and resize window + awful.key({ modkey, "Control" }, "Down", function () awful.client.moveresize( 0, 20, 0, 0) end), + awful.key({ modkey, "Control" }, "Up", function () awful.client.moveresize( 0, -20, 0, 0) end), + awful.key({ modkey, "Control" }, "Left", function () awful.client.moveresize(-20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Right", function () awful.client.moveresize( 20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Next", function () awful.client.moveresize( 20, 20, -40, -40) end), + awful.key({ modkey, "Control" }, "Prior", function () awful.client.moveresize(-20, -20, 40, 40) end) ) clientkeys = awful.util.table.join( diff --git a/rc.lua.holo b/rc.lua.holo index 8594453..a8b524a 100644 --- a/rc.lua.holo +++ b/rc.lua.holo @@ -623,7 +623,15 @@ globalkeys = awful.util.table.join( mypromptbox[mouse.screen].widget, awful.util.eval, nil, awful.util.getdir("cache") .. "/history_eval") - end) + end), + + --move and resize window + awful.key({ modkey, "Control" }, "Down", function () awful.client.moveresize( 0, 20, 0, 0) end), + awful.key({ modkey, "Control" }, "Up", function () awful.client.moveresize( 0, -20, 0, 0) end), + awful.key({ modkey, "Control" }, "Left", function () awful.client.moveresize(-20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Right", function () awful.client.moveresize( 20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Next", function () awful.client.moveresize( 20, 20, -40, -40) end), + awful.key({ modkey, "Control" }, "Prior", function () awful.client.moveresize(-20, -20, 40, 40) end) ) clientkeys = awful.util.table.join( diff --git a/rc.lua.multicolor b/rc.lua.multicolor index 95c1ca1..eacb4eb 100644 --- a/rc.lua.multicolor +++ b/rc.lua.multicolor @@ -551,7 +551,15 @@ globalkeys = awful.util.table.join( mypromptbox[mouse.screen].widget, awful.util.eval, nil, awful.util.getdir("cache") .. "/history_eval") - end) + end), + + --move and resize window + awful.key({ modkey, "Control" }, "Down", function () awful.client.moveresize( 0, 20, 0, 0) end), + awful.key({ modkey, "Control" }, "Up", function () awful.client.moveresize( 0, -20, 0, 0) end), + awful.key({ modkey, "Control" }, "Left", function () awful.client.moveresize(-20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Right", function () awful.client.moveresize( 20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Next", function () awful.client.moveresize( 20, 20, -40, -40) end), + awful.key({ modkey, "Control" }, "Prior", function () awful.client.moveresize(-20, -20, 40, 40) end) ) clientkeys = awful.util.table.join( diff --git a/rc.lua.powerarrow-darker b/rc.lua.powerarrow-darker index c143005..c440b41 100644 --- a/rc.lua.powerarrow-darker +++ b/rc.lua.powerarrow-darker @@ -540,7 +540,15 @@ globalkeys = awful.util.table.join( mypromptbox[mouse.screen].widget, awful.util.eval, nil, awful.util.getdir("cache") .. "/history_eval") - end) + end), + + --move and resize window + awful.key({ modkey, "Control" }, "Down", function () awful.client.moveresize( 0, 20, 0, 0) end), + awful.key({ modkey, "Control" }, "Up", function () awful.client.moveresize( 0, -20, 0, 0) end), + awful.key({ modkey, "Control" }, "Left", function () awful.client.moveresize(-20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Right", function () awful.client.moveresize( 20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Next", function () awful.client.moveresize( 20, 20, -40, -40) end), + awful.key({ modkey, "Control" }, "Prior", function () awful.client.moveresize(-20, -20, 40, 40) end) ) clientkeys = awful.util.table.join( diff --git a/rc.lua.rainbow b/rc.lua.rainbow index 9f58f3a..a14b57a 100644 --- a/rc.lua.rainbow +++ b/rc.lua.rainbow @@ -486,7 +486,15 @@ globalkeys = awful.util.table.join( mypromptbox[mouse.screen].widget, awful.util.eval, nil, awful.util.getdir("cache") .. "/history_eval") - end) + end), + + --move and resize window + awful.key({ modkey, "Control" }, "Down", function () awful.client.moveresize( 0, 20, 0, 0) end), + awful.key({ modkey, "Control" }, "Up", function () awful.client.moveresize( 0, -20, 0, 0) end), + awful.key({ modkey, "Control" }, "Left", function () awful.client.moveresize(-20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Right", function () awful.client.moveresize( 20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Next", function () awful.client.moveresize( 20, 20, -40, -40) end), + awful.key({ modkey, "Control" }, "Prior", function () awful.client.moveresize(-20, -20, 40, 40) end) ) clientkeys = awful.util.table.join( diff --git a/rc.lua.steamburn b/rc.lua.steamburn index f116819..64e516a 100644 --- a/rc.lua.steamburn +++ b/rc.lua.steamburn @@ -495,7 +495,15 @@ globalkeys = awful.util.table.join( mypromptbox[mouse.screen].widget, awful.util.eval, nil, awful.util.getdir("cache") .. "/history_eval") - end) + end), + + --move and resize window + awful.key({ modkey, "Control" }, "Down", function () awful.client.moveresize( 0, 20, 0, 0) end), + awful.key({ modkey, "Control" }, "Up", function () awful.client.moveresize( 0, -20, 0, 0) end), + awful.key({ modkey, "Control" }, "Left", function () awful.client.moveresize(-20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Right", function () awful.client.moveresize( 20, 0, 0, 0) end), + awful.key({ modkey, "Control" }, "Next", function () awful.client.moveresize( 20, 20, -40, -40) end), + awful.key({ modkey, "Control" }, "Prior", function () awful.client.moveresize(-20, -20, 40, 40) end) ) clientkeys = awful.util.table.join(