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

CLI access from scripts #89

Open
ramonacat opened this issue Feb 23, 2024 · 1 comment
Open

CLI access from scripts #89

ramonacat opened this issue Feb 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ramonacat
Copy link

I have a virtual machine with windows, that often takes the place of my usual linux desktop. It would be nice if I could script the switching in lan-mouse. Being able to do something like lan-mouse --frontend cli deactivate 2 && lan-mouse --frontend cli activate 3 would make my life significantly easier.

@feschber
Copy link
Owner

feschber commented Feb 24, 2024

you should be able to do this already by just piping the commands into lan-mouse.
Something like

echo deactivate 0 | lan-mouse --frontend cli

works for me.

Certainly a good idea to have this functionality via cli args directly! I will add that to the list :)

@feschber feschber added the enhancement New feature or request label Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants