77 lines
2.4 KiB
TOML
77 lines
2.4 KiB
TOML
# i3 doesn't have "normalizations" feature that why we disable them here.
|
|
# But the feature is very helpful.
|
|
# Normalizations eliminate all sorts of weird tree configurations that don't make sense.
|
|
# Give normalizations a chance and enable them back.
|
|
enable-normalization-flatten-containers = true
|
|
enable-normalization-opposite-orientation-for-nested-containers = true
|
|
automatically-unhide-macos-hidden-apps = true
|
|
|
|
# Mouse follows focus when focused monitor changes
|
|
on-focused-monitor-changed = ['move-mouse monitor-lazy-center']
|
|
|
|
start-at-login = true
|
|
|
|
[gaps]
|
|
inner.horizontal = 10
|
|
inner.vertical = 10
|
|
outer.left = 5
|
|
outer.bottom = 5
|
|
outer.top = 5
|
|
outer.right = 5
|
|
|
|
|
|
[mode.main.binding]
|
|
alt-enter = 'exec-and-forget alacritty msg create-window || alacritty'
|
|
|
|
alt-b = 'exec-and-forget /Applications/LibreWolf.app/Contents/MacOS/librewolf'
|
|
|
|
# i3 wraps focus by default
|
|
alt-h = 'focus left'
|
|
alt-j = 'focus down'
|
|
alt-k = 'focus up'
|
|
alt-l = 'focus right'
|
|
|
|
# alt-shift-j = 'move left'
|
|
# alt-shift-k = 'move down'
|
|
# alt-shift-l = 'move up'
|
|
# alt-shift-semicolon = 'move right'
|
|
|
|
# Consider using 'join-with' command as a 'split' replacement if you want to enable
|
|
# normalizations
|
|
# alt-h = 'split horizontal'
|
|
# alt-v = 'split vertical'
|
|
|
|
alt-f = 'fullscreen'
|
|
|
|
alt-shift-q = 'exec-and-forget current_workspace="$(aerospace list-workspaces --focused)"; aerospace close; aerospace workspace "$current_workspace"'
|
|
|
|
alt-shift-space = 'layout floating tiling' # 'floating toggle' in i3
|
|
|
|
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'
|
|
alt-0 = 'workspace 10'
|
|
|
|
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'
|
|
alt-shift-0 = 'move-node-to-workspace 10'
|
|
|
|
|
|
alt-shift-r = 'reload-config'
|
|
|
|
alt-y = 'resize width -50'
|
|
alt-o = 'resize width +50'
|