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

No icon support in dwmblocks-async #20

Closed
JimPix1 opened this issue Mar 11, 2022 · 1 comment
Closed

No icon support in dwmblocks-async #20

JimPix1 opened this issue Mar 11, 2022 · 1 comment

Comments

@JimPix1
Copy link

JimPix1 commented Mar 11, 2022

In Luke's dwmblocks you could set icons however this seems to have been removed entirely in dwmblocks-async.. why?
Do I now need to manually set the icon in the script?

@UtkarshVerma
Copy link
Owner

Yes, the icons field has been removed intentionally.

This is because setting the icon in the script allows for dynamic icons. For example, you'd want to change the volume icon to mute when volume is zero.

Also, if you have a script called sb-foo, and you want a static icon, then you can simply write echo "$icon $(sb-foo)" as your block command.

@JimPix1 JimPix1 closed this as completed Mar 14, 2022
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

2 participants