jay_lltv

aerospace.toml

Sep 20th, 2025
1,710
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.05 KB | None | 0 0
  1. # Aerospace Config
  2.  
  3. #==================#
  4. # Startup Commands #
  5. #==================#
  6. # Pre-startup:
  7. after-login-command = []
  8.  
  9. # Post-startup:
  10. after-startup-command = []
  11.  
  12. # Start AeroSpace at login
  13. start-at-login = true # Note: This MUST be enabled for the pre and post startup commands to work at all
  14.  
  15. # Note: Available commands you can use during startup are here: https://nikitabobko.github.io/AeroSpace/commands
  16.  
  17.  
  18. #===================#
  19. # Windows #
  20. #===================#
  21. enable-normalization-flatten-containers = true
  22. enable-normalization-opposite-orientation-for-nested-containers = true
  23. # Note: For more information, see https://nikitabobko.github.io/AeroSpace/guide#normalization
  24.  
  25. # Set how much of windows are visible in "accordion" mode:
  26. accordion-padding = 35
  27.  
  28. # Set default root container layout:
  29. default-root-container-layout = 'tiles' # Possible values are 'tiles' or 'accordion'
  30.  
  31.  
  32. # Set default container orientation:
  33. default-root-container-orientation = 'auto' # Possible values: horizontal|vertical|auto
  34.  
  35. # Mouse follows focus when focused monitor changes:
  36. on-focused-monitor-changed = ['move-mouse monitor-lazy-center']
  37.  
  38. # Turn off the useless "hide apps" feature of macOS:
  39. automatically-unhide-macos-hidden-apps = true
  40.  
  41. # Set key mapping:
  42. key-mapping.preset = 'qwerty' # Possible values: (qwerty|dvorak)
  43.  
  44. # Set gaps between windows:
  45. [gaps]
  46. inner.horizontal = 10
  47. inner.vertical = 10
  48. outer.left = 10
  49. outer.bottom = 10
  50. outer.top = 10
  51. outer.right = 10
  52.  
  53. # 'main' binding mode declaration:
  54. [mode.main.binding]
  55.  
  56.  
  57. #===================#
  58. # Shortcuts #
  59. #===================#
  60. # Switch layout:
  61. ctrl-alt-v = 'layout tiles horizontal vertical'
  62. ctrl-alt-h = 'layout accordion horizontal vertical'
  63.  
  64. # toggle window zoom:
  65. cmd-alt-f = 'fullscreen'
  66.  
  67. # toggle 'macOS' full screen:
  68. cmd-shift-f = 'macos-native-fullscreen'
  69.  
  70. # Change focused window (vim version):
  71. alt-h = 'focus left'
  72. alt-j = 'focus down'
  73. alt-k = 'focus up'
  74. alt-l = 'focus right'
  75.  
  76. # Change focused window (normie version):
  77. alt-left = 'focus left'
  78. alt-down = 'focus down'
  79. alt-up = 'focus up'
  80. alt-right = 'focus right'
  81.  
  82. # Move current window to another pane (vim version):
  83. alt-shift-h = 'move left'
  84. alt-shift-j = 'move down'
  85. alt-shift-k = 'move up'
  86. alt-shift-l = 'move right'
  87.  
  88. # Move current window to another pane (normie version):
  89. alt-shift-left = 'move left'
  90. alt-shift-down = 'move down'
  91. alt-shift-up = 'move up'
  92. alt-shift-right = 'move right'
  93.  
  94. # Resize windows:
  95. alt-shift-minus = 'resize smart -50'
  96. alt-shift-equal = 'resize smart +50'
  97.  
  98. # Change positions of the currently focused tile (normie version):
  99. cmd-alt-left = ['join-with left', 'mode main']
  100. cmd-alt-down = ['join-with down', 'mode main']
  101. cmd-alt-up = ['join-with up', 'mode main']
  102. cmd-alt-right = ['join-with right', 'mode main']
  103.  
  104. # Change positions of the currently focused tile (vim version):
  105. cmd-alt-h = ['join-with left', 'mode main']
  106. cmd-alt-j = ['join-with down', 'mode main']
  107. cmd-alt-k = ['join-with up', 'mode main']
  108. cmd-alt-l = ['join-with right', 'mode main']
  109.  
  110. # Switch to a particular workspace:
  111. alt-a = 'workspace A̲I'
  112. alt-b = 'workspace B̲rowsing'
  113. alt-c = 'workspace C̲ommunication'
  114. alt-d = 'workspace D̲avinci_Resolve'
  115. alt-e = 'workspace E̲xtra'
  116. alt-f = 'workspace F̲ile_Management'
  117. alt-g = 'workspace G̲aming'
  118. alt-m = 'workspace M̲ail_and_Calendar'
  119. alt-o = 'workspace O̲ther'
  120. alt-p = 'workspace P̲arallels'
  121. alt-1 = 'workspace Project-1̲'
  122. alt-2 = 'workspace Project-2̲'
  123. alt-r = 'workspace R̲ecording'
  124. alt-s = 'workspace S̲ystem_Administration'
  125. alt-t = 'workspace T̲ask_Management'
  126. alt-w = 'workspace W̲riting'
  127.  
  128. # Move the app that currently has focus to another workspace:
  129. alt-shift-a = 'move-node-to-workspace A̲I'
  130. alt-shift-b = 'move-node-to-workspace B̲rowsing'
  131. alt-shift-c = 'move-node-to-workspace C̲ommunication'
  132. alt-shift-d = 'move-node-to-workspace D̲avinci_Resolve'
  133. alt-shift-e = 'move-node-to-workspace E̲xtra'
  134. alt-shift-f = 'move-node-to-workspace F̲ile_Management'
  135. alt-shift-g = 'move-node-to-workspace G̲aming'
  136. alt-shift-m = 'move-node-to-workspace M̲ail_and_Calendar'
  137. alt-shift-o = 'move-node-to-workspace O̲ther'
  138. alt-shift-p = 'move-node-to-workspace P̲arallels'
  139. alt-shift-1 = 'move-node-to-workspace Project-1̲'
  140. alt-shift-2 = 'move-node-to-workspace Project-2̲'
  141. alt-shift-r = 'move-node-to-workspace R̲ecording'
  142. alt-shift-s = 'move-node-to-workspace S̲ystem_Administration'
  143. alt-shift-t = 'move-node-to-workspace T̲ask_Management'
  144. alt-shift-w = 'move-node-to-workspace W̲riting'
  145.  
  146. # Switch back and forth between the current and previous workspace:
  147. alt-tab = 'workspace-back-and-forth'
  148.  
  149. # Move workspace to another display:
  150. alt-shift-tab = 'move-workspace-to-monitor --wrap-around next'
  151.  
  152. # See: https://nikitabobko.github.io/AeroSpace/commands#mode
  153. alt-shift-semicolon = 'mode service'
  154.  
  155. # Service bindings:
  156. [mode.service.binding]
  157. esc = ['reload-config', 'mode main']
  158. r = ['flatten-workspace-tree', 'mode main'] # reset layout
  159. f = ['layout floating tiling', 'mode main'] # Toggle between floating and tiling layout
  160. backspace = ['close-all-windows-but-current', 'mode main']
  161. #s = ['layout sticky tiling', 'mode main'] # sticky is not yet supported https://github.com/nikitabobko/AeroSpace/issues/2
  162.  
  163.  
  164. #===================================================#
  165. # Workspace Assignments for individual Applications #
  166. #===================================================#
  167. # Alacritty
  168. [[on-window-detected]]
  169. if.app-id = 'org.alacritty'
  170. if.during-aerospace-startup = true
  171. run = ['layout tiling']
  172.  
  173. # Audacity
  174. [[on-window-detected]]
  175. if.app-id = 'org.audacityteam.audacity'
  176. if.during-aerospace-startup = true
  177. run = ['layout tiling', 'move-node-to-workspace R̲ecording']
  178.  
  179. # Bitwarden
  180. [[on-window-detected]]
  181. if.app-id = 'com.bitwarden.desktop'
  182. if.during-aerospace-startup = true
  183. run = ['layout floating']
  184.  
  185. # Calendar
  186. [[on-window-detected]]
  187. if.app-id = 'com.apple.Safari.WebApp.18CF2CE8-C8D1-4B99-A91C-F72EDCB7F6BB'
  188. if.during-aerospace-startup = true
  189. run = ['layout tiling', 'move-node-to-workspace M̲ail_and_Calendar']
  190.  
  191. # Davinci Resolve
  192. [[on-window-detected]]
  193. if.app-id = 'com.blackmagic-design.DaVinciResolve'
  194. if.during-aerospace-startup = true
  195. run = ['layout tiling', 'move-node-to-workspace D̲avinci_Resolve']
  196.  
  197. # ChatGPT
  198. [[on-window-detected]]
  199. if.app-id = 'com.openai.chat'
  200. if.during-aerospace-startup = true
  201. run = ['layout tiling', 'move-node-to-workspace A̲I']
  202.  
  203. # Claude AI
  204. [[on-window-detected]]
  205. if.app-id = 'com.anthropic.claudefordesktop'
  206. if.during-aerospace-startup = true
  207. run = ['layout tiling', 'move-node-to-workspace A̲I']
  208.  
  209. # Discord
  210. [[on-window-detected]]
  211. if.app-id = 'com.hnc.Discord'
  212. run = ['layout tiling', 'move-node-to-workspace C̲ommunication']
  213.  
  214. # Finder
  215. [[on-window-detected]]
  216. if.app-id = 'com.apple.finder'
  217. run = ['layout tiling', 'move-node-to-workspace F̲ile_Management']
  218.  
  219. # Forklift
  220. [[on-window-detected]]
  221. if.app-id = 'com.binarynights.ForkLift'
  222. run = ['layout tiling', 'move-node-to-workspace F̲ile_Management']
  223.  
  224. # Gmail
  225. [[on-window-detected]]
  226. if.app-id = 'com.apple.Safari.WebApp.80B191F0-AC17-4186-8390-0B06B92967CB'
  227. run = ['layout tiling', 'move-node-to-workspace M̲ail_and_Calendar']
  228.  
  229. # Home Assistant
  230. [[on-window-detected]]
  231. if.app-id = 'io.robbie.HomeAssistant'
  232. run = ['layout floating']
  233.  
  234. # Lire
  235. [[on-window-detected]]
  236. if.app-id = 'maccatalyst.com.lireapp.macOS'
  237. run = ['layout tiling', 'move-node-to-workspace B̲rowsing']
  238.  
  239. # Messages
  240. [[on-window-detected]]
  241. if.app-id = 'com.apple.MobileSMS'
  242. run = ['layout tiling', 'move-node-to-workspace C̲ommunication']
  243.  
  244. # OBS
  245. [[on-window-detected]]
  246. if.app-id = 'com.obsproject.obs-studio'
  247. run = ['layout tiling', 'move-node-to-workspace R̲ecording']
  248.  
  249. # Parallels
  250. [[on-window-detected]]
  251. if.app-id = 'com.parallels.winapp.2bc76b43e3f7774e5317ba1f4672a4b6.6d4353df58e741afa2e41d48d015c422.fs'
  252. run = ['layout tiling', 'move-node-to-workspace P̲arallels']
  253.  
  254. # Pushover
  255. [[on-window-detected]]
  256. if.app-id = 'net.superblock.Pushover'
  257. run = ['layout tiling', 'move-node-to-workspace S̲ystem_Administration']
  258.  
  259. # Signal
  260. [[on-window-detected]]
  261. if.app-id = 'org.whispersystems.signal-desktop'
  262. run = ['layout tiling', 'move-node-to-workspace C̲ommunication']
  263.  
  264. # Side Notes
  265. [[on-window-detected]]
  266. if.app-id = 'com.apptorium.SideNotes'
  267. run = ['layout floating']
  268.  
  269. # Standard Notes
  270. [[on-window-detected]]
  271. if.app-id = 'org.standardnotes.standardnotes'
  272. run = ['layout tiling', 'move-node-to-workspace W̲riting']
  273.  
  274. # Steam
  275. [[on-window-detected]]
  276. if.app-id = 'com.valvesoftware.steam'
  277. run = ['layout tiling', 'move-node-to-workspace G̲aming']
  278.  
  279. # Termius
  280. [[on-window-detected]]
  281. if.app-id = 'com.termius-dmg.mac'
  282. run = ['layout tiling', 'move-node-to-workspace S̲ystem_Administration']
  283.  
  284. # Todoist
  285. [[on-window-detected]]
  286. if.app-id = 'com.todoist.mac.Todoist'
  287. run = ['layout tiling', 'move-node-to-workspace T̲ask_Management']
  288.  
  289. # Thunderbird
  290. [[on-window-detected]]
  291. if.app-id = 'org.mozilla.thunderbird'
  292. run = ['layout tiling', 'move-node-to-workspace M̲ail_and_Calendar']
  293.  
  294. # Vivaldi
  295. [[on-window-detected]]
  296. if.app-id = 'ccom.vivaldi.Vivaldi'
  297. run = ['layout tiling', 'move-node-to-workspace E̲xtra']
  298.  
  299. # Vocaster
  300. [[on-window-detected]]
  301. if.app-id = 'com.focusrite.vocaster-hub'
  302. run = ['layout tiling', 'move-node-to-workspace R̲ecording']
  303.  
  304.  
  305. #======================#
  306. # Misc. Info and Notes #
  307. #======================#
  308. # All possible keys:
  309. # - Letters. a, b, c, ..., z
  310. # - Numbers. 0, 1, 2, ..., 9
  311. # - Keypad numbers. keypad0, keypad1, keypad2, ..., keypad9
  312. # - F-keys. f1, f2, ..., f20
  313. # - Special keys. minus, equal, period, comma, slash, backslash, quote, semicolon, backtick,
  314. # leftSquareBracket, rightSquareBracket, space, enter, esc, backspace, tab
  315. # - Keypad special. keypadClear, keypadDecimalMark, keypadDivide, keypadEnter, keypadEqual,
  316. # keypadMinus, keypadMultiply, keypadPlus
  317. # - Arrows. left, down, up, right
  318.  
  319. # All possible modifiers: cmd, alt, ctrl, shift
  320.  
  321. # All possible commands: https://nikitabobko.github.io/AeroSpace/commands
Advertisement
Add Comment
Please, Sign In to add comment