Skip to content

Commit

Permalink
add a bunch of workspace app mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
kclejeune committed Apr 7, 2024
1 parent 2395557 commit fc6d4c4
Showing 1 changed file with 34 additions and 3 deletions.
37 changes: 34 additions & 3 deletions modules/home-manager/dotfiles/aerospace/aerospace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ after-startup-command = []
start-at-login = true

# Normalizations. See: https://nikitabobko.github.io/AeroSpace/guide.html#normalization
enable-normalization-flatten-containers = true
enable-normalization-flatten-containers = false
enable-normalization-opposite-orientation-for-nested-containers = true

# See: https://nikitabobko.github.io/AeroSpace/guide.html#layouts
Expand Down Expand Up @@ -193,6 +193,10 @@ run = 'move-node-to-workspace T'
if.app-id = 'com.google.Chrome'
run = 'move-node-to-workspace B'

[[on-window-detected]]
if.app-id = 'com.microsoft.edgemac'
run = 'move-node-to-workspace B'

[[on-window-detected]]
if.app-id = 'org.mozilla.firefox'
run = 'move-node-to-workspace B'
Expand Down Expand Up @@ -228,6 +232,10 @@ run = 'move-node-to-workspace I'
if.app-id = 'com.jetbrains.pycharm'
run = 'move-node-to-workspace I'

[[on-window-detected]]
if.app-id = 'com.jetbrains.datagrip'
run = 'move-node-to-workspace I'

# mnemonics P - PowerPoint
[[on-window-detected]]
if.app-id = 'com.microsoft.PowerPoint'
Expand Down Expand Up @@ -266,16 +274,35 @@ run = 'move-node-to-workspace N'
if.app-id = 'com.apple.Notes'
run = 'move-node-to-workspace N'

# mnemonics S - slack
# mnemonics S - slack/sms
[[on-window-detected]]
if.app-id = 'com.tinyspeck.slackmacgap'
run = 'move-node-to-workspace S'

[[on-window-detected]]
# not really a better place to put this one
if.app-id = 'com.cisco.Jabber'
run = 'move-node-to-workspace S'

[[on-window-detected]]
if.app-id = 'com.apple.MobileSMS'
run = 'move-node-to-workspace S'

[[on-window-detected]]
if.app-id = 'keybase.Electron'
run = 'move-node-to-workspace S'

[[on-window-detected]]
if.app-id = 'com.facebook.archon.developerID'
run = 'move-node-to-workspace S'

[[on-window-detected]]
if.app-id = 'com.hnc.Discord'
run = 'move-node-to-workspace S'

[[on-window-detected]]
if.app-id = 'org.whispersystems.signal-desktop'
run = 'move-node-to-workspace S'

# mnemonics V - vscode
[[on-window-detected]]
if.app-id = 'com.microsoft.VSCode'
Expand All @@ -286,6 +313,10 @@ run = 'move-node-to-workspace V'
if.app-id = 'us.zoom.xos'
run = 'move-node-to-workspace Z'

[[on-window-detected]]
if.app-id = 'com.apple.FaceTime'
run = 'move-node-to-workspace Z'

[workspace-to-monitor-force-assignment]
B = [1, 'secondary', 'main']
I = [3, 'secondary', 'main']
Expand Down

0 comments on commit fc6d4c4

Please sign in to comment.