Macchina preview image

Crates.io Crates.io reposize loc


About Macchina

Macchina is a fetching program, not a library.

Macchina lets you view basic system information, like your hostname, kernel version, uptime, memory usage, and much more. No one wants a slow fetcher, and Macchina's selling point is providing you with convenient features while keeping performance a priority and minimalism a goal.

Macchina preview image


Dependencies


Benchmarks

Macchina is pretty fast, see for yourself:

| Command | Mean [ms] | Min [ms] | Max [ms] | Relative | |:---|---:|---:|---:|---:| | macchina | 46.7 ± 2.9 | 45.3 | 62.5 | 1.00 | | neofetch | 398.2 ± 22.8 | 373.8 | 435.7 | 8.53 ± 0.72 |

Summary: macchina runs 8.53 ± 0.72 times faster than neofetch


Features

Themes:

Theme preview

Macchina displays basic system information such as:

Package count supports package managers of: - Arch-based distributions - Debian-based distributions - Gentoo - NetBSD

Macchina requires wmctrl to be installed to print your Window Manager, and only some window managers will be displayed as wmctrl "only works with window managers which implement the EWMH specification".

Macchina supports the following arguments:

--no-color / -n - Disable colors

--color / -c <color> - Specify the key color

--separator-color / -C <color> - Specify the separator color

--random-color / -r - Let Macchina pick a random color for you

--palette / -p - Display palette

--short-sh / -S - Shorten shell output (/bin/zsh -> zsh)

--short-uptime / -U - Shorten shell output (/bin/zsh -> zsh)

--hide / -H <element> - Hide elements such as host, os, kern, etc.

--show-only / -X <element> - Display only the provided elements

--bar / -b - Display memory usage and battery percentage as bars

Preview of bar argument

--theme / -t <theme> - Specify the theme

--padding / -P <amount> - Specify the amount of (left) padding to use

--spacing / -s <amount> - Specify the amount of spacing to use

--debug / -d - Print debug information, use when an element fails to display.

--help / -h - Print help text

--version / -v - Print version


Installation

Macchina is available on:


Platform Support

Platform Support

| Platform | Support | | :-: | :-: | | Linux | Yes | | NetBSD [1] | Yes | | MacOS | | | Windows | |