-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathaerospace.toml
141 lines (125 loc) · 4.16 KB
/
aerospace.toml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
start-at-login = true
enable-normalization-flatten-containers = true
enable-normalization-opposite-orientation-for-nested-containers = true
accordion-padding = 30
non-empty-workspaces-root-containers-layout-on-startup = 'smart'
default-root-container-layout = 'tiles'
default-root-container-orientation = 'auto'
# notify Sketchybar about workspace change
exec-on-workspace-change = ['/bin/bash', '-c',
'/opt/homebrew/opt/sketchybar/bin/sketchybar --trigger aerospace_workspace_change FOCUSED_WORKSPACE=$AEROSPACE_FOCUSED_WORKSPACE'
]
[gaps]
inner.horizontal = 10
inner.vertical = 10
outer.left = 10
outer.bottom = 35
outer.top = 10
outer.right = 10
[workspace-to-monitor-force-assignment]
0 = 'built-in'
1 = ['secondary', 'built-in']
2 = ['secondary', 'built-in']
C = ['secondary', 'built-in']
T = ['secondary', 'built-in']
W = ['secondary', 'built-in']
## windows that should float
[[on-window-detected]]
if.app-id = 'com.apple.systempreferences'
run = 'layout floating'
[[on-window-detected]]
if.app-id = 'com.bitwarden.desktop'
run = ['layout floating', 'move-node-to-workspace 0']
[[on-window-detected]]
if.app-id = 'net.ankiweb.dtop'
run = 'layout floating'
[[on-window-detected]]
if.app-id = 'com.apple.iCal'
run = 'layout floating'
[[on-window-detected]]
if.app-id = 'com.apple.Photos'
run = 'layout floating'
[[on-window-detected]]
if.app-id = 'com.objective-see.lulu.app'
run = 'layout floating'
[[on-window-detected]]
if.app-id = 'com.raycast.macos'
run = 'layout floating'
[[on-window-detected]]
if.window-title-regex-substring = '^(Bullet Physics|Orion Preview|Picture-in-Picture|Updating|Virtual).*$'
run = 'layout floating'
[[on-window-detected]]
if.app-name-regex-substring = 'python'
run = 'layout floating'
## move to (c)ommunicaton workspace
[[on-window-detected]]
if.app-id = 'ru.keepcoder.Telegram'
run = ['move-node-to-workspace C']
[[on-window-detected]]
if.app-id = 'com.apple.MobileSMS'
run = ['move-node-to-workspace C']
[[on-window-detected]]
if.app-id = 'Mattermost.Desktop'
run = ['move-node-to-workspace C']
[[on-window-detected]]
if.app-id = 'ZoomChat'
run = ['move-node-to-workspace C']
[[on-window-detected]]
if.app-id = 'org.whispersystems.signal-desktop'
run = ['move-node-to-workspace C']
[[on-window-detected]]
if.app-id = 'com.hnc.Discord'
run = ['move-node-to-workspace C']
## move to (m)ultimedia workspace
[[on-window-detected]]
if.app-id = 'com.apple.Music'
run = ['move-node-to-workspace M']
[[on-window-detected]]
if.app-id = 'com.apple.podcasts'
run = ['move-node-to-workspace M']
[[on-window-detected]]
if.app-name-regex-substring = "^mpv$|^Updating Orion RC$"
run = 'layout floating'
[[on-window-detected]]
if.app-id = 'com.apple.QuickTimePlayerX'
run = ['move-node-to-workspace M']
# move to (i)llustrator workspace
[[on-window-detected]]
if.app-id = 'com.jgraph.drawio.desktop'
run = ['move-node-to-workspace I']
[[on-window-detected]]
if.app-id = 'org.inkscape.Inkscape'
run = ['move-node-to-workspace I']
[[on-window-detected]]
if.app-id = 'org.zotero.zotero'
run = ['move-node-to-workspace Z']
[mode.main.binding]
alt-period = 'layout tiles horizontal vertical'
alt-comma = 'layout accordion horizontal vertical'
alt-f = 'fullscreen'
alt-r = 'reload-config'
alt-shift-h = 'move left'
alt-shift-j = 'move down'
alt-shift-k = 'move up'
alt-shift-l = 'move right'
alt-shift-n = 'workspace next'
alt-shift-p = 'workspace prev'
alt-shift-c = 'reload-config'
alt-right = 'resize smart -50'
alt-left = 'resize smart +50'
alt-tab = 'workspace-back-and-forth'
alt-shift-tab = 'move-workspace-to-monitor --wrap-around next'
alt-shift-backspace = 'mode service'
alt-shift-comma = 'mode join'
[mode.service.binding]
r = ['flatten-workspace-tree', 'mode main'] # reset layout
#s = ['layout sticky tiling', 'mode main'] # sticky is not yet supported https://github.com/nikitabobko/AeroSpace/issues/2
f = ['layout floating tiling', 'mode main'] # Toggle between floating and tiling layout
backspace = ['close-all-windows-but-current', 'mode main']
esc = 'mode main'
[mode.join.binding]
alt-shift-h = ['join-with left', 'mode main']
alt-shift-j = ['join-with down', 'mode main']
alt-shift-k = ['join-with up', 'mode main']
alt-shift-l = ['join-with right', 'mode main']
esc = ['reload-config', 'mode main']