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

updates with both interval and signal #446

Open
ghistes opened this issue Dec 13, 2020 · 0 comments
Open

updates with both interval and signal #446

ghistes opened this issue Dec 13, 2020 · 0 comments

Comments

@ghistes
Copy link

ghistes commented Dec 13, 2020

Hi,

I have noticed a behaviour that I did not expect, but that very well be the intended behaviour - or it is a bug. I cannot tell.

When I have a block that has both interval (say 60) and signal (say 10) set, I see this behaviour:

starttime => update
starttime+60 =>update
starttime+120 =>update
send signal 10 at startime +130 => update
starttime +180 => NO UPDATE
starttime +240 => update

So when the block is updated via a signal, one round of updating via the interval seems to be skipped - this means that when a block has been updated via interval and immediately is updated again via a signal it is only updated again after 2*interval.

Is this the intended behaviour?

dllud pushed a commit to dllud/i3blocks that referenced this issue Jan 12, 2024
spotifyd_dbus: add spotifyd_dbus, show spotifyd status
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

1 participant