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

Conditional Icons #6

Open
DeastinY opened this issue Jun 8, 2021 · 1 comment
Open

Conditional Icons #6

DeastinY opened this issue Jun 8, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@DeastinY
Copy link

DeastinY commented Jun 8, 2021

Hey there, first of all: Great Work! 🎉
Very intuitive and nice to use!

I've set up CommandControls to start or focus various programs and want to have the button indicate whether a program is already open or not. Either by converting it to grayscale on the fly, or by using two separate images. Thought that might be a feature that could be useful in various applications.

@jamesridgway jamesridgway added the enhancement New feature or request label Jul 3, 2021
@nicdumz
Copy link

nicdumz commented Nov 2, 2021

I also wondered about such a feature. The main question I would have is how to configure a 'generic' status polling mechanism.

  • Maybe one way could be to define a command which outputs a status code, and depending on status code, you could perhaps define a map of status code -> icon path for rendering.
  • Alternatively, perhaps this map could simply map status to colors, and expect a square single color SVG icon that's colored on the fly
  • I imagine polling delay should be configurable too.

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

3 participants