Skip to content

Commit

Permalink
mac: hammerspoon / aerospace terminal T workspace
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Sep 27, 2024
1 parent 2bf4bd0 commit 80c6451
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions config/aerospace/aerospace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand All @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion config/hammerspoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80c6451

Please sign in to comment.