summaryrefslogtreecommitdiff
path: root/.config/sway/config.d/05-workspaces
blob: 436a0ac74fd2f4ce9ca8d4392180d8cb3e837b33 (plain)
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
31
32
33
34
35
36
set {
	$ws1   "1:一"
	$ws2   "2:二"
	$ws3   "3:三"
	$ws4   "4:四"
	$ws5   "5:五"
	$ws6   "6:六"
	$ws7   "7:七"
	$ws8   "8:八"
	$ws9   "9:九"
	$ws0   "10:十"
}

bindsym {
	$super+1 workspace number $ws1
	$super+2 workspace number $ws2
	$super+3 workspace number $ws3
	$super+4 workspace number $ws4
	$super+5 workspace number $ws5
	$super+6 workspace number $ws6
	$super+7 workspace number $ws7
	$super+8 workspace number $ws8
	$super+9 workspace number $ws9
	$super+0 workspace number $ws0
	
	$super+Shift+1 move container to workspace number $ws1
	$super+Shift+2 move container to workspace number $ws2
	$super+Shift+3 move container to workspace number $ws3
	$super+Shift+4 move container to workspace number $ws4
	$super+Shift+5 move container to workspace number $ws5
	$super+Shift+6 move container to workspace number $ws6
	$super+Shift+7 move container to workspace number $ws7
	$super+Shift+8 move container to workspace number $ws8
	$super+Shift+9 move container to workspace number $ws9
	$super+Shift+0 move container to workspace number $ws0
}