rdoetjes / rfetch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rfetch system info motd

rfetch is simple small motd that can set the following information like motd. Insead of motd we use the name message.txt

Kernel name:     <name> 
Kernel version:  <kernel_version>
OS version:      <os_version> 
Number of CPUs:  <cpu_len>
Total Memory:    <total_memory> GB
Load average:    <load.one>, <load.five>, <load.fifteen>
Primary IP address: <ip>

The message.txt that contains the above listed tags should reside in the ~/.config/rfetch/message.txt directory and in your .zshrc you just call rfetch

This application relies on the sysinfo crate. This crate collects the system data listend above, which inturn is quick and dirtily replaced -- this is efficienter than sed or awk hence this little tool was created.

See message.txt for an example.

About


Languages

Language:Rust 100.0%