Skip to content

Instantly share code, notes, and snippets.

@mwenku
Created October 10, 2025 16:55
Show Gist options
  • Select an option

  • Save mwenku/10366dcfb3c7f2caa086987962c91345 to your computer and use it in GitHub Desktop.

Select an option

Save mwenku/10366dcfb3c7f2caa086987962c91345 to your computer and use it in GitHub Desktop.
my mac spaces i3-like experience
# Place a copy of this config to ~/.aerospace.toml
# After that, you can edit ~/.aerospace.toml to your liking
# This config disables tiling/tiling layout and only uses the macOS Spaces (via option+number hotkeys)
# Remove all tiling/accordion layouts and leave only workspace switching.
# Minimal config for just having Spaces-like behavior
# Start AeroSpace at login (optional, leave as you like)
start-at-login = false
# Disable normalization (not needed for Spaces-only)
enable-normalization-flatten-containers = false
enable-normalization-opposite-orientation-for-nested-containers = false
# No after startup commands needed
after-startup-command = []
# Padding and layout irrelevant for Spaces-only
accordion-padding = 0
default-root-container-layout = 'tiles'
default-root-container-orientation = 'auto'
# Mouse follows focus when focused monitor changes (optional)
on-focused-monitor-changed = []
# macOS hide behavior, set as desired
automatically-unhide-macos-hidden-apps = false
[key-mapping]
preset = 'qwerty'
[gaps]
inner.horizontal = 0
inner.vertical = 0
outer.left = 0
outer.bottom = 0
outer.top = 0
outer.right = 0
[mode.main.binding]
# Switch to workspace N (emulates Spaces)
alt-1 = 'workspace 1'
alt-2 = 'workspace 2'
alt-3 = 'workspace 3'
alt-4 = 'workspace 4'
alt-5 = 'workspace 5'
alt-6 = 'workspace 6'
alt-7 = 'workspace 7'
alt-8 = 'workspace 8'
alt-9 = 'workspace 9'
# Move focused window to workspace N
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-shift-4 = 'move-node-to-workspace 4'
alt-shift-5 = 'move-node-to-workspace 5'
alt-shift-6 = 'move-node-to-workspace 6'
alt-shift-7 = 'move-node-to-workspace 7'
alt-shift-8 = 'move-node-to-workspace 8'
alt-shift-9 = 'move-node-to-workspace 9'
# Optionally, bind alt-tab (workspace-back-and-forth) if you want it
# alt-tab = 'workspace-back-and-forth'
# Make ALL apps float by default (disable tiling completely)
[[on-window-detected]]
run = 'layout floating'
[mode.service.binding]
# Minimal service menu (optional, you can remove this section entirely if unwanted)
esc = ['reload-config', 'mode main']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment