gpakosz/.tmux

Battery status in WezTerm w/ Fira Code Nerd Font

davidfmatheson opened this issue · 6 comments

The battery status in the lower-right is grey:
image

Everything else in the status bar has color. When I open tmux.conf and search for tmux_conf_battery then the colors load.

I am on Mac OS X 12.7.1, and this seems to work fine on iTerm2. It's only WezTerm.

Hello @davidfmatheson 👋

If it's only WezTerm, then try to use different values for tmux_conf_battery_bar_symbol_full and tmux_conf_battery_bar_symbol_empty in your .local customization file.

Hmm I just tried WezTerm on macOS Sonoma, and it seems to work for me

image

Oh wait sometimes it doesn't work

image

It seems that forcing the value of default-terminal in your .local customization file will work around the WezTerm bug

set -g default-terminal "screen-256color" #!important

Well not always... I have no idea, please see with WezTerm authors

Yeah, the work around didn't work for me, either. Turns out it works in WezTerm nightly (20231203-124028-e3cd2e93), guess I should've tried that first. Thanks for checking @gpakosz!