tmux-plugins / tmux-cpu

Plug and play cpu percentage and icon indicator for Tmux.
MIT License
444 stars 69 forks source link

No CPU temperature? #82

Closed lthiet closed 1 year ago

lthiet commented 1 year ago

Hello,

Recently started to play with tmux, the CPU temperature doesn't show. Here's my config file:

set -g @plugin 'tmux-plugins/tmux-cpu'

set -g status-style bg=default
set-option -g status-right-length 140
set -g status-right 'CPU: #{cpu_percentage} MEM: #{ram_percentage} TMP:  #{cpu_temp} | GPU: #{gpu_percentage} MEM: #{gram_percentage} TMP: #{gpu_temp}'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

My CPU is a i9-13900k, is it perhaps too recent to get the readings?

casperdcl commented 1 year ago

Do you have lm-sensors as per https://github.com/tmux-plugins/tmux-cpu#optional-requirements-linux-bsd-osx?

lthiet commented 1 year ago

Indeed, I had forgotten that. Thanks!