Cool, that got me where I needed to go. Thanks! I'm using this:

```
    EzKey("M-1", lazy.to_screen(0)),
    EzKey("M-2", lazy.to_screen(1)),
    EzKey("M-3", lazy.to_screen(2)),
```

since I use letters for workspaces. Now just need to label screens 
appropriately on my bar which should be easy.

On Monday, May 20, 2019 at 10:42:37 PM UTC-5, Tycho Andersen wrote:
>
> On Mon, May 20, 2019 at 07:57:39PM -0700, Matthew Haffner wrote: 
> > 
> > 
> > At home I have a two monitor layout, and I’m currently using 
> > lazy.next_screen() to switch to the other screen. At work, however, I 
> have 
> > three monitors, and I use two of them 90% of the time (the third is 
> > vertically oriented and reserved for a system monitor, R graphics, and 
> an 
> > occasional pdf), so it would be nice to be able to switch back and forth 
> > between my two primary monitors seamlessly without having to cycle 
> through 
> > all three. Is this possible? It would seem so since the WindowName() 
> widget 
> > correctly identifies screens. 
>
> try some form of lazy.to_screen(n), or maybe a custom function like: 
>
> def f(qtile): 
>     if qtile.currentScreen == ...: 
>         qtile.cmd_to_screen(0) 
>     else: 
>         qtile.cmd_to_screen(1) 
> lazy.function(f) 
>
> Tycho 
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/3c299f2f-aa7b-4c6c-9e16-01f2cd984b94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to