statusinfo2 lets you view system metrics like CPU temperature and memory usage.
statusinfo2 is a tiny CLI that prints the exact metrics you care about in one line, making it perfect for status bars, panels, and scripts. It focuses on fast, low-overhead reads from the system instead of heavy daemons or complex config files.
Use it when you want a lightweight way to surface real-time desktop health with a consistent, icon-first output.
- You pass one or more "gadgets" (metrics) as positional arguments
- Each gadget reads a small, local source (like
/proc/meminfoorhwmonfiles) - Results are formatted with an icon and joined into a single line
cargo install statusinfo2Pass the gadgets you want to print as positional arguments:
statusinfo2 memory temperaturethunderbird: reads unread count from~/.local/share/tbunread/countmemory: used memory percentage (from/proc/meminfo)temperature: max CPU temperature (from/sys/class/hwmon/hwmon*/temp*_input)
--separator <n>: spaces between gadgets (default:4)--space <n>: spaces between icon and data (default:2)
Example with tighter spacing:
statusinfo2 --separator 2 --space 1 memory temperature