# You can use it to add commands that run after login to macOS user session. # 'start-at-login' needs to be 'true' for 'after-login-command' to work # Available commands: https://nikitabobko.github.io/AeroSpace/commands # after-login-command = ["exec-and-forget /bin/bash /Users/tomiko/.config/kanata/kanata.sh"] after-login-command = [] # You can use it to add commands that run after AeroSpace startup. # 'after-startup-command' is run after 'after-login-command' # Available commands : https://nikitabobko.github.io/AeroSpace/commands # Run Sketchybar together with AeroSpace # sketchbar has a built-in detection of already running process, # so it won't be run twice on AeroSpace restart after-startup-command = [] start-at-login = true enable-normalization-flatten-containers = true enable-normalization-opposite-orientation-for-nested-containers = true default-root-container-layout = 'accordion' accordion-padding = 0 default-root-container-orientation = 'horizontal' key-mapping.preset = 'qwerty' # Gaps between windows (inner-*) and between monitor edges (outer-*). # Possible values: # - Constant: gaps.outer.top = 8 # - Per monitor: gaps.outer.top = [{ monitor.main = 16 }, { monitor."some-pattern" = 32 }, 24] # In this example, 24 is a default value when there is no match. # Monitor pattern is the same as for 'workspace-to-monitor-force-assignment'. # See: https://nikitabobko.github.io/AeroSpace/guide#assign-workspaces-to-monitors [gaps] inner.horizontal = 0 inner.vertical = 0 outer.left = 0 outer.bottom = 0 outer.top = 0 outer.right = 0 [mode.main.binding] # 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 alt-shift-p = 'focus left' alt-shift-n = 'focus right' alt-1 = 'workspace 1' alt-2 = 'workspace 2' alt-3 = 'workspace 3' alt-shift-1 = 'move-node-to-workspace 1' alt-shift-2 = 'move-node-to-workspace 2' alt-shift-3 = 'move-node-to-workspace 3' alt-f = "fullscreen" [[on-window-detected]] if.app-id = 'com.apple.Preview' run = ['layout floating','move-node-to-workspace 3'] check-further-callbacks = false [[on-window-detected]] if.app-id = 'com.mitchellh.ghostty' run = 'move-node-to-workspace 2' check-further-callbacks = false [[on-window-detected]] run = 'move-node-to-workspace 1'