Hi,

On 30.10.2013 03:37, Andre Klärner wrote:
> as my setup at home is a bit more complex than the one on the go and at
> work I had to modify the xrandr screen table function a bit. To not keep it
> just for me I updated the wiki page for it.
> 
> https://awesome.naquadah.org/wiki/XRandR_Screen_Table
> 
> I'd be grateful if anyone using the script might try out the updated
> version and tell me if and what mistakes I made.

I might be missing something, but I think that this code (copied from that wiki
page):

 screens = xrandr_screens()
 client.focus.screen = screens["VGA"]

is equivalent to this code:

 client.focus.screen = screen.VGA.index

No idea if this feature is documented anywhere, but I think I just found a
volunteer to mention this in the wiki.

Of course, this does not work if awesome is not using RANDR for querying the
monitor configuration. Also, there doesn't seem to be a way for querying the
list of available screens.

Cheers,
Uli
-- 
Bruce Schneier can read and understand Perl programs.

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

Reply via email to