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

Triggering refresh on a timer #212

Open
jethrogillgren opened this issue Dec 2, 2021 · 2 comments
Open

Triggering refresh on a timer #212

jethrogillgren opened this issue Dec 2, 2021 · 2 comments

Comments

@jethrogillgren
Copy link

jethrogillgren commented Dec 2, 2021

Amazing app, love it, especially the STATUSICON functionality in 5.4.
How difficult would it be to make a "Status Menu" taskbar application trigger updates on a regular interval?

Use case would be using STATUSICONto give a "connect" or "disconnected" icon depending on the output of some command.

Currently the icon will only update when it is clicked by the user, which makes the STATUSICON less useful.

Currently considering starting a background process to kill/restart the app on a timer (eg open -n /my.app echo "QUITAPP"), which has the issue that a new instance of the app doesn't seem to trigger STATUSICON updates until clicked.

@sveinbjornt
Copy link
Owner

This would indeed be a nice feature and I've often thought about it but never implemented. Will take a look at it for the next release.

@mbrotz
Copy link

mbrotz commented Mar 16, 2023

Yes! I would love this feature too!

An option to execute the script on app launch with a special argument to distinguish from a click on the icon would be super handy too! This would make it possible to set the icon/text in the menubar dynamically at launch.

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

3 participants