Awesome
tmux-bitahub
Display bitahub GPU status in tmux status line.
<!-- mdformat-toc start --slug=github --no-anchors --maxlevel=6 --minlevel=2 --> <!-- mdformat-toc end -->Configure
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.)
Install
tpm
set -g @plugin Freed-Wu/tmux-bitahub
run ~/.config/tmux/plugins/tpm/tpm
Make sure requirements.txt has been installed.
PYPI
pip install tmux-bitahub
run-shell python -m tmux_bitahub