From 2721ed030222052b47d02a58860ed80e74cc8032 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 17 Feb 2025 10:04:38 +0100 Subject: [PATCH] feat(aerospace): workspace next/prev shortcuts --- .config/aerospace/aerospace.toml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.config/aerospace/aerospace.toml b/.config/aerospace/aerospace.toml index d1e39a4..5fc3f57 100644 --- a/.config/aerospace/aerospace.toml +++ b/.config/aerospace/aerospace.toml @@ -133,6 +133,11 @@ alt-shift-j = ['join-with down', 'mode main'] alt-shift-k = ['join-with up', 'mode main'] alt-shift-l = ['join-with right', 'mode main'] +# Scroll through workspaces +# https://nikitabobko.github.io/AeroSpace/commands#workspace +ctrl-shift-alt-n = 'workspace next' +ctrl-shift-alt-p = 'workspace prev' + # See: https://nikitabobko.github.io/AeroSpace/commands#workspace-back-and-forth alt-tab = 'workspace-back-and-forth' # See: https://nikitabobko.github.io/AeroSpace/commands#move-workspace-to-monitor @@ -179,11 +184,6 @@ if.app-id = 'com.mitchellh.ghostty' if.during-aerospace-startup = true run = 'move-node-to-workspace 2' -[[on-window-detected]] -if.app-id = 'org.alacritty' -if.during-aerospace-startup = true -run = 'move-node-to-workspace 2' - # Orga [[on-window-detected]] if.app-id = 'com.culturedcode.ThingsMac' @@ -204,12 +204,13 @@ run = 'move-node-to-workspace 3' [[on-window-detected]] if.app-id = 'com.microsoft.teams2' if.during-aerospace-startup = true -run = 'move-node-to-workspace 4' +check-further-callbacks = true +run = 'move-node-to-workspace 5' [[on-window-detected]] if.app-id = 'com.tinyspeck.slackmacgap' if.during-aerospace-startup = true -run = 'move-node-to-workspace 4' +run = 'move-node-to-workspace 5' [[on-window-detected]] if.app-id = 'com.apple.MobileSMS'