nclarius / KWin-window-positioning-scripts

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

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

Open UpHillSolutions-roberth opened 2 months ago

UpHillSolutions-roberth commented 2 months 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.