mirror of
https://github.com/nikdoof/dotfiles.git
synced 2026-01-30 02:48:15 +00:00
[aerospace] Fix floating windows
This commit is contained in:
@@ -217,6 +217,11 @@ on-mode-changed = []
|
|||||||
alt-shift-k = ['join-with up', 'mode main']
|
alt-shift-k = ['join-with up', 'mode main']
|
||||||
alt-shift-l = ['join-with right', 'mode main']
|
alt-shift-l = ['join-with right', 'mode main']
|
||||||
|
|
||||||
|
# Tips for configuration:
|
||||||
|
# - Order matters (callbacks are ran in order of declaration)
|
||||||
|
# - You can use multiple 'run' commands by specifying an array
|
||||||
|
# - You can stop further callback checks by setting 'check-further-callbacks = false
|
||||||
|
|
||||||
# Picture-in-picture windows float
|
# Picture-in-picture windows float
|
||||||
[[on-window-detected]]
|
[[on-window-detected]]
|
||||||
if.window-title-regex-substring = 'Picture-in-picture'
|
if.window-title-regex-substring = 'Picture-in-picture'
|
||||||
@@ -232,17 +237,18 @@ run = 'move-node-to-workspace B'
|
|||||||
if.app-id = 'com.microsoft.VSCode'
|
if.app-id = 'com.microsoft.VSCode'
|
||||||
run = 'move-node-to-workspace C'
|
run = 'move-node-to-workspace C'
|
||||||
|
|
||||||
|
# Zed settings windows float
|
||||||
|
[[on-window-detected]]
|
||||||
|
if.app-id = 'dev.zed.Zed'
|
||||||
|
if.window-title-regex-substring = '^Zed . Settings$'
|
||||||
|
run = 'layout floating'
|
||||||
|
check-further-callbacks = false
|
||||||
|
|
||||||
# Zed windows to workspace C
|
# Zed windows to workspace C
|
||||||
[[on-window-detected]]
|
[[on-window-detected]]
|
||||||
if.app-id = 'dev.zed.Zed'
|
if.app-id = 'dev.zed.Zed'
|
||||||
run = 'move-node-to-workspace C'
|
run = 'move-node-to-workspace C'
|
||||||
|
|
||||||
# Zed settings windows float
|
|
||||||
[[on-window-detected]]
|
|
||||||
if.window-title-regex-substring = '^Zed . Settings$'
|
|
||||||
run = ['layout floating']
|
|
||||||
check-further-callbacks = true
|
|
||||||
|
|
||||||
# Ghostty terminal windows to workspace T
|
# Ghostty terminal windows to workspace T
|
||||||
[[on-window-detected]]
|
[[on-window-detected]]
|
||||||
if.app-id = 'com.mitchellh.ghostty'
|
if.app-id = 'com.mitchellh.ghostty'
|
||||||
@@ -267,22 +273,24 @@ run = 'layout floating'
|
|||||||
if.app-id = 'com.microsoft.Outlook'
|
if.app-id = 'com.microsoft.Outlook'
|
||||||
run = 'move-node-to-workspace W'
|
run = 'move-node-to-workspace W'
|
||||||
|
|
||||||
# Teams main window to workspace W
|
|
||||||
[[on-window-detected]]
|
|
||||||
if.app-id = 'com.microsoft.teams2'
|
|
||||||
run = 'move-node-to-workspace W'
|
|
||||||
|
|
||||||
# Meeting windows automatically float
|
# Meeting windows automatically float
|
||||||
[[on-window-detected]]
|
[[on-window-detected]]
|
||||||
if.app-id = 'com.microsoft.teams2'
|
if.app-id = 'com.microsoft.teams2'
|
||||||
if.window-title-regex-substring = '(Meeting|Call|Screen Share|Share)'
|
if.window-title-regex-substring = '(Meeting|Call|Screen Share|Share)'
|
||||||
run = ['layout floating']
|
run = ['layout floating']
|
||||||
|
check-further-callbacks = false
|
||||||
|
|
||||||
# Dialog windows float
|
# Dialog windows float
|
||||||
[[on-window-detected]]
|
[[on-window-detected]]
|
||||||
if.app-id = 'com.microsoft.teams2'
|
if.app-id = 'com.microsoft.teams2'
|
||||||
if.window-title-regex-substring = '(Settings|Options|Preferences|Join|Audio|Video)'
|
if.window-title-regex-substring = '(Settings|Options|Preferences|Join|Audio|Video)'
|
||||||
run = ['layout floating']
|
run = ['layout floating']
|
||||||
|
check-further-callbacks = false
|
||||||
|
|
||||||
|
# Teams main window to workspace W
|
||||||
|
[[on-window-detected]]
|
||||||
|
if.app-id = 'com.microsoft.teams2'
|
||||||
|
run = 'move-node-to-workspace W'
|
||||||
|
|
||||||
# Logseq to workspace Q
|
# Logseq to workspace Q
|
||||||
[[on-window-detected]]
|
[[on-window-detected]]
|
||||||
@@ -293,3 +301,13 @@ run = 'move-node-to-workspace Q'
|
|||||||
[[on-window-detected]]
|
[[on-window-detected]]
|
||||||
if.app-id = 'com.apple.FaceTime'
|
if.app-id = 'com.apple.FaceTime'
|
||||||
run = 'layout floating'
|
run = 'layout floating'
|
||||||
|
|
||||||
|
# Float Logi Options+
|
||||||
|
[[on-window-detected]]
|
||||||
|
if.app-id = 'com.logi.cp-dev-mgr'
|
||||||
|
run = 'layout floating'
|
||||||
|
|
||||||
|
# Float CoconutBattery
|
||||||
|
[[on-window-detected]]
|
||||||
|
if.app-id = 'com.coconut-flavour.coconutBattery'
|
||||||
|
run = 'layout floating'
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ window-save-state = never
|
|||||||
window-new-tab-position = end
|
window-new-tab-position = end
|
||||||
theme = Snazzy Soft
|
theme = Snazzy Soft
|
||||||
font-family = Jetbrains Mono
|
font-family = Jetbrains Mono
|
||||||
auto-update = download
|
|
||||||
|
# Handled via Brew
|
||||||
|
auto-update = off
|
||||||
auto-update-channel = stable
|
auto-update-channel = stable
|
||||||
|
|
||||||
keybind = global:cmd+\=toggle_quick_terminal
|
keybind = global:cmd+\=toggle_quick_terminal
|
||||||
|
|||||||
Reference in New Issue
Block a user