Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
arichiardi opened this issue Oct 11, 2024 · 1 comment
Closed
3 tasks done

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

arichiardi opened this issue Oct 11, 2024 · 1 comment

Comments

@arichiardi
Copy link

arichiardi commented Oct 11, 2024

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants