I was wondering if there are any libraries for Python, C or C++ that help you interface with your window manager/x-windows? I am currently using os.subprocess
and feeding it wmctrl
bash commands and though this kind of works it feels very dirty.
I've found a couple of libraries that try to do this, but they are all from 2016 (or way older) and usually version 0.something which is kinda questionable. I am not looking for something like Qtile or a different window manager as I frankly quite enjoy the Gnome window manager, I just want to extend it slightly with some personalized scripts.
I'd prefer it if the libraries are in Python, C or C++ but if you know of some which are written in different languages I'd be happy to hear about those too :D