From eb3ca0a023d07caf8c1bfa32a8b7c895156dfcb4 Mon Sep 17 00:00:00 2001 From: Christian Baer Date: Thu, 23 Jan 2025 23:05:02 +0100 Subject: [PATCH] aerospace: Updated config --- .config/aerospace/aerospace.toml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.config/aerospace/aerospace.toml b/.config/aerospace/aerospace.toml index ebecd51..39f9981 100644 --- a/.config/aerospace/aerospace.toml +++ b/.config/aerospace/aerospace.toml @@ -13,8 +13,10 @@ after-login-command = [] # You can use it to add commands that run after AeroSpace startup. # 'after-startup-command' is run after 'after-login-command' # Available commands : https://nikitabobko.github.io/AeroSpace/commands +# JankyBorders has a built-in detection of already running process, +# so it won't be run twice on AeroSpace restart after-startup-command = [ - 'exec-and-forget borders active_color=0xffeff1f5 inactive_color=0xff8c8fa1 width=10' + 'exec-and-forget borders active_color=0xffeff1f5 inactive_color=0xff8c8fa1 width=10.0' ] # Start AeroSpace at login @@ -63,12 +65,12 @@ preset = 'qwerty' # See: https://nikitabobko.github.io/AeroSpace/guide#assign-workspaces-to-monitors [gaps] -inner.horizontal = 24 -inner.vertical = 24 -outer.left = 24 -outer.bottom = 24 -outer.top = 24 -outer.right = 24 +inner.horizontal = 16 +inner.vertical = 16 +outer.left = 16 +outer.bottom = 16 +outer.top = 16 +outer.right = 16 # 'main' binding mode declaration # See: https://nikitabobko.github.io/AeroSpace/guide#binding-modes @@ -118,8 +120,8 @@ cmd-ctrl-alt-shift-k = 'move up' cmd-ctrl-alt-shift-l = 'move right' # See: https://nikitabobko.github.io/AeroSpace/commands#resize -cmd-ctrl-alt-shift-minus = 'resize smart -50' -cmd-ctrl-alt-shift-equal = 'resize smart +50' +cmd-ctrl-alt-shift-down = 'resize smart -50' +cmd-ctrl-alt-shift-up = 'resize smart +50' # See: https://nikitabobko.github.io/AeroSpace/commands#workspace cmd-ctrl-alt-1 = 'workspace 1' @@ -239,6 +241,10 @@ run = 'move-node-to-workspace 4' if.app-id = 'com.googlecode.iterm2' run = 'move-node-to-workspace 5' +[[on-window-detected]] +if.app-id = 'com.mitchellh.ghostty' +run = 'move-node-to-workspace 5' + ## Workspace 6: Code [[on-window-detected]] if.app-id = 'com.vscodium' @@ -283,4 +289,4 @@ inherit-env-vars = true ## Add homebrew prefix to path [exec.env-vars] -PATH = '$(brew --prefix)/bin:/$(brew --prefix)/sbin:${PATH}' \ No newline at end of file +PATH = '$(brew --prefix)/bin:/$(brew --prefix)/sbin:${PATH}'