nikitabobko / AeroSpace

AeroSpace is an i3-like tiling window manager for macOS
https://nikitabobko.github.io/AeroSpace/guide
MIT License
8k stars 131 forks source link

Error: Argument <mouse-position> is mandatory #581

Closed arichiardi closed 1 month ago

arichiardi commented 1 month ago

Hi all and thanks for this amazing project for i3 enamorados :D

I am following on-window-detected. What I would like to achieve is to move the mouse to newly created windows. So I attempted to put this in my aerospace.toml:

[[on-window-detected]]
if.during-aerospace-startup = false
run = ['move-mouse']

I am pretty new to toml and aerospace but when I reload the config I receive the following message (haven't tried to restart yet cause I don't want to break stuff).

Screenshot 2024-10-11 at 4 49 04 PM

What am I doing wrong?

Checklist

aerospace CLI client version: 0.14.2-Beta 0cb8dbdfc5ee73b8cbc200f175f467ebead55201
AeroSpace.app server version: 0.14.2-Beta 0cb8dbdfc5ee73b8cbc200f175f467ebead55201
nikitabobko commented 1 month ago

move-mouse window-lazy-center. Please see https://nikitabobko.github.io/AeroSpace/commands#move-mouse

But you won't be able to use move-mouse in on-window-detected anyway (yet) #20