catppuccin / tmux

💽 Soothing pastel theme for Tmux!
MIT License
1.85k stars 575 forks source link

weather module not displayed properly #150

Closed qrockz closed 7 months ago

qrockz commented 7 months ago
flatpak run org.wezfurlong.wezterm --version
wezterm 20240203-110809-5046fc22

weather

gnome-terminal --version
# GNOME Terminal 3.51.0 using VTE 0.75.0 +BIDI +GNUTLS +ICU +SIXEL +SYSTEMD

weather2 In both terminals a black seperator is shown in the weather module and for the gnome-terminal the cloud icon is not displayed.

set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_window_left_separator ""
set -g @catppuccin_window_right_separator " "
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_middle_separator " █"
# set -g @catppuccin_window_middle_separator " "
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_default_text "#W"
set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#W#{?window_zoomed_flag,(),}"
set -g @catppuccin_directory_text "#{pane_current_path}"
set -g @catppuccin_status_modules_right "directory date_time weather"
set -g @catppuccin_status_modules_left "session"
set -g @catppuccin_status_left_separator  " "
set -g @catppuccin_status_right_separator " "
set -g @catppuccin_status_right_separator_inverse "no"
set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "no"
set -g @plugin 'xamut/tmux-weather'
set-option -g @tmux-weather-location "Dresden"
set-option -g @tmux-weather-interval 1
vdbe commented 7 months ago

Can't replicate the issue but it looks like the black block is part of #{weather} (xamut/tmux-weather output). Do you also have it with set-option -g status-right "#{weather}" (excluding catppuccin/tmux from the equation)?

Maybe you can solve it by changing @tmux-weather-format.

qrockz commented 7 months ago

I've edited the ../plugins/tmux-weather/scripts/weather.sh and gave the weather plugin a fixed string: $(set_tmux_option "@weather-previous-value" "☁️ wtf")

weather

The black block appears again...

With disabled cattpuccin plugin and set-option -g status-right "#{weather}" still same issue. weather2

Other icon works: weather2

vdbe commented 7 months ago

If you are not using a nerd font try that, but I don't think it's a problem with this plugin.

qrockz commented 7 months ago

If you are not using a nerd font try that, but I don't think it's a problem with this plugin.

I'm using nerd font. Yeah, it's not a cattpuccin issue.