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

[FEATURE] Manually trigger defpoll variable update #1005

Open
cherrynoize opened this issue Dec 24, 2023 · 0 comments · May be fixed by #1227
Open

[FEATURE] Manually trigger defpoll variable update #1005

cherrynoize opened this issue Dec 24, 2023 · 0 comments · May be fixed by #1227
Labels
enhancement New feature or request

Comments

@cherrynoize
Copy link

Description of the requested feature

I would like to be able to trigger a defpoll variable update so that if a button showing output from a script run periodically gets clicked, it instantly updates.

Proposed configuration syntax

eww update defpoll_variable

to update,

eww update defpoll_variable=new_walue

to force a new value until next update.

Additional context

I don't want to run all queried scripts every second for obvious resource management reasons. And I'm fine with a 5 second delay in an indicator when updated externally, but when I click on it it feels really jerky and uncomfortable having to wait a few secs before I get any feedback. Still I want the variable to also update on its own (although possible delayed) when updated externally.

@cherrynoize cherrynoize added the enhancement New feature or request label Dec 24, 2023
@tokinanpa tokinanpa linked a pull request Nov 14, 2024 that will close this issue
3 tasks
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

Successfully merging a pull request may close this issue.

1 participant