On Mon, Nov 10, 2014 at 07:04:38AM -0800, Jonas VP wrote: > Hi everybody, > > I just installed qlite on my Ubuntu work laptop and so far I'm quite happy. > It's somewhat tricky to get everything to working the way it used to (main > snafus: keyboard layouts, audio) but so far so good. > > One thing that somewhat annoys me: I use two monitors for working. Often I > will look from one to the other, read something, and then try to scroll - > forgetting that I haven't switched screens. > > Is there any way to highlight the current screen? I was hoping for a > `screen_change` hook that would allow me to change (for instance) the color > of the bottom bar on that screen. No such luck, though - `screen_change` > does something completely different. > > Does anyone have the same problem? Any solutions out there?
I think hooks.current_screen_change will do what you want. You can see the (very convoluted) logic in libqtile/widget/groupbox.py's hook_response() on how exactly to use it. There is also the this_current_screen_boder param for groupbox that may be useful as well. Ideally we'd only have one window with a focus border at a time. There is a patchset to do this, but it hasn't been rebased in a while and it broke a bunch of tests when I last tried it. Let me know if you want and I can point you to it. Tycho > Thanks, > > Jonas > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. -- 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]. For more options, visit https://groups.google.com/d/optout.
