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

acpi_sys_batt_ display too long battery name #1130

Open
solsticedhiver opened this issue Nov 9, 2020 · 3 comments
Open

acpi_sys_batt_ display too long battery name #1130

solsticedhiver opened this issue Nov 9, 2020 · 3 comments

Comments

@solsticedhiver
Copy link

When using acpi_sys_batt_, one gets graphics with a title very long that exeeds the image size.

For example, the $batt_name variable is here:

Unknown Battery Simplo DELL XXXXXXXX (sn: YYYY)

And the total title length is 77 characters like

Battery 1 (Unknow Battery Simplo DELL XXXXXXXXX (sn: YYYY)) percents - by day

This exeeds the size of image generated by default

@sumpfralle
Copy link
Collaborator

Thank you for your report!

Which approach would you recommend for shortening the title?

@solsticedhiver
Copy link
Author

solsticedhiver commented Nov 10, 2020

I have no idea.

May be keep simply the BATX as name but let the user customize it if need be with a parameter in the configuration file ?

With help for a much longer name (from the /sys fles ?) like the original one ?

@github-actions
Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants