From 80c6451d74a37a53df5352e73f9a83fb0baf96e3 Mon Sep 17 00:00:00 2001 From: clux Date: Fri, 27 Sep 2024 12:32:15 +0100 Subject: [PATCH] mac: hammerspoon / aerospace terminal T workspace Signed-off-by: clux --- config/aerospace/aerospace.toml | 7 ++++--- config/hammerspoon/init.lua | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config/aerospace/aerospace.toml b/config/aerospace/aerospace.toml index 32cec20..cc483ed 100644 --- a/config/aerospace/aerospace.toml +++ b/config/aerospace/aerospace.toml @@ -11,6 +11,7 @@ default-root-container-orientation = 'auto' # See https://nikitabobko.github.io/AeroSpace/guide#on-focus-changed-callbacks # See https://nikitabobko.github.io/AeroSpace/commands#move-mouse on-focused-monitor-changed = ['move-mouse monitor-lazy-center'] +#on-focus-changed = ['move-mouse window-lazy-center'] # Possible values: (qwerty|dvorak) # See https://nikitabobko.github.io/AeroSpace/guide#key-mapping @@ -100,8 +101,8 @@ alt-shift-up = 'move up' alt-shift-right = 'move right' # See: https://nikitabobko.github.io/AeroSpace/commands#resize -alt-shift-minus = 'resize smart -50' -alt-shift-equal = 'resize smart +50' +alt-shift-minus = 'resize smart -40' +alt-shift-equal = 'resize smart +40' # See: https://nikitabobko.github.io/AeroSpace/commands#workspace alt-1 = 'workspace 1' @@ -125,7 +126,7 @@ alt-shift-6 = ['move-node-to-workspace 6', 'workspace 6'] alt-shift-7 = ['move-node-to-workspace 7', 'workspace 7'] alt-shift-8 = ['move-node-to-workspace 8', 'workspace 8'] alt-shift-9 = ['move-node-to-workspace 9', 'workspace 9'] -#alt-shift-t = 'workspace T' +alt-shift-t = ['move-node-to-workspace T', 'workspace T'] # See: https://nikitabobko.github.io/AeroSpace/commands#workspace-back-and-forth alt-tab = 'workspace-back-and-forth' diff --git a/config/hammerspoon/init.lua b/config/hammerspoon/init.lua index 1032e34..5dd4e74 100644 --- a/config/hammerspoon/init.lua +++ b/config/hammerspoon/init.lua @@ -8,7 +8,7 @@ function aerospace(args) end, args):start() end -MAIN="3" +MAIN="1" local function activateApp(name) local app = hs.application.find(name) if not app or app:isHidden() then