mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
165 lines
4.1 KiB
TOML
165 lines
4.1 KiB
TOML
# Start AeroSpace at Login
|
|
start-at-login = true
|
|
|
|
after-login-command = []
|
|
after-startup-command = []
|
|
|
|
# Normalizations.
|
|
enable-normalization-flatten-containers = true
|
|
enable-normalization-opposite-orientation-for-nested-containers = true
|
|
|
|
# Paddings
|
|
accordion-padding = 30
|
|
|
|
# Default Layout
|
|
default-root-container-layout = 'tiles'
|
|
default-root-container-orientation = 'auto'
|
|
|
|
# Key Mapping
|
|
key-mapping.preset = 'qwerty'
|
|
|
|
# Mouse follows focus when focused monitor changes
|
|
on-focused-monitor-changed = ['move-mouse monitor-lazy-center']
|
|
on-focus-changed = "move-mouse window-lazy-center"
|
|
|
|
# Gaps
|
|
[gaps]
|
|
inner.horizontal = 10
|
|
inner.vertical = 10
|
|
outer.left = 10
|
|
outer.bottom = 10
|
|
outer.top = 10
|
|
outer.right = 10
|
|
|
|
# ✂---✂---✂---✂---✂---✂---✂---✂
|
|
|
|
# 'main' Mode
|
|
[mode.main.binding]
|
|
|
|
# Change Layout
|
|
alt-slash = 'layout tiles horizontal vertical'
|
|
alt-comma = 'layout accordion horizontal vertical'
|
|
|
|
# Focus
|
|
alt-h = 'focus left'
|
|
alt-j = 'focus down'
|
|
alt-k = 'focus up'
|
|
alt-l = 'focus right'
|
|
|
|
# Moving
|
|
alt-shift-h = 'move left'
|
|
alt-shift-j = 'move down'
|
|
alt-shift-k = 'move up'
|
|
alt-shift-l = 'move right'
|
|
|
|
# Resizing
|
|
alt-shift-minus = 'resize smart -50'
|
|
alt-shift-equal = 'resize smart +50'
|
|
|
|
# Workspaces
|
|
alt-ctrl-1 = 'workspace 1'
|
|
alt-ctrl-2 = 'workspace 2'
|
|
alt-ctrl-3 = 'workspace 3'
|
|
alt-ctrl-4 = 'workspace 4'
|
|
alt-ctrl-5 = 'workspace 5'
|
|
alt-ctrl-6 = 'workspace 6'
|
|
alt-ctrl-7 = 'workspace 7'
|
|
alt-ctrl-8 = 'workspace 8'
|
|
alt-ctrl-9 = 'workspace 9'
|
|
|
|
# Move to Workspace
|
|
alt-ctrl-shift-1 = 'move-node-to-workspace 1'
|
|
alt-ctrl-shift-2 = 'move-node-to-workspace 2'
|
|
alt-ctrl-shift-3 = 'move-node-to-workspace 3'
|
|
alt-ctrl-shift-4 = 'move-node-to-workspace 4'
|
|
alt-ctrl-shift-5 = 'move-node-to-workspace 5'
|
|
alt-ctrl-shift-6 = 'move-node-to-workspace 6'
|
|
alt-ctrl-shift-7 = 'move-node-to-workspace 7'
|
|
alt-ctrl-shift-8 = 'move-node-to-workspace 8'
|
|
alt-ctrl-shift-9 = 'move-node-to-workspace 9'
|
|
|
|
# Fullscreen
|
|
ctrl-alt-cmd-f = "fullscreen"
|
|
|
|
# Move to monitor
|
|
alt-shift-tab = 'move-workspace-to-monitor --wrap-around next'
|
|
|
|
# Service Mode
|
|
alt-shift-semicolon = 'mode service'
|
|
|
|
# ✂---✂---✂---✂---✂---✂---✂---✂
|
|
|
|
# 'service' Mode
|
|
[mode.service.binding]
|
|
|
|
esc = ['reload-config', 'mode main']
|
|
r = ['flatten-workspace-tree', 'mode main'] # reset layout
|
|
#s = ['layout sticky tiling', 'mode main'] # sticky is not yet supported https://github.com/nikitabobko/AeroSpace/issues/2
|
|
f = ['layout floating tiling', 'mode main'] # Toggle between floating and tiling layout
|
|
backspace = ['close-all-windows-but-current', 'mode main']
|
|
|
|
# Join Windows
|
|
alt-shift-h = ['join-with left', 'mode main']
|
|
alt-shift-j = ['join-with down', 'mode main']
|
|
alt-shift-k = ['join-with up', 'mode main']
|
|
alt-shift-l = ['join-with right', 'mode main']
|
|
|
|
# ✂---✂---✂---✂---✂---✂---✂---✂
|
|
|
|
# Window Autodetection
|
|
[[on-window-detected]]
|
|
if.app-id = 'com.mitchellh.ghostty'
|
|
run = "move-node-to-workspace 1"
|
|
|
|
[[on-window-detected]]
|
|
if.app-id = 'com.github.wez.wezterm'
|
|
run = "move-node-to-workspace 1"
|
|
|
|
[[on-window-detected]]
|
|
if.app-id = 'com.brave.Browser'
|
|
run = "move-node-to-workspace 2"
|
|
|
|
[[on-window-detected]]
|
|
if.app-id = 'company.thebrowser.Browser'
|
|
run = "move-node-to-workspace 2"
|
|
|
|
[[on-window-detected]]
|
|
if.app-id = 'tw.ogdesign.eagle'
|
|
run = "move-node-to-workspace 3"
|
|
|
|
[[on-window-detected]]
|
|
if.app-id = 'com.devon-technologies.think3'
|
|
run = "move-node-to-workspace 4"
|
|
|
|
[[on-window-detected]]
|
|
if.app-id = 'md.obsidian'
|
|
run = "move-node-to-workspace 5"
|
|
|
|
[[on-window-detected]]
|
|
if.app-id = 'com.spotify.client'
|
|
run = "move-node-to-workspace 6"
|
|
|
|
[[on-window-detected]]
|
|
if.app-id = 'com.microsoft.teams2'
|
|
run = "move-node-to-workspace 7"
|
|
|
|
[[on-window-detected]]
|
|
if.app-id = 'com.figma.Desktop'
|
|
run = "move-node-to-workspace 9"
|
|
|
|
[[on-window-detected]]
|
|
if.app-id = 'company.thebrowser.Browser'
|
|
check-further-callbacks = true
|
|
run = 'layout floating'
|
|
|
|
[[on-window-detected]]
|
|
if.app-id = 'com.daisydiskapp.DaisyDiskStandAlone'
|
|
check-further-callbacks = true
|
|
run = 'layout floating'
|
|
|
|
[[on-window-detected]]
|
|
if.app-id = 'company.thebrowser.Browser'
|
|
if.window-title-regex-substring = '^[^Space|Little]'
|
|
check-further-callbacks = true
|
|
run = 'layout tiling'
|