diff --git a/.config/aerospace/aerospace.toml b/.config/aerospace/aerospace.toml index 23b36c1..e005f2d 100644 --- a/.config/aerospace/aerospace.toml +++ b/.config/aerospace/aerospace.toml @@ -24,7 +24,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 = 20 # Possible values: tiles|accordion default-root-container-layout = 'tiles' @@ -114,6 +114,10 @@ alt-7 = 'workspace 7' alt-8 = 'workspace 8' alt-9 = 'workspace 9' +# TODO Try to get ctrl-left/right working here? +alt-ctrl-h = 'workspace --wrap-around prev' +alt-ctrl-l = 'workspace --wrap-around next' + # See: https://nikitabobko.github.io/AeroSpace/commands#move-node-to-workspace alt-shift-1 = 'move-node-to-workspace 1' alt-shift-2 = 'move-node-to-workspace 2' @@ -130,18 +134,18 @@ alt-tab = 'workspace-back-and-forth' # See: https://nikitabobko.github.io/AeroSpace/commands#move-workspace-to-monitor alt-shift-tab = 'move-workspace-to-monitor --wrap-around next' +alt-shift-f = 'layout floating tiling' # Toggle between floating and tiling layout + # See: https://nikitabobko.github.io/AeroSpace/commands#mode alt-shift-semicolon = 'mode service' -alt-shift-f = ['layout floating tiling', 'mode main'] # Toggle between floating and tiling layout - # 'service' binding mode declaration. # See: https://nikitabobko.github.io/AeroSpace/guide#binding-modes [mode.service.binding] esc = ['reload-config', 'mode main'] r = ['flatten-workspace-tree', 'mode main'] # reset layout #s = ['layout sticky tiling', 'mode main'] # sticky is not yet supported https://github.com/nikitabobko/AeroSpace/issues/2 -f = ['layout floating tiling', 'mode main'] # Toggle between floating and tiling layout +# f = ['layout floating tiling', 'mode main'] # Toggle between floating and tiling layout backspace = ['close-all-windows-but-current', 'mode main'] alt-shift-h = ['join-with left', 'mode main'] @@ -151,7 +155,11 @@ alt-shift-l = ['join-with right', 'mode main'] [[on-window-detected]] if.app-id = 'company.thebrowser.Browser' -run = 'layout floating' # The callback itself +run = 'layout floating' + +[[on-window-detected]] +if.app-name-regex-substring = 'UniFi Protect' +run = 'layout floating' [workspace-to-monitor-force-assignment] 1 = 'LG'