Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Aerospace Config
- #==================#
- # Startup Commands #
- #==================#
- # Pre-startup:
- after-login-command = []
- # Post-startup:
- after-startup-command = []
- # Start AeroSpace at login
- start-at-login = true # Note: This MUST be enabled for the pre and post startup commands to work at all
- # Note: Available commands you can use during startup are here: https://nikitabobko.github.io/AeroSpace/commands
- #===================#
- # Windows #
- #===================#
- enable-normalization-flatten-containers = true
- enable-normalization-opposite-orientation-for-nested-containers = true
- # Note: For more information, see https://nikitabobko.github.io/AeroSpace/guide#normalization
- # Set how much of windows are visible in "accordion" mode:
- accordion-padding = 35
- # Set default root container layout:
- default-root-container-layout = 'tiles' # Possible values are 'tiles' or 'accordion'
- # Set default container orientation:
- default-root-container-orientation = 'auto' # Possible values: horizontal|vertical|auto
- # Mouse follows focus when focused monitor changes:
- on-focused-monitor-changed = ['move-mouse monitor-lazy-center']
- # Turn off the useless "hide apps" feature of macOS:
- automatically-unhide-macos-hidden-apps = true
- # Set key mapping:
- key-mapping.preset = 'qwerty' # Possible values: (qwerty|dvorak)
- # Set gaps between windows:
- [gaps]
- inner.horizontal = 10
- inner.vertical = 10
- outer.left = 10
- outer.bottom = 10
- outer.top = 10
- outer.right = 10
- # 'main' binding mode declaration:
- [mode.main.binding]
- #===================#
- # Shortcuts #
- #===================#
- # Switch layout:
- ctrl-alt-v = 'layout tiles horizontal vertical'
- ctrl-alt-h = 'layout accordion horizontal vertical'
- # toggle window zoom:
- cmd-alt-f = 'fullscreen'
- # toggle 'macOS' full screen:
- cmd-shift-f = 'macos-native-fullscreen'
- # Change focused window (vim version):
- alt-h = 'focus left'
- alt-j = 'focus down'
- alt-k = 'focus up'
- alt-l = 'focus right'
- # Change focused window (normie version):
- alt-left = 'focus left'
- alt-down = 'focus down'
- alt-up = 'focus up'
- alt-right = 'focus right'
- # Move current window to another pane (vim version):
- alt-shift-h = 'move left'
- alt-shift-j = 'move down'
- alt-shift-k = 'move up'
- alt-shift-l = 'move right'
- # Move current window to another pane (normie version):
- alt-shift-left = 'move left'
- alt-shift-down = 'move down'
- alt-shift-up = 'move up'
- alt-shift-right = 'move right'
- # Resize windows:
- alt-shift-minus = 'resize smart -50'
- alt-shift-equal = 'resize smart +50'
- # Change positions of the currently focused tile (normie version):
- cmd-alt-left = ['join-with left', 'mode main']
- cmd-alt-down = ['join-with down', 'mode main']
- cmd-alt-up = ['join-with up', 'mode main']
- cmd-alt-right = ['join-with right', 'mode main']
- # Change positions of the currently focused tile (vim version):
- cmd-alt-h = ['join-with left', 'mode main']
- cmd-alt-j = ['join-with down', 'mode main']
- cmd-alt-k = ['join-with up', 'mode main']
- cmd-alt-l = ['join-with right', 'mode main']
- # Switch to a particular workspace:
- alt-a = 'workspace A̲I'
- alt-b = 'workspace B̲rowsing'
- alt-c = 'workspace C̲ommunication'
- alt-d = 'workspace D̲avinci_Resolve'
- alt-e = 'workspace E̲xtra'
- alt-f = 'workspace F̲ile_Management'
- alt-g = 'workspace G̲aming'
- alt-m = 'workspace M̲ail_and_Calendar'
- alt-o = 'workspace O̲ther'
- alt-p = 'workspace P̲arallels'
- alt-1 = 'workspace Project-1̲'
- alt-2 = 'workspace Project-2̲'
- alt-r = 'workspace R̲ecording'
- alt-s = 'workspace S̲ystem_Administration'
- alt-t = 'workspace T̲ask_Management'
- alt-w = 'workspace W̲riting'
- # Move the app that currently has focus to another workspace:
- alt-shift-a = 'move-node-to-workspace A̲I'
- alt-shift-b = 'move-node-to-workspace B̲rowsing'
- alt-shift-c = 'move-node-to-workspace C̲ommunication'
- alt-shift-d = 'move-node-to-workspace D̲avinci_Resolve'
- alt-shift-e = 'move-node-to-workspace E̲xtra'
- alt-shift-f = 'move-node-to-workspace F̲ile_Management'
- alt-shift-g = 'move-node-to-workspace G̲aming'
- alt-shift-m = 'move-node-to-workspace M̲ail_and_Calendar'
- alt-shift-o = 'move-node-to-workspace O̲ther'
- alt-shift-p = 'move-node-to-workspace P̲arallels'
- alt-shift-1 = 'move-node-to-workspace Project-1̲'
- alt-shift-2 = 'move-node-to-workspace Project-2̲'
- alt-shift-r = 'move-node-to-workspace R̲ecording'
- alt-shift-s = 'move-node-to-workspace S̲ystem_Administration'
- alt-shift-t = 'move-node-to-workspace T̲ask_Management'
- alt-shift-w = 'move-node-to-workspace W̲riting'
- # Switch back and forth between the current and previous workspace:
- alt-tab = 'workspace-back-and-forth'
- # Move workspace to another display:
- alt-shift-tab = 'move-workspace-to-monitor --wrap-around next'
- # See: https://nikitabobko.github.io/AeroSpace/commands#mode
- alt-shift-semicolon = 'mode service'
- # Service bindings:
- [mode.service.binding]
- esc = ['reload-config', 'mode main']
- r = ['flatten-workspace-tree', 'mode main'] # reset layout
- f = ['layout floating tiling', 'mode main'] # Toggle between floating and tiling layout
- backspace = ['close-all-windows-but-current', 'mode main']
- #s = ['layout sticky tiling', 'mode main'] # sticky is not yet supported https://github.com/nikitabobko/AeroSpace/issues/2
- #===================================================#
- # Workspace Assignments for individual Applications #
- #===================================================#
- # Alacritty
- [[on-window-detected]]
- if.app-id = 'org.alacritty'
- if.during-aerospace-startup = true
- run = ['layout tiling']
- # Audacity
- [[on-window-detected]]
- if.app-id = 'org.audacityteam.audacity'
- if.during-aerospace-startup = true
- run = ['layout tiling', 'move-node-to-workspace R̲ecording']
- # Bitwarden
- [[on-window-detected]]
- if.app-id = 'com.bitwarden.desktop'
- if.during-aerospace-startup = true
- run = ['layout floating']
- # Calendar
- [[on-window-detected]]
- if.app-id = 'com.apple.Safari.WebApp.18CF2CE8-C8D1-4B99-A91C-F72EDCB7F6BB'
- if.during-aerospace-startup = true
- run = ['layout tiling', 'move-node-to-workspace M̲ail_and_Calendar']
- # Davinci Resolve
- [[on-window-detected]]
- if.app-id = 'com.blackmagic-design.DaVinciResolve'
- if.during-aerospace-startup = true
- run = ['layout tiling', 'move-node-to-workspace D̲avinci_Resolve']
- # ChatGPT
- [[on-window-detected]]
- if.app-id = 'com.openai.chat'
- if.during-aerospace-startup = true
- run = ['layout tiling', 'move-node-to-workspace A̲I']
- # Claude AI
- [[on-window-detected]]
- if.app-id = 'com.anthropic.claudefordesktop'
- if.during-aerospace-startup = true
- run = ['layout tiling', 'move-node-to-workspace A̲I']
- # Discord
- [[on-window-detected]]
- if.app-id = 'com.hnc.Discord'
- run = ['layout tiling', 'move-node-to-workspace C̲ommunication']
- # Finder
- [[on-window-detected]]
- if.app-id = 'com.apple.finder'
- run = ['layout tiling', 'move-node-to-workspace F̲ile_Management']
- # Forklift
- [[on-window-detected]]
- if.app-id = 'com.binarynights.ForkLift'
- run = ['layout tiling', 'move-node-to-workspace F̲ile_Management']
- # Gmail
- [[on-window-detected]]
- if.app-id = 'com.apple.Safari.WebApp.80B191F0-AC17-4186-8390-0B06B92967CB'
- run = ['layout tiling', 'move-node-to-workspace M̲ail_and_Calendar']
- # Home Assistant
- [[on-window-detected]]
- if.app-id = 'io.robbie.HomeAssistant'
- run = ['layout floating']
- # Lire
- [[on-window-detected]]
- if.app-id = 'maccatalyst.com.lireapp.macOS'
- run = ['layout tiling', 'move-node-to-workspace B̲rowsing']
- # Messages
- [[on-window-detected]]
- if.app-id = 'com.apple.MobileSMS'
- run = ['layout tiling', 'move-node-to-workspace C̲ommunication']
- # OBS
- [[on-window-detected]]
- if.app-id = 'com.obsproject.obs-studio'
- run = ['layout tiling', 'move-node-to-workspace R̲ecording']
- # Parallels
- [[on-window-detected]]
- if.app-id = 'com.parallels.winapp.2bc76b43e3f7774e5317ba1f4672a4b6.6d4353df58e741afa2e41d48d015c422.fs'
- run = ['layout tiling', 'move-node-to-workspace P̲arallels']
- # Pushover
- [[on-window-detected]]
- if.app-id = 'net.superblock.Pushover'
- run = ['layout tiling', 'move-node-to-workspace S̲ystem_Administration']
- # Signal
- [[on-window-detected]]
- if.app-id = 'org.whispersystems.signal-desktop'
- run = ['layout tiling', 'move-node-to-workspace C̲ommunication']
- # Side Notes
- [[on-window-detected]]
- if.app-id = 'com.apptorium.SideNotes'
- run = ['layout floating']
- # Standard Notes
- [[on-window-detected]]
- if.app-id = 'org.standardnotes.standardnotes'
- run = ['layout tiling', 'move-node-to-workspace W̲riting']
- # Steam
- [[on-window-detected]]
- if.app-id = 'com.valvesoftware.steam'
- run = ['layout tiling', 'move-node-to-workspace G̲aming']
- # Termius
- [[on-window-detected]]
- if.app-id = 'com.termius-dmg.mac'
- run = ['layout tiling', 'move-node-to-workspace S̲ystem_Administration']
- # Todoist
- [[on-window-detected]]
- if.app-id = 'com.todoist.mac.Todoist'
- run = ['layout tiling', 'move-node-to-workspace T̲ask_Management']
- # Thunderbird
- [[on-window-detected]]
- if.app-id = 'org.mozilla.thunderbird'
- run = ['layout tiling', 'move-node-to-workspace M̲ail_and_Calendar']
- # Vivaldi
- [[on-window-detected]]
- if.app-id = 'ccom.vivaldi.Vivaldi'
- run = ['layout tiling', 'move-node-to-workspace E̲xtra']
- # Vocaster
- [[on-window-detected]]
- if.app-id = 'com.focusrite.vocaster-hub'
- run = ['layout tiling', 'move-node-to-workspace R̲ecording']
- #======================#
- # Misc. Info and Notes #
- #======================#
- # All possible keys:
- # - Letters. a, b, c, ..., z
- # - Numbers. 0, 1, 2, ..., 9
- # - Keypad numbers. keypad0, keypad1, keypad2, ..., keypad9
- # - F-keys. f1, f2, ..., f20
- # - Special keys. minus, equal, period, comma, slash, backslash, quote, semicolon, backtick,
- # leftSquareBracket, rightSquareBracket, space, enter, esc, backspace, tab
- # - Keypad special. keypadClear, keypadDecimalMark, keypadDivide, keypadEnter, keypadEqual,
- # keypadMinus, keypadMultiply, keypadPlus
- # - Arrows. left, down, up, right
- # All possible modifiers: cmd, alt, ctrl, shift
- # All possible commands: https://nikitabobko.github.io/AeroSpace/commands
Advertisement
Add Comment
Please, Sign In to add comment