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

Pass starting color to AnyBar? #80

Closed
Dima-369 opened this issue Nov 2, 2020 · 4 comments
Closed

Pass starting color to AnyBar? #80

Dima-369 opened this issue Nov 2, 2020 · 4 comments

Comments

@Dima-369
Copy link
Contributor

Dima-369 commented Nov 2, 2020

I really like AnyBar, good job 👍

One thing I would love to see though would be a way to set the initial color of the dot. Maybe there is even already something like this implemented?

Asking because calling open -na Anybar && echo -n "green" | nc -4u -w0 localhost 1738 does not set the color of the dot to green, I think because open in itself operates in the background.

One could insert a sleep 0.5s like this: open -na Anybar && sleep 0.5s && echo -n "green" | nc -4u -w0 localhost 1738 but it flickers the dot color because it is set to white initially.

I think something like ANYBAR_INITIAL_COLOR would be amazing!

@tonsky
Copy link
Owner

tonsky commented Nov 2, 2020

Would you like to provide a PR?

@Dima-369
Copy link
Contributor Author

Dima-369 commented Nov 3, 2020

I'll try.

@tonsky
Copy link
Owner

tonsky commented Nov 3, 2020

Fixed with #81

@tonsky tonsky closed this as completed Nov 3, 2020
@tonsky
Copy link
Owner

tonsky commented Nov 3, 2020

Pushed 0.2.2 release

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