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

battery_icon seems to resolve to zero? #50

Open
tnguyen14 opened this issue Apr 7, 2017 · 4 comments
Open

battery_icon seems to resolve to zero? #50

tnguyen14 opened this issue Apr 7, 2017 · 4 comments

Comments

@tnguyen14
Copy link

In my status, I have the following:

'#{?battery_icon,, | #{battery_icon}#{battery_percentage}}

which displays correctly on my macbook, but shows | on a remote machine with no battery.
So this means that battery_icon either does not exist or is zero for both environments (note the second alternative is chosen, as per http://man.openbsd.org/OpenBSD-current/man1/tmux.1#FORMATS). Does this make sense?

@martinbeentjes
Copy link
Collaborator

martinbeentjes commented Apr 7, 2017

Does the icon which is configured exists on the remote machine?

If you configure the icon to be just a character, does that show?

@tnguyen14
Copy link
Author

I tried that, and they do not show.

@tnguyen14
Copy link
Author

@martinbeentjes do you have any update on this?

@martinbeentjes
Copy link
Collaborator

martinbeentjes commented Oct 10, 2017

I have been busy finishing up my thesis myself, sorry for the late reaction.

I would think that the battery_status method does not return a valid value for your case. Could you verify that?

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