- Clone this repository.
- Run
kpackagetool5 -i .
in the root directory of the repository. - Go to
System Settings > Window Management > KWin Scripts
- Enable "Toggle pinning window to all activities"
- Enjoy!
- Literally just 2 shortcut keys
- "Toggle window on all activities" - Meta+Ctrl+Tab
- Toggles the currently shown window to be shown on all activities or only the current activity
- "Remove window from this activity" - Meta+Ctrl+Shift+Tab
- Removes the currently shown window from the current activity (or shows the window on all activities if this is the only activity that the window is visible on)
- "Toggle window on all activities" - Meta+Ctrl+Tab
This was mostly made for quickly moving windows to the correct activities after they automatically open on the wrong activity.
- Press the "Toggle window on all activities" shortcut to show the window on all activities.
- Switch to the correct activity.
- Press the "Toggle window on all activities" shortcut again to lock the window to the current activity.
- Go to an activity you don't want the window to be displayed on.
- Press the "Remove window from this activity" shortcut.
- Repeat until the window is only displayed on the activities you want it to be displayed on.