Macchina 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.
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
Macchina displays basic system information such as:
- Hostname
- Operating system
- Kernel version
- Package count (Arch-based distributions only, will print 0 on any other distribution)
- Shell path/name in which macchina was ran
- Terminal instance name in which macchina was ran
- Processor model name, frequency and thread count
- Uptime
- Memory usage
- Battery percentage and status
- Palette (if user runs Macchina with --palette / -p
)
Macchina supports the following arguments:
- --no-color
-> disable colors
- --color <color>
-> specify the key color
- --separator-color <color>
-> specify the separator color
- --random-color
-> let macchina choose a random color for you
- --palette
-> display palette
- --short-sh
-> shorten shell output (/bin/zsh => zsh)
- --hide <element>
-> hide elements such as host, os, kern, etc.
- --bar
-> display memory usage and battery percentage as progress bars
- --theme <theme_name>
-> change themes
- --help
-> display help menu
- --version
-> print version
- --padding <amount>
-> specify the amount of padding to use
Macchina is not yet ready to be deployed on crates.io, but you can compile it from source and play around with it.
Here's how you can do that:
git clone https://github.com/grtcdr/macchina
cd macchina && cargo build
./target/debug/macchina
Bonus: To run macchina from anywhere on your system, you have two options:
macchina/target/debug/macchina
somewhere in your $PATH, like ~/.local/bin or /usr/bin.:heavyexclamationmark: Any changes you make to the source code will apply to the macchina binary file but you'll need to place the newly built binary file on your $PATH again to run it from anywhere on your system with your new changes.
:heavyexclamationmark: This symlink will point to the binary file, so everytime you modify the source code and rebuild, running $ macchina
from anywhere on your system will run the newly built binary file.
| Platform | Support | | :-: | :-: | | Linux | :heavycheckmark: | | BSD | :question: | | MacOS | | | Windows | |
Cells containing :question: have not yet been tested.