mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-23 03:32:30 +00:00
Merge pull request #46 from geekpi/master
add move and resize window function in rc.lua.*
This commit is contained in:
commit
97d8fa5aff
|
@ -488,7 +488,15 @@ globalkeys = awful.util.table.join(
|
||||||
mypromptbox[mouse.screen].widget,
|
mypromptbox[mouse.screen].widget,
|
||||||
awful.util.eval, nil,
|
awful.util.eval, nil,
|
||||||
awful.util.getdir("cache") .. "/history_eval")
|
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(
|
clientkeys = awful.util.table.join(
|
||||||
|
|
|
@ -541,7 +541,15 @@ globalkeys = awful.util.table.join(
|
||||||
mypromptbox[mouse.screen].widget,
|
mypromptbox[mouse.screen].widget,
|
||||||
awful.util.eval, nil,
|
awful.util.eval, nil,
|
||||||
awful.util.getdir("cache") .. "/history_eval")
|
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(
|
clientkeys = awful.util.table.join(
|
||||||
|
|
|
@ -488,7 +488,15 @@ globalkeys = awful.util.table.join(
|
||||||
mypromptbox[mouse.screen].widget,
|
mypromptbox[mouse.screen].widget,
|
||||||
awful.util.eval, nil,
|
awful.util.eval, nil,
|
||||||
awful.util.getdir("cache") .. "/history_eval")
|
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(
|
clientkeys = awful.util.table.join(
|
||||||
|
|
10
rc.lua.holo
10
rc.lua.holo
|
@ -623,7 +623,15 @@ globalkeys = awful.util.table.join(
|
||||||
mypromptbox[mouse.screen].widget,
|
mypromptbox[mouse.screen].widget,
|
||||||
awful.util.eval, nil,
|
awful.util.eval, nil,
|
||||||
awful.util.getdir("cache") .. "/history_eval")
|
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(
|
clientkeys = awful.util.table.join(
|
||||||
|
|
|
@ -551,7 +551,15 @@ globalkeys = awful.util.table.join(
|
||||||
mypromptbox[mouse.screen].widget,
|
mypromptbox[mouse.screen].widget,
|
||||||
awful.util.eval, nil,
|
awful.util.eval, nil,
|
||||||
awful.util.getdir("cache") .. "/history_eval")
|
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(
|
clientkeys = awful.util.table.join(
|
||||||
|
|
|
@ -540,7 +540,15 @@ globalkeys = awful.util.table.join(
|
||||||
mypromptbox[mouse.screen].widget,
|
mypromptbox[mouse.screen].widget,
|
||||||
awful.util.eval, nil,
|
awful.util.eval, nil,
|
||||||
awful.util.getdir("cache") .. "/history_eval")
|
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(
|
clientkeys = awful.util.table.join(
|
||||||
|
|
|
@ -486,7 +486,15 @@ globalkeys = awful.util.table.join(
|
||||||
mypromptbox[mouse.screen].widget,
|
mypromptbox[mouse.screen].widget,
|
||||||
awful.util.eval, nil,
|
awful.util.eval, nil,
|
||||||
awful.util.getdir("cache") .. "/history_eval")
|
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(
|
clientkeys = awful.util.table.join(
|
||||||
|
|
|
@ -495,7 +495,15 @@ globalkeys = awful.util.table.join(
|
||||||
mypromptbox[mouse.screen].widget,
|
mypromptbox[mouse.screen].widget,
|
||||||
awful.util.eval, nil,
|
awful.util.eval, nil,
|
||||||
awful.util.getdir("cache") .. "/history_eval")
|
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(
|
clientkeys = awful.util.table.join(
|
||||||
|
|
Loading…
Reference in a new issue