Skip to content

Commit 376164b

Browse files
committed
using firefox over firefox dev cask, aerospace command updates, include new mode
1 parent 0b44242 commit 376164b

File tree

2 files changed

+50
-5
lines changed

2 files changed

+50
-5
lines changed

brewfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ brew "maven"
8484
brew "openjdk@11"
8585
brew "openjdk@17"
8686
brew "openjdk@21"
87-
cask "firefox-developer-edition"
87+
cask "firefox"
8888
#cask "google-chrome"
8989
cask "arc"
9090
cask "intellij-idea"

config/aerospace/aerospace.toml

+49-4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ on-focused-monitor-changed = ['move-mouse monitor-lazy-center']
4444
# Also see: https://nikitabobko.github.io/AeroSpace/goodies#disable-hide-app
4545
automatically-unhide-macos-hidden-apps = false
4646

47+
[[on-window-detected]]
48+
if.app-name-regex-substring = 'firefox'
49+
run = ['move-node-to-workspace F']
4750

4851
[[on-window-detected]]
4952
if.app-name-regex-substring = 'google chrome'
@@ -77,6 +80,30 @@ run = ['move-node-to-workspace m']
7780
if.app-name-regex-substring = 'textedit'
7881
run = ['layout floating']
7982

83+
[[on-window-detected]]
84+
if.app-name-regex-substring = 'zoom'
85+
run = ['move-node-to-workspace z']
86+
87+
[[on-window-detected]]
88+
if.app-name-regex-substring = 'ghostty'
89+
run = ['move-node-to-workspace t']
90+
91+
# IDEs
92+
[[on-window-detected]]
93+
if.app-name-regex-substring = 'goland'
94+
run = ['move-node-to-workspace g']
95+
96+
[[on-window-detected]]
97+
if.app-name-regex-substring = 'pycharm'
98+
run = ['move-node-to-workspace p']
99+
100+
[[on-window-detected]]
101+
if.app-name-regex-substring = 'intellij'
102+
run = ['move-node-to-workspace i']
103+
104+
[[on-window-detected]]
105+
if.app-name-regex-substring = 'windsurf'
106+
run = ['move-node-to-workspace w']
80107

81108
# Possible values: (qwerty|dvorak)
82109
# See https://nikitabobko.github.io/AeroSpace/guide#key-mapping
@@ -152,12 +179,10 @@ run = ['layout floating']
152179
alt-minus = 'resize smart -50'
153180
alt-equal = 'resize smart +50'
154181

155-
cmd-enter = 'macos-native-fullscreen'
182+
alt-shift-enter = 'macos-native-fullscreen'
156183
alt-enter = 'fullscreen'
157184

158185

159-
160-
161186
alt-1 = 'workspace 1'
162187
alt-2 = 'workspace 2'
163188
alt-3 = 'workspace 3'
@@ -171,7 +196,27 @@ run = ['layout floating']
171196
alt-i = 'exec-and-forget open -a /Applications/IntelliJ\ IDEA.app'
172197
alt-g = 'exec-and-forget open -a /Applications/GoLand.app'
173198
alt-c = 'exec-and-forget open -a /Applications/Google\ Chrome.app'
174-
alt-shift-f = 'exec-and-forget open -a /Applications/Firefox\ Developer\ Edition.app'
199+
alt-shift-f = 'exec-and-forget open -a /Applications/Firefox.app'
175200
alt-m = 'exec-and-forget open -a /Applications/MongoDB\ Compass.app'
176201
alt-shift-b = 'exec-and-forget open -a /Applications/Bruno.app'
177202
alt-n = 'exec-and-forget open -a TextEdit'
203+
204+
# See: https://nikitabobko.github.io/AeroSpace/commands#mode
205+
alt-shift-semicolon = 'mode service'
206+
207+
# 'service' binding mode declaration.
208+
# See: https://nikitabobko.github.io/AeroSpace/guide#binding-modes
209+
[mode.service.binding]
210+
esc = ['reload-config', 'mode main']
211+
r = ['flatten-workspace-tree', 'mode main'] # reset layout
212+
f = ['layout floating tiling', 'mode main'] # Toggle between floating and tiling layout
213+
# backspace = ['close-all-windows-but-current', 'mode main']
214+
215+
# sticky is not yet supported https://github.com/nikitabobko/AeroSpace/issues/2
216+
#s = ['layout sticky tiling', 'mode main']
217+
218+
alt-shift-h = ['join-with left', 'mode main']
219+
alt-shift-j = ['join-with down', 'mode main']
220+
alt-shift-k = ['join-with up', 'mode main']
221+
alt-shift-l = ['join-with right', 'mode main']
222+

0 commit comments

Comments
 (0)