Crates.io | tmux-applets |
lib.rs | tmux-applets |
version | 0.0.1 |
created_at | 2025-09-03 09:42:59.491253+00 |
updated_at | 2025-09-03 09:42:59.491253+00 |
description | A selection of "applets" to use in your tmux status line, written in Rust 🦀 |
homepage | https://github.com/lmartinking/tmux-applets |
repository | https://github.com/lmartinking/tmux-applets |
max_upload_size | |
id | 1822259 |
size | 18,013 |
A selection of "applets" to use in your tmux status line, written in Rust 🦀
NOTE: The C code is available on the legacy
branch. It is preserved for historical purposes.
cargo install tmux-applets
Currently implemented:
cpu
: Show CPU frequency usagemem
: Show memory usageping
: Ping a hostTo see available parameters, run: tmux-applets --help
In ~/.tmux.conf
, edit your status line:
set-option -g status-right "#(/path/to/tmux-applets <applet> <arguments>) #(/path/to/tmux-applets <applet> <arguments>)"
For example, in my configuration I have:
set-option -g status-right " CPU:#(/home/lucas/bin/tmux-applets cpu s:50 l:50) MEM:#(/home/lucas/bin/tmux-applets mem pct-text s:50 l:50) "
set-option -g status-right-length 48 # May be necessary if you have a long status line
set-option -g status-interval 1
Bug reports, etc can be sent to lmartinking@gmail.com, or you can use the github page at: https://github.com/lmartinking/tmux-applets/issues