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

How to replace the * with bars #70

Closed
eyadsibai opened this issue Feb 18, 2020 · 3 comments
Closed

How to replace the * with bars #70

eyadsibai opened this issue Feb 18, 2020 · 3 comments

Comments

@eyadsibai
Copy link

Thank you for the cool tool!

I was wondering how to replace the *** with bars instead that represent the strength of the signal?

@firecat53
Copy link
Owner

That will take a PR. The NM.utils_wifi_strength_bars function that's provided by NetworkManager returns 0-4 asterisks. The comment in the docs says that they used to try to create bars, but there were too many terminal types to easily guess Unicode abilities.

The asterisks could be converted locally to Unicode bars fairly easily after the NM.utils_wifi_strength_bars call in the create_ap_actions function.

Thanks for your interest!

@firecat53
Copy link
Owner

In config.ini set:

[dmenu]
wifi_chars = ▂▄▆█

Hopefully that works for you!

@eyadsibai
Copy link
Author

thanks!!

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