On 06/03/2009 02:00 AM, Jhonny Boy wrote:
>
> Hello
> Awesome is undoubtly more advance than wmii. But i like how this window
> manager deal with window.
> I configure awesome to use the same key.
> But there is still something that missed :
> When I open a new window I would like it to be open in the focused column and
> not always in the main column/place. (to be open in the stack if the focused
> is currently on a window of the stack).
> Is it possible?
I'd love that too! Don't know, however, if it is possible.
I would highly recommend those mappings as well:
-- add wmii like window navigation
table.insert(globalkeys, key({ modkey }, "h", function ()
awful.client.focus.bydirection("left"); if client.focus then
client.focus:raise() end end))
table.insert(globalkeys, key({ modkey }, "j", function ()
awful.client.focus.bydirection("down"); if client.focus then
client.focus:raise() end end))
table.insert(globalkeys, key({ modkey }, "k", function ()
awful.client.focus.bydirection("up"); if client.focus then client.focus:raise()
end end))
table.insert(globalkeys, key({ modkey }, "l", function ()
awful.client.focus.bydirection("right"); if client.focus then
client.focus:raise() end end))
table.insert(globalkeys, key({ modkey, "Shift" }, "h", function ()
awful.client.swap.bydirection("left") end))
table.insert(globalkeys, key({ modkey, "Shift" }, "j", function ()
awful.client.swap.bydirection("down") end))
table.insert(globalkeys, key({ modkey, "Shift" }, "k", function ()
awful.client.swap.bydirection("up") end))
table.insert(globalkeys, key({ modkey, "Shift" }, "l", function ()
awful.client.swap.bydirection("right") end))
So you can use wmii's great directional navigation keys h/l instead of just j/k
to cycle windows.
--
Martin
--
To unsubscribe, send mail to [email protected].