https://github.com/curlpipe/rsflex
A super fast system information displayer written in Rust
https://github.com/curlpipe/rsflex
Last synced: about 1 year ago
JSON representation
A super fast system information displayer written in Rust
- Host: GitHub
- URL: https://github.com/curlpipe/rsflex
- Owner: curlpipe
- License: mpl-2.0
- Created: 2020-07-24T01:32:14.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-17T21:23:14.000Z (over 5 years ago)
- Last Synced: 2025-03-26T14:51:04.005Z (about 1 year ago)
- Language: Rust
- Size: 62.5 KB
- Stars: 16
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rsflex (Rust Flex)

System information tool like neofetch but it's much faster.
## Configuration
I chose to use a suckless method of configuration
in the file `src/main.rs` you'll see an easy macro api that allows quite a lot of customisation
If you want to add a new logo, you can do so in the `src/logo.rs` file
## Installation
### A) AUR
Rsflex is available on the Arhc User Repository as `rsflex-git`:
```
yay -S rsflex-git
```
### B) Cargo
Dependencies:
- `rustup` - Modern installation of Rust.
- Arch Or Void Linux (these are the only ones supported)
- `ttf-nerd-fonts-symbols` - Nerd fonts to render the fancy icons
- `lspci` - Command via `pciutils`
- `df` - Command via `coreutils`
- `xrandr` - Command via `xorg-xrandr`
- `uname` - Command via `coreutils`
- `playerctl` - To read MPRIS status
On Arch Linux, these can all be installed with:
```
yay -S pciutils coreutils xorg-xrandr playerctl ttf-nerd-fonts-symbols cargo
```
**Note: These dependencies are only needed if installed via Cargo, they are included automatically with the AUR package above.**
```
cargo install rsflex
```
## Compiling
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! :)