chore(aerospace.toml): add on-focus-changed callback to move mouse to window center when focus changes

This commit is contained in:
David Ibia
2024-08-11 14:03:46 +01:00
parent afa35b0690
commit 8f123e8019

View File

@@ -43,7 +43,7 @@ key-mapping.preset = 'qwerty'
# 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']
# Gaps between windows (inner-*) and between monitor edges (outer-*).
# Possible values:
# - Constant: gaps.outer.top = 8