On 22/05/11 13:09, Jose Quesada wrote:
> Hi,
>
> I'm sure a few hrs trolling existing conf.lua files whould get me
> there, but I'd rather ask... assuming I'm on the default tiling
> config, how can I achieve:
>
> 1- a shortcut to get a window to the bigger tile in the tiling setups.
> (xmonad: mod +enter)
>
> 2- do not launch new windows maximized to the bigger tile if I have
> focus on one window that is on the smaller tiles section
>
> 3- shift-mod-arrow left/right sends the window to the destop left/right
>
> Thanks!
> --
> Best,
> -Jose
>
> Jose Quesada, PhD.
> Research scientist,
> Max Planck Institute,
> Center for Adaptive Behavior and Cognition,
> Berlin
> http://www.josequesada.name/
> http://twitter.com/Quesada
Hi,
1 - it is mod+ctrl+enter
2 - uncomment 324 line containing 'awful.client.setslave(c) and all new
windows will be opened in the 'smaller tiles'.
3 - you should add to your globalkeys something like:
awful.key({ modkey, "Shift" }, "Right", function ()
local i = awful.tag.getidx()
if client.focus and tags[client.focus.screen][i+1]
then
awful.client.movetotag(tags[client.focus.screen][i+1])
end
end),
awful.key({ modkey, "Shift" }, "Left", function ()
local i = awful.tag.getidx()
if client.focus and tags[client.focus.screen][i-1]
then
awful.client.movetotag(tags[client.focus.screen][i-1])
end
end),
Sorry for the ugliness of the code in 3, but perhaps that quick hack
might get you on track. :)
Cheers,
Ignas
--
To unsubscribe, send mail to [email protected].