nclarius / KWin-window-positioning-scripts

KWin scripts controlling window placement on multi-monitor setups
GNU General Public License v3.0
59 stars 14 forks source link

Update main.js for each script type to use Plasma 6 API changes #29

Open UpHillSolutions-roberth opened 6 days ago

UpHillSolutions-roberth commented 6 days ago

Added the fix to support Plasma 6 as described by technewsguy in Issue #27.

Tested the fix on my machine using Fedora KDE Plasma 6 using both KWin Wayland and X11. All three scripts work as expected.

The official Plasma 6 API documentation still hasn't been released yet but luckily other users have already dug into the source code and found the necessary pieces needed to update this script.