Update Aerospace config

This commit is contained in:
Mikkel Svartveit 2025-11-21 13:24:57 +01:00
parent d3da96fd86
commit 08749d33ec
2 changed files with 33 additions and 33 deletions

View file

@ -15,7 +15,7 @@ enable-normalization-opposite-orientation-for-nested-containers = true
# See: https://nikitabobko.github.io/AeroSpace/guide#layouts # See: https://nikitabobko.github.io/AeroSpace/guide#layouts
# The 'accordion-padding' specifies the size of accordion padding # The 'accordion-padding' specifies the size of accordion padding
# You can set 0 to disable the padding feature # You can set 0 to disable the padding feature
accordion-padding = 20 accordion-padding = 10
# Possible values: tiles|accordion # Possible values: tiles|accordion
default-root-container-layout = 'tiles' default-root-container-layout = 'tiles'
@ -92,7 +92,7 @@ automatically-unhide-macos-hidden-apps = true
# ''' # '''
# See: https://nikitabobko.github.io/AeroSpace/commands#layout # 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' alt-comma = 'layout accordion horizontal vertical'
# See: https://nikitabobko.github.io/AeroSpace/commands#focus # See: https://nikitabobko.github.io/AeroSpace/commands#focus
@ -108,8 +108,8 @@ automatically-unhide-macos-hidden-apps = true
alt-shift-l = 'move right' alt-shift-l = 'move right'
# See: https://nikitabobko.github.io/AeroSpace/commands#resize # See: https://nikitabobko.github.io/AeroSpace/commands#resize
alt-minus = 'resize smart +50' alt-minus = 'resize smart +50' # alt-+ on Norwegian keyboard
alt-equal = 'resize smart -50' alt-equal = 'resize smart -50' # alt-´ on Norwegian keyboard
# See: https://nikitabobko.github.io/AeroSpace/commands#workspace # See: https://nikitabobko.github.io/AeroSpace/commands#workspace
alt-1 = 'workspace 1' alt-1 = 'workspace 1'
@ -154,7 +154,6 @@ automatically-unhide-macos-hidden-apps = true
[mode.service.binding] [mode.service.binding]
esc = ['reload-config', 'mode main'] esc = ['reload-config', 'mode main']
r = ['flatten-workspace-tree', 'mode main'] # reset layout 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'] backspace = ['close-all-windows-but-current', 'mode main']
# sticky is not yet supported https://github.com/nikitabobko/AeroSpace/issues/2 # 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-k = ['join-with up', 'mode main']
alt-shift-l = ['join-with right', '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 # These apps should always open in floating mode
# [[on-window-detected]] [[on-window-detected]]
# if.app-id = 'com.apple.Music' if.app-id = 'com.apple.Music'
# run = 'layout floating' run = 'layout floating'
#
# [[on-window-detected]] [[on-window-detected]]
# if.app-id = 'com.TickTick.task.mac' if.app-id = 'com.TickTick.task.mac'
# run = 'layout floating' run = 'layout floating'
#
# [[on-window-detected]] [[on-window-detected]]
# if.app-id = 'com.apple.MobileSMS' if.app-id = 'com.apple.MobileSMS'
# run = 'layout floating' run = 'layout floating'
#
# [[on-window-detected]] [[on-window-detected]]
# if.app-id = 'com.1password.1password' if.app-id = 'com.1password.1password'
# run = 'layout floating' run = 'layout floating'
#
# [[on-window-detected]] [[on-window-detected]]
# if.app-id = 'com.apple.iCal' if.app-id = 'com.apple.iCal'
# run = 'layout floating' run = 'layout floating'
#
# [[on-window-detected]] [[on-window-detected]]
# if.app-id = 'org.whispersystems.signal-desktop' if.app-id = 'org.whispersystems.signal-desktop'
# run = 'layout floating' run = 'layout floating'
#
[[on-window-detected]]
if.app-id = 'net.whatsapp.WhatsApp'
run = 'layout floating'

View file

@ -13,6 +13,7 @@ alias cloud-sync="rsync -auzP --exclude=.DS_Store '/Volumes/Samsung T7/misvaClou
alias zshrc="nvim ~/.zshrc" alias zshrc="nvim ~/.zshrc"
alias fishconfig="cd ~/.config/fish && nvim config.fish && cd -" alias fishconfig="cd ~/.config/fish && nvim config.fish && cd -"
alias nvimconfig="cd ~/.config/nvim && nvim && cd -" alias nvimconfig="cd ~/.config/nvim && nvim && cd -"
alias asconfig="cd ~/.config/aerospace && nvim aerospace.toml && cd -"
abbr v "nvim" abbr v "nvim"
abbr c "claude" abbr c "claude"