Skip to content

Repository files navigation

RuFetch

A simple, customisable fetch written in Rust.

Github ActionsCircleCI Main BranchCircleCI Dev BranchCrate Version

Sample

test@test-pc
------------------------------
Host: mohsin-pc
CPU: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz (4)
OS: Arch Linux
Kernel Version: 5.15.2-arch1-1
DE: bspwm
Uptime: 0.61 hour(s)
Disk: /dev/sda2 (195.16 GB / 449.57 GB)
Memory: 2.44 GB / 8.24 GB
Swap: 0.59 GB / 8.59 GB
Temperature
--------------------
Ambient: 49°C
Core 0: 65°C
Core 1: 64°C
CPU: 63°C
GPU: 46°C
Package id 0: 65°C
SODIMM: 42°C
CPU: 41.5°C

Configuration Location

The configuration file needs to be created manually.

PlatformLocation
Windows%appdata%/ru_fetch/config.toml
Linux~/.config/ru_fetch/config.toml
Mac~/Library/Application Support/ru_fetch/config.toml

Configuration Options

Following are possible configuration options, their descriptions and their possible values.

OptionDescriptionPossible Values
show_osShow OStrue, false
show_hostnameShow hostnametrue, false
show_kernel_versionShow OS kernel versiontrue, false
show_memoryShow total and used RAMtrue, false
show_swapShow total and used Swaptrue, false
show_uptimeShow system uptimetrue, false
show_colorsShow color blockstrue, false
show_cpuShow CPU usagetrue, false
show_coresShow total CPU corestrue, false
show_disksShow Disk name and Usagetrue, false
show_de[Linux] Show DE nametrue, false
show_temperatureShow temperature from sensorstrue, false
uptime_typeThe uptime's unitHour, Minute, Second
colors_widthSize of color blocksany unsigned int
memory_typeThe memory's unitKB, MB, GB

Note: colors_width requires a unsigned integer which is within integer range. Recommended usage is 3 - 5

Sample / Default Config

Sample Config
show_os = trueshow_hostname = trueshow_uptime = trueshow_kernel_version = trueshow_memory = trueshow_swap = trueshow_de = trueshow_temperature = trueshow_colors = trueshow_cpu = trueshow_cores = trueshow_disks = truecolors_width = 3uptime_type = "Minute"memory_type = "GB"

License

This program is licensed under GPL3.

About

RuFetch is a customisable system info fetch written in Rust for Windows, Linux and Mac.

Topics

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages