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

Lemonbar doesn't always show the input we feed it #29

Open
domsson opened this issue Jun 11, 2020 · 4 comments
Open

Lemonbar doesn't always show the input we feed it #29

domsson opened this issue Jun 11, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@domsson
Copy link
Owner

domsson commented Jun 11, 2020

Because of a bug in lemonbar, feeding new input to lemonbar in quick succession doesn't work, which can lead to lemonbar showing a previous state rather than the newest.

Example: Assume succade is configured with two blocks, both static, one that produces output ever so slightly faster than the other. This will cause succade to feed lemonbar two times in quick succession, the first time only containing the faster block, the second time containing both blocks. However, lemonbar will show only the first block, as it completely ignored the second input, as it came in too fast.

We can't really fix this in succade, so there are two options here:

  • fork lemonbar, fix it, send a PR (however, there are many unanswered issued and unmerged PRs already, not sure if the maintainer is still active on the project)
  • find some kind of workaround in succade that can optionally be activated via command line switch (for example, a minimum time between feeds)
@domsson domsson self-assigned this Jun 11, 2020
@domsson domsson added the enhancement New feature or request label Jun 11, 2020
@shdown
Copy link

shdown commented Jul 3, 2020

See shdown/bar@eb0e9e7

@domsson
Copy link
Owner Author

domsson commented Jul 6, 2020

@shdown thanks for making me aware. Did you turn that into a PR for lemonbar?

@shdown
Copy link

shdown commented Jul 6, 2020

Yes, but it went nowhere: LemonBoy/bar#198

@domsson
Copy link
Owner Author

domsson commented Nov 5, 2020

Looks like it was merged now!

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

2 participants