Skip to content

battery_icon seems to resolve to zero? #50

@tnguyen14

Description

@tnguyen14

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions