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/20190521034233.GA5152%40cisco.
For more options, visit https://groups.google.com/d/optout.

Reply via email to