/tmux-bitahub

Display bitahub GPU status in tmux status line.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

tmux-bitahub

readthedocs pre-commit.ci status github/workflow codecov FOSSA Status

github/downloads github/downloads/latest github/issues github/issues-closed github/issues-pr github/issues-pr-closed github/discussions github/milestones github/forks github/stars github/watchers github/contributors github/commit-activity github/last-commit github/release-date

github/license github/languages github/languages/top github/directory-file-count github/code-size github/repo-size github/v

pypi/status pypi/v pypi/downloads pypi/format pypi/implementation pypi/pyversions

Display bitahub GPU status in tmux status line.

Screenshot

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

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

License

FOSSA Status