were should I add those I add it in the middle of my rc.lua but it bug : pressing the key wasn't doing anything. Is it beceause I am using awesome 3.0 instead of 3.1 or 3.2?
2009/2/28 Martin Stubenschrott <[email protected]> > On 02/24/2009 06:14 PM, Aaron Grattafiori wrote: > > > 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)) > > Wow, that's great! Finally I feel home again managing my windows with hjkl > :) > > > bydirection can take an optional client "c" but I don't think I > > need/want that in this case. There is an issue with bydirection and > > "maximized_horizontal" windows though... I'll have to look into it later. > > > Any updates on this? it would be nice, if bydirection would just work like > byindex if 2 clients share the same size (like when in maximized mode)? > > best regards, > > Martin > > -- > To unsubscribe, send mail to [email protected]. > -- Adrien Broussolle Responsable matériel convoie Madagascar Efrei Aides Humanitaires
