On Tue, Feb 23, 2010 at 3:55 AM, barkat <[email protected]> wrote:
> Hi,
>
> by Mod + n focus client get minimized ok , but no way to maximize or raise
> client by keyboard shortcut , using mouse is only way seems.
>
> Is there already a keyboard shortcut or a way to add one. Search wiki but
> not found any. Pls help.

I have a code on my rc.lua to do this:

    -- unminimize windows
    awful.key({ modkey, "Shift"   }, "n",
        function ()
            local allclients = client.get(mouse.screen)

            for _,c in ipairs(allclients) do
                if c.minimized and c:tags()[mouse.screen] ==
awful.tag.selected(mouse.screen) then
                    c.minimized = false
                    client.focus = c
                    c:raise()
                    return
                end
            end
        end),

Works fine for me

-- 
Renato Botelho

-- 
To unsubscribe, send mail to [email protected].

Reply via email to