tmux-battery
tmux-battery copied to clipboard
battery_icon seems to resolve to zero?
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?
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?