You might try Hammerspoon[0] with PaperWM.spoon[1] on macOS. This is what I use, and while it has quirks, it works better than not having it.
[0] https://www.hammerspoon.org/ [1] https://github.com/mogenson/PaperWM.spoon
You might try Hammerspoon[0] with PaperWM.spoon[1] on macOS. This is what I use, and while it has quirks, it works better than not having it.
[0] https://www.hammerspoon.org/ [1] https://github.com/mogenson/PaperWM.spoon
Hammerspoon is quite easy to use, so attempting to cobble together your own thing (that does exactly what you want) might also be feasible. The documentation is decent and the iteration time is short.
It took me about 30 minutes to replicate some Windows/AutoHotKey crap that I wrote myself and have been using for years, and it wasn't painful.
It’s nice, but it doesn’t support things like Safari tabs properly.
Yeah the tabs is biggest issue