wsdfhjxc / kwin-scripts

Some scripts for KWin
GNU General Public License v3.0
124 stars 21 forks source link

[virtual-desktops-only-on-primary] Moving windows to another desktop #5

Open Trollwut opened 3 years ago

Trollwut commented 3 years ago

Hey there!

Really like the idea of this script (coming from i3) and been using it for about a week.

KWin has a shortcut/hotkey for "move window to desktop n". This doesn't work with this script, as, well, they're pinned to all desktops.

Would it be an idea to implement hotkeys like "first move to primary screen, then move window to desktop n"?

With this, moving windows to primary desktops would be possible and the non-primary screen would work like a discrete desktop/workspace.

kbknapp commented 1 year ago

For anyone else that ends up here, this happens when using Wayland but not X11 for the desktop session. See #9 as well. Switching your desktop session to X11 "fixes" this issue.