From bc7d07560e6f5328da295b1d898441b3ba51d5ba Mon Sep 17 00:00:00 2001 From: Ted Kulp Date: Wed, 14 Aug 2024 08:26:42 -0400 Subject: [PATCH] feat: aerospace changes --- .config/aerospace/aerospace.toml##template.j2 | 72 ++++++++++++++++++- 1 file changed, 70 insertions(+), 2 deletions(-) diff --git a/.config/aerospace/aerospace.toml##template.j2 b/.config/aerospace/aerospace.toml##template.j2 index aba2ec4..18532d0 100644 --- a/.config/aerospace/aerospace.toml##template.j2 +++ b/.config/aerospace/aerospace.toml##template.j2 @@ -77,6 +77,74 @@ outer.right = 7 8 = ['secondary', 'main'] 9 = ['secondary', 'main'] +[[on-window-detected]] +if.app-id = 'com.1password.1password' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'com.apple.ActivityMonitor' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'com.apple.AppStore' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'com.apple.Automator' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'com.apple.shortcuts' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'com.kapeli.dashdoc' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'com.agiletortoise.Drafts-OSX' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'com.bjango.istatmenus' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'com.symless.synergy' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'io.tailscale.ipn.macsys' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'com.tapbots.ivory' +run = ['layout floating'] +if.window-title-regex-substring = '(settings|ivory|compose)' +check-further-callbacks = true + +[[on-window-detected]] +if.app-id = 'com.apple.systempreferences' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'com.raycast.macos' +run = ['layout floating'] +if.window-title-regex-substring = '.*settings.*' +check-further-callbacks = true + +[[on-window-detected]] +if.app-id = 'cc.ffitch.shottr' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'com.lihaoyun6.QuickRecorder' +run = ['layout floating'] + +[[on-window-detected]] +if.app-id = 'app.soulver.appstore.mac' +run = ['layout floating'] + # 'main' binding mode declaration # See: https://nikitabobko.github.io/AeroSpace/guide#binding-modes # 'main' binding mode must be always presented @@ -126,8 +194,8 @@ alt-ctrl-shift-l = 'move right' alt-shift-minus = 'resize smart -50' alt-shift-equal = 'resize smart +50' -alt-ctrl-shift-m = 'workspace --wrap-around next' -alt-ctrl-shift-n = 'workspace --wrap-around prev' +alt-ctrl-shift-m = 'workspace next' +alt-ctrl-shift-n = 'workspace prev' # See: https://nikitabobko.github.io/AeroSpace/commands#workspace alt-shift-1 = 'workspace 1'