From ff95d28ece9878df2eb4fd23e0af41e4145533cd Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Sun, 25 May 2025 16:15:57 +0900 Subject: [PATCH] feat: adjust aerospace config --- aerospace/aerospace.toml | 52 +++++++++++++++++++++++++++++++++------- config/macos.conf.yml | 2 +- 2 files changed, 45 insertions(+), 9 deletions(-) diff --git a/aerospace/aerospace.toml b/aerospace/aerospace.toml index 6edde80..e759f19 100644 --- a/aerospace/aerospace.toml +++ b/aerospace/aerospace.toml @@ -21,7 +21,7 @@ enable-normalization-opposite-orientation-for-nested-containers = true # See: https://nikitabobko.github.io/AeroSpace/guide#layouts # The 'accordion-padding' specifies the size of accordion padding # You can set 0 to disable the padding feature -accordion-padding = 30 +accordion-padding = 50 # Possible values: tiles|accordion default-root-container-layout = 'tiles' @@ -77,6 +77,42 @@ if.window-title-regex-substring = 'ghostty' if.during-aerospace-startup = false run = 'layout floating' +[[on-window-detected]] +if.app-id = 'com.bitwarden.desktop' +if.window-title-regex-substring = 'Bitwarden' +if.during-aerospace-startup = false +run = 'layout floating' + +[[on-window-detected]] +if.app-id = 'ai.perplexity.mac' +if.window-title-regex-substring = 'perplexity' +if.during-aerospace-startup = false +run = 'layout floating' + +[[on-window-detected]] +if.app-id = 'com.apple.Preview' +if.window-title-regex-substring = 'perview' +if.during-aerospace-startup = false +run = 'layout floating' + +[[on-window-detected]] +if.app-id = 'com.apple.AppStore' +if.window-title-regex-substring = 'App Store' +if.during-aerospace-startup = false +run = 'layout floating' + +[[on-window-detected]] +if.app-id = 'cc.ffitch.shottr' +if.window-title-regex-substring = 'shottr' +if.during-aerospace-startup = false +run = 'layout floating' + +[[on-window-detected]] +if.app-id = 'app.spokenly' +if.window-title-regex-substring = 'Spokenly' +if.during-aerospace-startup = false +run = 'layout floating' + [[on-window-detected]] if.window-title-regex-substring = 'Raycast' if.during-aerospace-startup = false @@ -106,12 +142,12 @@ run = ['layout floating'] # See: # https://nikitabobko.github.io/AeroSpace/guide#assign-workspaces-to-monitors [gaps] - inner.horizontal = 2 - inner.vertical = 2 - outer.left = 2 - outer.bottom = 2 - outer.top = 2 - outer.right = 2 + inner.horizontal = 0 + inner.vertical = 0 + outer.left = 0 + outer.bottom = 0 + outer.top = 0 + outer.right = 0 # 'main' binding mode declaration # See: https://nikitabobko.github.io/AeroSpace/guide#binding-modes @@ -145,7 +181,7 @@ run = ['layout floating'] # activate # end tell' # ''' - alt-enter = 'exec-and-forget open -n /Applications/Ghostty.app' + # alt-enter = 'exec-and-forget open -n /Applications/Ghostty.app' # See: https://nikitabobko.github.io/AeroSpace/commands#layout alt-slash = 'layout tiles horizontal vertical' diff --git a/config/macos.conf.yml b/config/macos.conf.yml index 0380482..ad04560 100644 --- a/config/macos.conf.yml +++ b/config/macos.conf.yml @@ -90,7 +90,6 @@ - obs - obsidian - orbstack - - plexamp - postman - raycast - smartgit @@ -103,3 +102,4 @@ - warp - youtube-music - zerotier-one + - nikitabobko/tap/aerospace