-
Notifications
You must be signed in to change notification settings - Fork 97
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
Comments
Does the icon which is configured exists on the remote machine? If you configure the icon to be just a character, does that show? |
I tried that, and they do not show. |
@martinbeentjes do you have any update on this? |
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
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?
The text was updated successfully, but these errors were encountered: