There's a function awful.client.movetoscreen(c, s), which moves client c to
screen s. I don't have a multi-screen set up to test this with, but my first
attempt would be to add bindings to
function (c)
local nextscreen = c.screen + 1
if nextscreen > screen.count then
nextscreen = 1
end
awful.client.movetoscreen(c, nextscreen)
end
and
function (c)
local prevscreen = c.screen - 1
if prevscreen < 1 then
prevscreen = screen.count
end
awful.client.movetoscreen(c, prevscreen)
end
to clientkeys in your rc.lua. There's probably some one-line way of choosing
the next or previous screen, using %, but it's a bit too early in the morning
here to think about that... (and it would obfuscate the code).
Best,
Matt
On Thu, Mar 15, 2012 at 08:34:22PM -0500, Gerald Klein wrote:
> Hi, The default ability to move clients between screens is in only 1
> direction, does anyone know if there is a way to go either directions or
> directly to a screen so I don't have to cycle through all my screens to
> get to where I am going.
> thanks for any help you may give.
> --jerry
> --
>
> Gerald Klein DBA
>
> www.geraldklein.com
>
> [email protected]
>
> 708-599-0352
>
> Linux registered user #548580
>
> The below contributed statements are well....funny and I apologize if
> someone is offended.....not.
>
> Unix is user-friendly. It just isn't promiscuous about which users it's
> friendly with. - Steven King
>
> Frustrated Windows users have two options.
>
> 1. Resort to throwing computers out of windows.
>
> 2. Resort to throwing Windows out of computers
>
> Ever realized that if you play Windows CD backwards you'll hear satanic
> messages?
>
> But that's nothing! If you play it forward it will install Windows.
>
> "Ubuntu" -- an African word, meaning "Slackware is too hard for me".
>
> The day Microsoft makes a product that doesn't suck, is the day they make
> a vacuum cleaner.
>
> Linux is like a wigwam: no gates, no windows and Apache inside. (Chinese
> proverb c. 910 B.C.)
>
>
>
> "being a Linux user is sort of like living in a house inhabited by a large
> family of carpenters and architects. Every morning when you wake up, the
> house is a little different. Maybe there is a new turret, or some walls
> have moved. Or perhaps someone has temporarily removed the floor under
> your bed" * Unknown
>
>
>
> Customer: I'm running Windows...
> Helpdesk: Yes...
> Customer: ...and now my computer stopped working !
> Helpdesk: Yes, you already said that.
>
>
>
> The box said "Requires Windows 98 or better."
>
> So I installed Linux.
>
>
>
> I ran the Microsoft Malicious Software Removal tool
>
> but Internet Explorer is still installed on my computer.
--
To unsubscribe, send mail to [email protected].