-
Notifications
You must be signed in to change notification settings - Fork 396
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
Add HTTP based integration with customizable port #2420
Comments
Very nice feature! ❤️ What was I doing wrong when using the first two variations of the request? 😳 |
Hi there, the name and nameLike will normally use the displayed name which is for the built-in display is "Built-in Display". That's why it did not work. Note: with v2.2.1 a simpler syntax will be available as well (instead of using Some examples:
If you want the command to work for all displays in unison, you can simply use:
If you want the command to work for the active display (with the mouse), and decrease or increase the brightness by let's say 10% (this should be useful if you bind the action to let's say a brightness down key in Hammerspoon):
|
no, the request processor (which is unified with what the CLI uses) won't accept space in a parameter as it interprets it as a whitespace and creates a separate command "Display" which it then does not understand. :) Sorry about that. Better to use namelike or some other identifier. I'll probably add some extra provision for spaces as it might be a problem in some of the future commands as well. |
A HTTP based interface should be listening on a customizable port to receive commands. This is both for networked and CLI (with
curl
) integration.The text was updated successfully, but these errors were encountered: