7 releases

0.0.7 Apr 10, 2024
0.0.6 Feb 26, 2024
0.0.4 Oct 6, 2023
0.0.3 May 31, 2023
0.0.1 Jan 24, 2023

#272 in Filesystem

Download history 3/week @ 2024-02-16 259/week @ 2024-02-23 35/week @ 2024-03-01 15/week @ 2024-03-08 7/week @ 2024-03-15 6/week @ 2024-03-29 113/week @ 2024-04-05 20/week @ 2024-04-12

139 downloads per month

GPL-3.0 license

195KB
3K SLoC


AFetch banner

A CLI system information tool written in Rust.

Installation

Install with Cargo

You can use cargo to install the latest version of Afetch:

cargo install --locked afetch

Build manually

Start by cloning the repo:

git clone https://github.com/Asthowen/AFetch.git

For the next step you need to have Rust and cargo installed on your PC, for that follow the official documentation.

Now switch to project folder and compile a release:

cd AFetch && cargo build --release

Your executable will be in the target/release/ folder, it is named afetch.

Configuration

Locations of the configuration file

Linux -> $XDG_CONFIG_HOME/afetch or $HOME/.config/afetch
Windows -> %APPDATA%\Roaming\afetch
MacOS -> $HOME/Library/Application Support/afetch

Configuration options

- Language

Key name: language
Description: The language used by AFetch.
Available: auto / fr / en
Default: auto

- Disable entries

Key name: disabled_entries
Description: List of entries to be deactivated.
Available: os / host / kernel / uptime / packages / resolution / desktop / desktop-version / shell / terminal / terminal-font / memory / cpu / cpu-usage / network / disk / disks / public-ip / battery / color-blocks
Default: network, battery, cpu-usage & public-ip
Example:

disabled_entries:
  - battery
  - public-ip
  - network

Key name: logo
Description: Allows you to customize the logo.
Example:

logo:
  status: enable # disable / enable
  char_type: braille # braille / picture
  picture_path: none # `the file path: eg: ~/pictures/some.png` / none

- Text Color

Key name: text_color
Description: Allows you to customize the color of printed information.
Example:

text_color:
  - 255 # r
  - 255 # g
  - 255 # b

- Text Header Color

Key name: text_color
Description: Allows you to customize the color of printed information header.
Example:

text_color_header:
  - 133 # r
  - 218 # g
  - 249 # b

Contributors

Asthowen SquitchYT

License

AFetch | GNU General Public License v3.0

Dependencies

~24–59MB
~754K SLoC