Display bitahub GPU status in tmux status line.
See array interpolation
. E.g.,
tmux set -g status-right "1080ti #{bitahub_status_gtx1080ti}"
can display
1080ti 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0
in the right status line of tmux. (Because now no any GTX1080Ti GPU left.)
set -g @plugin Freed-Wu/tmux-bitahub
run ~/.config/tmux/plugins/tpm/tpm
Make sure requirements.txt has been installed.
pip install tmux-bitahub
run-shell python -m tmux_bitahub