-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_aerospace.toml
112 lines (95 loc) · 3.92 KB
/
dot_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
on-focus-changed = ['move-mouse window-lazy-center']
# Available commands : https://nikitabobko.github.io/AeroSpace/commands
# exec-on-workspace-change = ['/bin/bash', '-c',
# 'sketchybar --trigger aerospace_workspace_change FOCUSED_WORKSPACE=$AEROSPACE_FOCUSED_WORKSPACE'
# ]
start-at-login = true
# https://nikitabobko.github.io/AeroSpace/guide#normalization
# https://nikitabobko.github.io/AeroSpace/guide#layouts
enable-normalization-flatten-containers = true
enable-normalization-opposite-orientation-for-nested-containers = true
accordion-padding = 20
# tiles|accordion
default-root-container-layout = 'tiles'
# 'auto' means: wide monitor (anything wider than high) gets horizontal orientation,
# tall monitor (anything higher than wide) gets vertical orientation
default-root-container-orientation = 'auto'
key-mapping.preset = 'qwerty'
[gaps]
inner.horizontal = 6
inner.vertical = 6
# outer.top = [ { monitor."lg" = 24 }, { monitor."Smart M80C" = 24 }, 3]
outer.left = 3
outer.top = 3
outer.bottom = 3
outer.right = 3
[[on-window-detected]]
if.app-id = 'com.apple.systempreferences'
run = ['layout floating'] # The callback itself
[[on-window-detected]]
if.app-id = 'com.apple.iphonesimulator'
run = ['layout floating'] # The callback itself
[[on-window-detected]]
if.app-id = 'com.apple.iphonesimulator'
run = ['layout floating'] # The callback itself
[[on-window-detected]]
if.app-id = 'com.raycast.macos'
run = ['layout floating'] # The callback itself
[[on-window-detected]]
if.app-id = 'com.scrintal.electron'
run = ['layout floating'] # The callback itself
[[on-window-detected]]
if.app-id = 'com.apple.finder'
run = ['layout floating'] # The callback itself
[mode.main.binding]
cmd-h = [] # Disable "hide application"
cmd-alt-h = [] # Disable "hide others"
# See: https://nikitabobko.github.io/AeroSpace/commands#layout
alt-shift-space = ['layout tiles accordion']
# See: https://nikitabobko.github.io/AeroSpace/commands#focus
alt-h = 'focus left'
alt-j = 'focus down'
alt-k = 'focus up'
alt-l = 'focus right'
# aerospace focus-monitor down
# See: https://nikitabobko.github.io/AeroSpace/commands#move
alt-shift-h = 'move left'
alt-shift-j = 'move down'
alt-shift-k = 'move up'
alt-shift-l = 'move right'
# See: https://nikitabobko.github.io/AeroSpace/commands#resize
alt-r = 'mode resize' # 1. Define a binding to switch to 'resize' mode
alt-shift-minus = 'resize smart -50'
alt-shift-equal = 'resize smart +50'
# See: https://nikitabobko.github.io/AeroSpace/commands#workspace
alt-1 = 'workspace 1'
alt-2 = 'workspace 2'
alt-o = 'workspace O' # In your config, you can drop workspace bindings that you don't need
alt-p = 'workspace P'
alt-w = 'workspace W'
# See: https://nikitabobko.github.io/AeroSpace/commands#move-node-to-workspace
alt-shift-1 = 'move-node-to-workspace 1'
alt-shift-2 = 'move-node-to-workspace 2'
alt-shift-o = 'move-node-to-workspace O'
alt-shift-p = 'move-node-to-workspace P'
alt-shift-w = 'move-node-to-workspace W'
# See: https://nikitabobko.github.io/AeroSpace/commands#workspace-back-and-forth
alt-tab = 'workspace-back-and-forth'
# See: https://nikitabobko.github.io/AeroSpace/commands#move-workspace-to-monitor
alt-shift-tab = 'move-workspace-to-monitor --wrap-around next'
# See: https://nikitabobko.github.io/AeroSpace/commands#mode
alt-shift-semicolon = 'mode service'
[mode.service.binding]
space = ['layout tiles horizontal vertical', 'mode main']
esc = ['reload-config', 'mode main']
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']
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']