76 lines
2.7 KiB
Plaintext
76 lines
2.7 KiB
Plaintext
### -*-conf-space-*- ###
|
|
# Dual-Monitor Workspace Settings #
|
|
### ###
|
|
|
|
# This file defines the workspaces and creates the keybinds to switch
|
|
# between them and move containers around between them. This version
|
|
# is for dual-monitor systems. The host-specific display-arrangement.conf
|
|
# file should declare the $leftdisplay and $rightdisplay variables used
|
|
# here.
|
|
|
|
workspace {
|
|
# Left monitor workspaces
|
|
1 output $leftdisplay
|
|
2 output $leftdisplay
|
|
3 output $leftdisplay
|
|
4 output $leftdisplay
|
|
5 output $leftdisplay
|
|
6 output $leftdisplay
|
|
7 output $leftdisplay
|
|
8 output $leftdisplay
|
|
9 output $leftdisplay
|
|
10 output $leftdisplay
|
|
|
|
# Center monitor workspaces
|
|
11 output $centerdisplay
|
|
12 output $centerdisplay
|
|
13 output $centerdisplay
|
|
14 output $centerdisplay
|
|
15 output $centerdisplay
|
|
16 output $centerdisplay
|
|
17 output $centerdisplay
|
|
18 output $centerdisplay
|
|
19 output $centerdisplay
|
|
20 output $centerdisplay
|
|
|
|
# Right monitor workspaces
|
|
21 output $rightdisplay
|
|
22 output $rightdisplay
|
|
23 output $rightdisplay
|
|
24 output $rightdisplay
|
|
25 output $rightdisplay
|
|
26 output $rightdisplay
|
|
27 output $rightdisplay
|
|
28 output $rightdisplay
|
|
29 output $rightdisplay
|
|
30 output $rightdisplay
|
|
}
|
|
|
|
## Workspace Switching Keybinds
|
|
bindsym {
|
|
$mod+1 exec swaymsg workspace $(sway-find-workspace 1 )
|
|
$mod+2 exec swaymsg workspace $(sway-find-workspace 2 )
|
|
$mod+3 exec swaymsg workspace $(sway-find-workspace 3 )
|
|
$mod+4 exec swaymsg workspace $(sway-find-workspace 4 )
|
|
$mod+5 exec swaymsg workspace $(sway-find-workspace 5 )
|
|
$mod+6 exec swaymsg workspace $(sway-find-workspace 6 )
|
|
$mod+7 exec swaymsg workspace $(sway-find-workspace 7 )
|
|
$mod+8 exec swaymsg workspace $(sway-find-workspace 8 )
|
|
$mod+9 exec swaymsg workspace $(sway-find-workspace 9 )
|
|
$mod+0 exec swaymsg workspace $(sway-find-workspace 10)
|
|
}
|
|
|
|
## Window Reassignment Keybinds
|
|
bindsym {
|
|
$mod+Shift+1 exec swaymsg move container to workspace $(sway-find-workspace 1 )
|
|
$mod+Shift+2 exec swaymsg move container to workspace $(sway-find-workspace 2 )
|
|
$mod+Shift+3 exec swaymsg move container to workspace $(sway-find-workspace 3 )
|
|
$mod+Shift+4 exec swaymsg move container to workspace $(sway-find-workspace 4 )
|
|
$mod+Shift+5 exec swaymsg move container to workspace $(sway-find-workspace 5 )
|
|
$mod+Shift+6 exec swaymsg move container to workspace $(sway-find-workspace 6 )
|
|
$mod+Shift+7 exec swaymsg move container to workspace $(sway-find-workspace 7 )
|
|
$mod+Shift+8 exec swaymsg move container to workspace $(sway-find-workspace 8 )
|
|
$mod+Shift+9 exec swaymsg move container to workspace $(sway-find-workspace 9 )
|
|
$mod+Shift+0 exec swaymsg move container to workspace $(sway-find-workspace 10)
|
|
}
|