From 452fa88d70f649a5ad9bef665d51d999163d901e Mon Sep 17 00:00:00 2001 From: Nikita Bykov Date: Fri, 22 Aug 2025 00:58:18 +0500 Subject: [PATCH] added aerospace config for simple macos twm --- .config/aerospace/aerospace.toml | 74 ++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 .config/aerospace/aerospace.toml diff --git a/.config/aerospace/aerospace.toml b/.config/aerospace/aerospace.toml new file mode 100644 index 0000000..b90aadf --- /dev/null +++ b/.config/aerospace/aerospace.toml @@ -0,0 +1,74 @@ +# 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-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'