Skip to content

Commit

Permalink
feat(aerospace): update configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslawgrochowski committed Oct 16, 2024
1 parent 97c4519 commit 34392de
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions modules/aerospace/aerospace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ default-root-container-orientation = 'horizontal'
# See https://nikitabobko.github.io/AeroSpace/guide#key-mapping
key-mapping.preset = 'qwerty'

# Mouse follows focus when focused monitor changes
# Drop it from your config, if you don't like this behavior
# See https://nikitabobko.github.io/AeroSpace/guide#on-focus-changed-callbacks
# See https://nikitabobko.github.io/AeroSpace/commands#move-mouse
# Fallback value (if you omit the key): on-focused-monitor-changed = []
on-focused-monitor-changed = ['move-mouse monitor-lazy-center']
on-focus-changed = "move-mouse window-lazy-center"

# Gaps between windows (inner-*) and between monitor edges (outer-*).
# Possible values:
# - Constant: gaps.outer.top = 8
Expand Down Expand Up @@ -117,21 +125,15 @@ cmd-ctrl-alt-shift-l = 'focus --boundaries all-monitors-outer-frame right'
# See: https://nikitabobko.github.io/AeroSpace/commands#move-workspace-to-monitor
cmd-ctrl-alt-shift-tab = 'move-workspace-to-monitor --wrap-around next'

# See: https://nikitabobko.github.io/AeroSpace/commands#mode
# cmd-ctrl-alt-shift-semicolon = 'mode service'

# 'service' binding mode declaration.
# See: https://nikitabobko.github.io/AeroSpace/guide#binding-modes
# [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']

# cmd-ctrl-alt-shift-shift-h = ['join-with left', 'mode main']
# cmd-ctrl-alt-shift-shift-j = ['join-with down', 'mode main']
# cmd-ctrl-alt-shift-shift-k = ['join-with up', 'mode main']
# cmd-ctrl-alt-shift-shift-l = ['join-with right', 'mode main']

cmd-ctrl-alt-shift-q = 'close'

# See: https://nikitabobko.github.io/AeroSpace/commands#mode
cmd-ctrl-alt-shift-m = 'mode modify'
[mode.modify.binding]
esc = 'mode main'
h = 'move left'
j = 'move down'
k = 'move up'
l = 'move right'
minus = 'resize smart -50'
equal = 'resize smart +50'

0 comments on commit 34392de

Please sign in to comment.