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 Request] Add callback for dynamically adding swaybar JSON property #30

Open
2 tasks
NobodyXu opened this issue Mar 14, 2021 · 0 comments
Open
2 tasks
Labels
enhancement New feature or request

Comments

@NobodyXu
Copy link
Owner

Is your feature request related to a problem? Please describe.

While most property for the block can be specified ahead of time, certain property like "urgent", has to be specified dynamically
and different users have different take on what is "urgent".

Also, users would like a warning to pop out to warn them of this urgent situations, so they should be able to provide their own
callback.

Describe the solution you'd like

  • python callback
  • dlopen

Describe alternatives you've considered

This feature can certainly be builtin into swaystatus, but then user will not be able to extend it as they like and swaystatus
would become much more complex, since it would also need to write UI code for implementing popup, which is best to be left
for the user to implement.

@NobodyXu NobodyXu added the enhancement New feature or request label Mar 14, 2021
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

1 participant