README.md 1.08 KB
Newer Older
nightreveller's avatar
nightreveller committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# KWin script: Move Window and Focus to Desktop

> KWin script that creates shortcuts for moving a window and the focus to a certain desktop.

## Install:

### GUI:
- Go to `System Settings > Window Management > KWin Scripts`
- Click `Get New Scripts`
- Search for 'Move Window and Focus to Desktop'

### Command line:
- Clone this repo
- `zip -r movewindowandfocustodesktop.kwinscript contents/ metadata.desktop README.md`
- `plasmapkg2 -i /path/to/movewindowandfocustodesktop.kwinscript`

## Setup shortcuts
Configure the global shortcuts at `System Settings > Shortcuts > Global Shortcuts > KWin`.  

Installation of the plugin will set the following shortcuts as default:  
 - Desktop 1: `Meta+Shift+1` aka `Meta+!`,
 - Desktop 2: `Meta+Shift+2` aka `Meta+@`,
 - Desktop 3: `Meta+Shift+3` aka `Meta+#`,
 - Desktop 4: `Meta+Shift+4` aka `Meta+$`,
 - Desktop 5: `Meta+Shift+5` aka `Meta+%`,
 - Desktop 6: `Meta+Shift+6` aka `Meta+^`,
 - Desktop 7: `Meta+Shift+7` aka `Meta+&`,
 - Desktop 8: `Meta+Shift+8` aka `Meta+*`,
 - Desktop 9: `Meta+Shift+9` aka `Meta+(`,
 - Desktop 10: `Meta+Shift+10` aka `Meta+)`,