Ignores minimized windows and hidden applications. I believe these should be handled by a designated handler/event, but this code can probably be tweaked to include them if wanted.
Might be bugs, code is kinda quickly put together, so indentation and structure is terrible -- sorry for that.
Feel free to use it as you please and rewrite instead of merging this PR.
Janky solution for https://github.com/FelixKratz/JankyBorders/issues/2 Reads window ids of all spaces upon launch and creates a border for them, moving that border to the space that the window is on.
Ignores minimized windows and hidden applications. I believe these should be handled by a designated handler/event, but this code can probably be tweaked to include them if wanted.
Might be bugs, code is kinda quickly put together, so indentation and structure is terrible -- sorry for that. Feel free to use it as you please and rewrite instead of merging this PR.