emvaized / kde-snap-assist

KWin script for KDE Plasma which suggests other window thumbnails on snap
https://store.kde.org/p/1875687
GNU General Public License v3.0
108 stars 6 forks source link

Feature request: Filter tiled windows #4

Closed nclarius closed 2 years ago

nclarius commented 2 years ago

It would be nice if there was an option to only show windows that are not already snapped to some tile.

emvaized commented 2 years ago

I like this particular feature request, because if we could track all windows snapped from the assist, all their relative groups, and then expose it somehow via DBus, it opens a door for a lot of possibilities.

Additionally to filtering out already snapped windows inside the script, we can basically create a platform upon which a lot of interesting things can be built.

Few examples:

So, a lot of things to think of.

emvaized commented 2 years ago

Well, it turns out there currently is no way to communicate between scripts via DBus...

Well, we still would be able to include some of these into the script itself. I just added test support for tracking snapped windows in the dev branch, as well as new options:

Will be glad if you could join testing!

emvaized commented 2 years ago

Option to filter out previously snapped windows was added now in version 1.4

nclarius commented 2 years ago

Nice! A further enhancement would be if it also filtered out windows that were tiled without the assistant, but this is already a good improvement.