brianm78
brianm78
Tried it here, and it does now seem to run without reporting an error. However, I was a bit suspicious, since on debugging through, the `real_O` object it gets from...
I think there are probably a few other potential usecases. Potentially, you could also support rearranging within a layout, if combined with something that determines the best position within the...
Incidentally, is the CI failure above something this change broke? I tried rerunning tox locally, and it passes here (eventually), and looks like it may be unrelated (Timeout error starting...
Would it be better for these to allow arbitrary Callables as well as LazyCalls, similar to what widget callbacks do? Ie if isinstance(action, LazyCall): invoke it, else: action() (or action(x,y)...
I mean if you wanted to do something like: @lazy.function def my_alternative_start(qtile): do_something_extra() return qtile.current_window.get_position() It won't actually work as a start= argument, as the return value from a lazy...
Actually, just realised that this is not actually in 0.35.0. I'd updated to the latest arch package, which seems to labelled "0.36.0", which AFAIK is not actually released (qtile --version...
All the approaches here have a few failure cases for things like running with no args, using --help, callback args, or specifying options/arguments to the default command, or other corner...
Note that without this setting, there can be some confusing errors due to the mismatch between the runtime behaviour vs typing assumptions. Eg. I ended up here trying to figure...