Simplify aerospace to align with dwm, add skhd back again

This commit is contained in:
2026-01-12 19:46:43 -06:00
parent b90e18bd2b
commit 7b2559561e
5 changed files with 26 additions and 32 deletions

View File

@@ -25,23 +25,18 @@ default-root-container-orientation = 'vertical' # opts: horizontal vertical auto
outer.right = 0
[mode.main.binding]
# layouts
cmd-comma = 'layout v_accordion'
cmd-period = 'layout h_tiles'
cmd-slash = 'layout horizontal vertical'
cmd-slash = 'layout floating'
# window resizing
alt-minus = 'resize smart -50'
alt-equal = 'resize smart +50'
# in stack mode, new windows are added "below" the current, so swap up and down
cmd-j = 'focus up'
# window focus/view
cmd-j = 'focus up' # new windows are added "below" current, so swap up and down
cmd-k = 'focus down'
cmd-l = 'focus right'
cmd-h = 'focus left'
cmd-shift-j = 'move up'
cmd-shift-k = 'move down'
cmd-shift-h = 'move left'
cmd-shift-l = 'move right'
cmd-1 = 'workspace 1'
cmd-2 = 'workspace 2'
cmd-3 = 'workspace 3'
@@ -52,6 +47,10 @@ default-root-container-orientation = 'vertical' # opts: horizontal vertical auto
cmd-8 = 'workspace 8'
cmd-9 = 'workspace 9'
cmd-0 = 'workspace 10'
# window movement
cmd-shift-j = 'move up' # new windows are added "below" current, so swap up and down
cmd-shift-k = 'move down'
cmd-shift-1 = 'move-node-to-workspace 1'
cmd-shift-2 = 'move-node-to-workspace 2'
cmd-shift-3 = 'move-node-to-workspace 3'
@@ -63,13 +62,3 @@ default-root-container-orientation = 'vertical' # opts: horizontal vertical auto
cmd-shift-9 = 'move-node-to-workspace 9'
cmd-shift-0 = 'move-node-to-workspace 10'
cmd-shift-semicolon = 'mode service'
[mode.service.binding]
r = ['reload-config', 'flatten-workspace-tree', 'mode main'] # reset layout
f = ['flatten-workspace-tree', 'layout floating', 'mode main']
cmd-h = ['join-with left', 'mode main']
cmd-j = ['join-with down', 'mode main']
cmd-k = ['join-with up', 'mode main']
cmd-l = ['join-with right', 'mode main']