On Wed, Oct 22, 2014 at 02:45:36PM -0700, Logan Kaser wrote: > Ok, so what I want to be able to do is press mod4 on release, if nothing > else was pressed (to not interfere with other bindings) switch to my system > group. > > So this is a two problem: > > 1. How do I use keyup events in qtile
We currently ignore KeyRelease events in qtile, but if you remove the mask, you can just define a handle_KeyRelease in /libqtile/manager.py and perhaps put a hook or some other reasonable api there. > 2. How do I use a single mod key with no other keys I think you want to do a Key([mod], 0, lazy.foo()); it's not documented anywhere, but since we're using grab keys under the hood, the AnyKey (i.e. 0) should do what you want here. Tycho > I have absolutely no idea how to proceed without using a hacky backgroud > script. > > -- > 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.
