Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

uhs-robert
Copy link

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.

@dolandemort
Copy link

From my testing, installing this with "Install from File" button in "KWin Scripts" settings doesn't seem to work.

Relevant system component versions:

KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.4-zen2-1-zen (64-bit)

@dolandemort
Copy link

Seems this script might not be necessary for some people anymore. To get my desired behaviour, in "Windows Behaviour", go to "Advanced" tab and set "Virtual Desktop behaviour" dropdown to "Do nothing". The new window of the application I was trying to tame now opens on the currently active desktop.

Screenshot_20250203_014018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants