I believe I've figured out a solution for my issues: using `aiomanhole` in 
the config with `netcat`, as Ramnes does in his 
config: https://github.com/ramnes/qtile-config/blob/master/config.py

This allows me to *properly* explore the command structure using a 
pseudo-python console using `dir()` and I can't run commands from it, but I 
couldn't really do that with qtile shell anyways, so I'll take being able 
to explore the actual qtile objects.

On Thursday, May 20, 2021 at 4:43:08 PM UTC-6 James Wright wrote:

> Not directly related to my question, but I did stumble upon this detailed 
> explanation 
> <https://github.com/qtile/qtile/discussions/2337#discussioncomment-554202> 
> of the reasoning behind the current backend system and figured that it'd be 
> a good idea to include here in case anyone stumbles upon this. 
>
>
>
> On Wednesday, May 19, 2021 at 10:43:46 AM UTC-6 James Wright wrote:
>
>> Hello all,
>>
>> I've been having a really hard time trying to figure how to do some basic 
>> customizations with qtile. I'm quite familiar with Python, but I'm running 
>> into two primary issues:
>>
>> A) I can't access a "raw" `qtile` object to inspect it, so writing lazy 
>> functions is effectively impossible (beyond copy-pasting someone else's 
>> code). Most of my hacking is just guess and check. I've tried using the 
>> InteractiveCommandClient and CommandClient, but they don't (to my 
>> knowledge) replicate what I'd need to put in my `config.py`. 
>>
>> B) I can't actually inspect objects to see what attributes/methods are 
>> available for me to use since qtile relies on the `__getattr__` construct. 
>> I'm guessing there's some reason for why it would be done this way, but 
>> that almost single-handedly makes it impossible for me to figure out 1) 
>> what object do I have and 2) what can I do with it. There are some errors 
>> in the documentation, but not being able to use `dir()` effectively means I 
>> have no idea what to do. 
>>
>> Both of these combined have lead to a very frustrating 5 days of trying 
>> to figure qtile out and trying to implement features I want. Even just 
>> trying to copy-paste code from others only works 50% of the time and I have 
>> no idea how to fix it because of the two above issues. 
>>
>> Am I missing something that makes this process easier? I really want to 
>> make qtile work, as I can see how easily customizable it is, but it's 
>> feeling pretty impossible right now.
>>
>

-- 
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/429dc521-e296-4bd4-b6a5-c272f31cd34bn%40googlegroups.com.

Reply via email to