gpakosz / .tmux

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
MIT License
21.73k stars 3.34k forks source link

Battery status in WezTerm w/ Fira Code Nerd Font #692

Closed davidfmatheson closed 8 months ago

davidfmatheson commented 8 months ago

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.

gpakosz commented 8 months ago

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.

gpakosz commented 8 months ago

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

image
gpakosz commented 8 months ago

Oh wait sometimes it doesn't work

image
gpakosz commented 8 months ago

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
gpakosz commented 8 months ago

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

davidfmatheson commented 8 months ago

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!