Skip to content

Commit 80c6451

Browse files
committedSep 27, 2024·
mac: hammerspoon / aerospace terminal T workspace
Signed-off-by: clux <sszynrae@gmail.com>
1 parent 2bf4bd0 commit 80c6451

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
 

‎config/aerospace/aerospace.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ default-root-container-orientation = 'auto'
1111
# See https://nikitabobko.github.io/AeroSpace/guide#on-focus-changed-callbacks
1212
# See https://nikitabobko.github.io/AeroSpace/commands#move-mouse
1313
on-focused-monitor-changed = ['move-mouse monitor-lazy-center']
14+
#on-focus-changed = ['move-mouse window-lazy-center']
1415

1516
# Possible values: (qwerty|dvorak)
1617
# See https://nikitabobko.github.io/AeroSpace/guide#key-mapping
@@ -100,8 +101,8 @@ alt-shift-up = 'move up'
100101
alt-shift-right = 'move right'
101102

102103
# See: https://nikitabobko.github.io/AeroSpace/commands#resize
103-
alt-shift-minus = 'resize smart -50'
104-
alt-shift-equal = 'resize smart +50'
104+
alt-shift-minus = 'resize smart -40'
105+
alt-shift-equal = 'resize smart +40'
105106

106107
# See: https://nikitabobko.github.io/AeroSpace/commands#workspace
107108
alt-1 = 'workspace 1'
@@ -125,7 +126,7 @@ alt-shift-6 = ['move-node-to-workspace 6', 'workspace 6']
125126
alt-shift-7 = ['move-node-to-workspace 7', 'workspace 7']
126127
alt-shift-8 = ['move-node-to-workspace 8', 'workspace 8']
127128
alt-shift-9 = ['move-node-to-workspace 9', 'workspace 9']
128-
#alt-shift-t = 'workspace T'
129+
alt-shift-t = ['move-node-to-workspace T', 'workspace T']
129130

130131
# See: https://nikitabobko.github.io/AeroSpace/commands#workspace-back-and-forth
131132
alt-tab = 'workspace-back-and-forth'

‎config/hammerspoon/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function aerospace(args)
88
end, args):start()
99
end
1010

11-
MAIN="3"
11+
MAIN="1"
1212
local function activateApp(name)
1313
local app = hs.application.find(name)
1414
if not app or app:isHidden() then

0 commit comments

Comments
 (0)
Please sign in to comment.