kwin/scripts: add "virtual desktops only on primary"

Adds a script that essentially makes it so that virtual desktops are only on the primary screen, allowing windows on secondary screens to always stay visible.

Test plan

  • KWin Scripts -> Enable Virtual Desktops Only on Primary
  • Any windows on secondary displays should automatically follow between virtual desktops
  • Windows moved back to the primary display should stay on that screen

Merge request reports

Loading