You are not logged in.

#1 2009-05-10 08:50:37

xaff
Member
Registered: 2009-02-26
Posts: 64

Moving windows in awesome

As far as I understand the only way to move a window to next screen is mod4+o, but it doesn't seem to work.

I've checked rc.lua and there's:

clientkeys = awful.util.table.join(
    awful.key({ modkey,           }, "f",      function (c) c.fullscreen = not c.fullscreen  end),
    awful.key({ modkey, "Shift"   }, "c",      function (c) c:kill()                         end),
    awful.key({ modkey, "Control" }, "space",  awful.client.floating.toggle                     ),
    awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
    awful.key({ modkey,           }, "o",      awful.client.movetoscreen                        ),
    awful.key({ modkey, "Shift"   }, "r",      function (c) c:redraw()                       end),
    awful.key({ modkey }, "t", awful.client.togglemarked),
    awful.key({ modkey,}, "m",
        function (c)
            c.maximized_horizontal = not c.maximized_horizontal
            c.maximized_vertical   = not c.maximized_vertical
        end)
)

Should be fine, right?

So how do I move windows to other screens? Are there any other tricks?

Offline

#2 2009-05-13 09:43:48

mxforce
Member
Registered: 2009-02-10
Posts: 17

Re: Moving windows in awesome

There is a little different:
- awful.client.movetoscreen  → move the window to the next screen (if you have e.g. 2 or more displays/monitors)
- to move a window to a specific tag (virtual desktop) use: modkey + shift + {tagnumber}

Offline

Board footer

Powered by FluxBB