Macchina is a fetching program, not a library.
It lets you view basic system information, like your hostname, your kernel version, memory usage, and much more. No one wants a slow fetcher, and macchina's main goal is to provide you with handy features while keeping performance a priority.
If Macchina fails to display certain elements, or their output is incorrect, please create an issue.
Macchina is pretty fast, see for yourself:
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|:---|---:|---:|---:|---:|
| macchina
| 22.2 ± 0.7 | 21.0 | 25.1 | 1.00 |
| neofetch
| 243.9 ± 2.3 | 240.0 | 246.9 | 11.01 ± 0.37 |
Summary: macchina
runs 11.01 ± 0.37 times faster than neofetch
Package count supports package managers of: - Arch-based distributions - Debian-based distributions - 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".
--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)
--hide / -H <element>
- Hide elements such as host, os, kern, etc.
--show-only / -X <element>
- Displays only the provided elements.
--bar / -b
- Display memory usage and battery percentage as bars
--theme / -t <theme_name>
- Specify the theme to use
--padding / -P <amount>
- Specify the amount of (left) padding to use
--spacing / -S <amount>
- Specify the amount of spacing to use
--help / -h
- Print help text
--version / -v
- Print version
Macchina is available on:
Install using your favorite AUR helper or by running:
git clone https://aur.archlinux.org/macchina.git
cd macchina
makepkg -si
Install using cargo:
cargo install macchina
| Platform | Support | | :-: | :-: | | Linux | Yes | | NetBSD | Partial | | MacOS | | | Windows | |