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

can we format the out put of {net} and other things? #11

Closed
Fmajor opened this issue Aug 19, 2014 · 3 comments
Closed

can we format the out put of {net} and other things? #11

Fmajor opened this issue Aug 19, 2014 · 3 comments

Comments

@Fmajor
Copy link

Fmajor commented Aug 19, 2014

for example, I'd like the {net} output be like "%3d/%2s", then the output will not be a dangler no matter what the digital and the unit is.
I find the output a little annoying when it change its length all the time, along with the icon before it.

@fossfreedom
Copy link
Owner

There is a similar issue raised to cover "fixed width" issues to stop the app indicators moving - #9

I'll leave this open for now. The project needs a bit a code refactoring to allow it to be maintainable - i.e. to make it easier to make changes such as this. This is currently covered by the "refactor" branch.

Possibly need to allow each sensor to have a "label guide" - each guide describes the format of the sensor looking like this "666 kb/s" meaning 3 digits + " kb/s". Clicking "edit" on each sensor would allow you to edit a new field called "label guide" to allow you to describe the format of the sensor output.

If you feel like a bit on tinkering, feel free to delve into the refactor branch and throw me some of your code thoughts.

@fossfreedom
Copy link
Owner

looks like there is a bug in Unity App Indicator that makes this impossible to-do with the default API

@fossfreedom
Copy link
Owner

close in favour of #9

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