From 08749d33ecea15338de387377af99a43e40981f8 Mon Sep 17 00:00:00 2001 From: Mikkel Svartveit Date: Fri, 21 Nov 2025 13:24:57 +0100 Subject: [PATCH] Update Aerospace config --- aerospace/aerospace.toml | 65 ++++++++++++++++++++-------------------- fish/config.fish | 1 + 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/aerospace/aerospace.toml b/aerospace/aerospace.toml index dd483ea..1d62271 100644 --- a/aerospace/aerospace.toml +++ b/aerospace/aerospace.toml @@ -15,7 +15,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 = 20 +accordion-padding = 10 # Possible values: tiles|accordion default-root-container-layout = 'tiles' @@ -92,7 +92,7 @@ automatically-unhide-macos-hidden-apps = true # ''' # See: https://nikitabobko.github.io/AeroSpace/commands#layout - alt-slash = 'layout tiles horizontal vertical' + alt-slash = 'layout tiles horizontal vertical' # alt-dash on Norwegian keyboard alt-comma = 'layout accordion horizontal vertical' # See: https://nikitabobko.github.io/AeroSpace/commands#focus @@ -108,8 +108,8 @@ automatically-unhide-macos-hidden-apps = true alt-shift-l = 'move right' # See: https://nikitabobko.github.io/AeroSpace/commands#resize - alt-minus = 'resize smart +50' - alt-equal = 'resize smart -50' + alt-minus = 'resize smart +50' # alt-+ on Norwegian keyboard + alt-equal = 'resize smart -50' # alt-ยด on Norwegian keyboard # See: https://nikitabobko.github.io/AeroSpace/commands#workspace alt-1 = 'workspace 1' @@ -154,7 +154,6 @@ automatically-unhide-macos-hidden-apps = true [mode.service.binding] esc = ['reload-config', 'mode main'] r = ['flatten-workspace-tree', 'mode main'] # reset layout - f = ['layout floating tiling', 'mode main'] # Toggle between floating and tiling layout backspace = ['close-all-windows-but-current', 'mode main'] # sticky is not yet supported https://github.com/nikitabobko/AeroSpace/issues/2 @@ -165,33 +164,33 @@ automatically-unhide-macos-hidden-apps = true alt-shift-k = ['join-with up', 'mode main'] alt-shift-l = ['join-with right', 'mode main'] - down = 'volume down' - up = 'volume up' - shift-down = ['volume set 0', 'mode main'] - # These apps should always open in floating mode -# [[on-window-detected]] -# if.app-id = 'com.apple.Music' -# run = 'layout floating' -# -# [[on-window-detected]] -# if.app-id = 'com.TickTick.task.mac' -# run = 'layout floating' -# -# [[on-window-detected]] -# if.app-id = 'com.apple.MobileSMS' -# run = 'layout floating' -# -# [[on-window-detected]] -# if.app-id = 'com.1password.1password' -# run = 'layout floating' -# -# [[on-window-detected]] -# if.app-id = 'com.apple.iCal' -# run = 'layout floating' -# -# [[on-window-detected]] -# if.app-id = 'org.whispersystems.signal-desktop' -# run = 'layout floating' -# +[[on-window-detected]] + if.app-id = 'com.apple.Music' + run = 'layout floating' + +[[on-window-detected]] + if.app-id = 'com.TickTick.task.mac' + run = 'layout floating' + +[[on-window-detected]] + if.app-id = 'com.apple.MobileSMS' + run = 'layout floating' + +[[on-window-detected]] + if.app-id = 'com.1password.1password' + run = 'layout floating' + +[[on-window-detected]] + if.app-id = 'com.apple.iCal' + run = 'layout floating' + +[[on-window-detected]] + if.app-id = 'org.whispersystems.signal-desktop' + run = 'layout floating' + +[[on-window-detected]] + if.app-id = 'net.whatsapp.WhatsApp' + run = 'layout floating' + diff --git a/fish/config.fish b/fish/config.fish index f4b2030..90b113d 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -13,6 +13,7 @@ alias cloud-sync="rsync -auzP --exclude=.DS_Store '/Volumes/Samsung T7/misvaClou alias zshrc="nvim ~/.zshrc" alias fishconfig="cd ~/.config/fish && nvim config.fish && cd -" alias nvimconfig="cd ~/.config/nvim && nvim && cd -" +alias asconfig="cd ~/.config/aerospace && nvim aerospace.toml && cd -" abbr v "nvim" abbr c "claude"