wfxr / tmux-power

🎨 Tmux powerline theme
Other
546 stars 126 forks source link

Icons not displaying #2

Closed poteto closed 4 years ago

poteto commented 4 years ago

Hi, thanks for the theme, it's great! Would it be possible to have a version without the included icons? Not all fonts include these glyphs. I'm using Meslo from powerline-fonts.

Screen Shot 2020-07-06 at 12 04 56 PM
wfxr commented 4 years ago

Hi @poteto thanks for your feedback. The font used in screenshot is from this repo https://github.com/ryanoasis/nerd-fonts. I added support for customizing the icons. You can set or disable each of them now.

set -g @tmux_power_date_icon ' ' # set it to a blank will disable the icon
set -g @tmux_power_time_icon '🕘' # emoji can be used if your terminal supports
set -g @tmux_power_user_icon 'U'
set -g @tmux_power_session_icon 'S'
set -g @tmux_power_upload_speed_icon '↑'
set -g @tmux_power_download_speed_icon '↓'
poteto commented 4 years ago

Thanks, it works great!

nmsobri commented 4 years ago

Sorry to ask, how did you change font to use font from the NerdFont?

wfxr commented 4 years ago

Font is controlled by the terminal emulator, not tmux. @slier81

nmsobri commented 4 years ago

i was using window terminal..nvm i got it fixed..thx!

whogurdevil commented 1 year ago

can you please tell me how did you manage to do this?

rlvilla commented 1 year ago

@whogurdevil install a nerdfont enabled font from the following repo, select it as your default in your terminal and reboot your machine if it doesn't refresh https://github.com/ryanoasis/nerd-fonts