A tool similar to that of neofetch and rsfetch that gets system information in the blink of an eye.
Rsflex aims to be so simple that you can easily edit the source code!
In the src/main.rs
file, you can look towards the bottom of the file and rearrange the functions to your hearts content!
Dependencies:
rustup
- Modern installation of Rust.Arch Linux
- Linux Distribution, only Arch supported right nowttf-nerd-fonts-symbols
- Nerd fonts to render the fancy iconslspci
- Command via pciutils
df
- Command via coreutils
xrandr
- Command via xorg-xrandr
uname
- Command via coreutils
playerctl
- To read MPRIS statusOn Arch Linux, these can all be installed with:
yay -S pciutils coreutils xorg-xrandr playerctl ttf-nerd-fonts-symbols curl rustup
Finally, to install rsflex
run:
cargo install --git https://github.com/curlpipe/rsflex
Rsflex is available on the Arhc User Repository as rsflex-git
:
yay -S rsflex-git
Building:
git clone https://github.com/curlpipe/rsflex
cd rsflex
cargo build --release
Running:
cargo run --release
Install as a binary:
cargo install --path .
Have fun! :)