ilya-manin / tmux-network-bandwidth

📊 Network bandwidth plugin for tmux
MIT License
76 stars 13 forks source link

Does not work with tpm #14

Open blackheaven opened 2 years ago

blackheaven commented 2 years ago

I'm trying to setup tmux-network-brandwidth with tmux 3.2a/NixOS/Konsole following README:

# charset

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'arcticicestudio/nord-tmux'
set -g @plugin 'blackheaven/tmux-mem-cpu-load'
set -g @plugin 'xamut/tmux-network-bandwidth'
set -g @plugin 'laktak/extrakto'
set -g @plugin 'tmux-plugins/tmux-fpp'
run '~/.tmux/plugins/tpm/tpm'

# status bar
set -g status on
set -g window-status-format "#[fg=black,bg=brightblack,nobold,noitalics,nounderscore] #[fg=black,bg=brightblack]#I #[fg=black,bg=brightblack,nobold,noitalics,nounderscore] #[fg=black,bg=brightblack]#W #F #[fg=brightblack,bg=black,nobold,noitalics,nounderscore]" # nord unactive tab name colors (#W)

set -g status-interval 1
set-option -g @tmux-network-bandwidth-padding 8

set -g status-right "#[fg=orange]|#{network_bandwidth}|"

But I end up with ||

If I try to call it directly:

set -g status-right "#[fg=orange]|#(~/.tmux/plugins/tmux-network-bandwidth/scripts/network-bandwidth.sh)|"

It displays something, but whenever I try to select something with my mouse, it is deselected.

Any idea what's happening?

Thanks in advance.

martisj commented 3 months ago

Same here.