Remix.run Logo
taeric 9 days ago

Any chance folks have pointers on how I could do this for the windows of my desktop? Running PopOS and would love to setup some keyboard macros to setup common window arrangements. I am embarrassed that I have basically no idea where to start in doing that, though. :( Would I be looking to do a Gnome plugin?

dfc 9 days ago | parent [-]

Sway/i3/etc?

taeric 9 days ago | parent [-]

Do I really have to jump to a new compositor/window manager to get this? Seems like I should be able to query the state of my desktop without doing that. :(

yjftsjthsd-h 9 days ago | parent [-]

In theory if GNOME exposes enough API surface then sure you can write a plugin to do it. I'm rather under the impression that GNOME is not particularly friendly to that kind of customization work, though. Perhaps it's better these days; I haven't paid it as much attention since jumping ship. It is entirely possible that it would be less overall work to switch to a window manager that enthusiastically exposes all the API surface you could ever ask for, but don't let that stop you from looking into it.

taeric 9 days ago | parent [-]

:D Completely fair answers!

I don't know why it is so surprising to me that there isn't a very easy "list windows and locations" in computers. Feels like something that should be as a basic building block, but I have never seen it. Assumed I just didn't know where to look.

Thanks!