Skip to content

Instantly share code, notes, and snippets.

@mwenku
Last active April 6, 2026 17:19
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
# Aerospace Configuration - Spaces Only Mode
# This config disables tiling layout and only uses macOS Spaces-like behavior.
# Start AeroSpace at login
start-at-login = true
# Disable normalization to prevent auto-tiling behaviors
enable-normalization-flatten-containers = false
enable-normalization-opposite-orientation-for-nested-containers = false
on-focused-monitor-changed = []
# Default layout should be floating
default-root-container-layout = 'tiles' # This is required but we override per window below
default-root-container-orientation = 'auto'
[workspace-to-monitor-force-assignment]
1 = 1
2 = 1
3 = 1
4 = 1
5 = 1
6 = 2
7 = 2
8 = 2
9 = 2
[gaps]
inner.horizontal = 0
inner.vertical = 0
outer.left = 0
outer.bottom = 0
outer.top = 0
outer.right = 0
# KEY BINDINGS
[mode.main.binding]
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'
# Optional: Reload config with Alt+Shift+R
alt-shift-r = 'reload-config'
# FORCE FLOATING MODE FOR ALL WINDOWS
[[on-window-detected]]
run = 'layout floating'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment