libtpfanspeed

Crates.iolibtpfanspeed
lib.rslibtpfanspeed
version0.1.1
sourcesrc
created_at2024-07-17 02:08:24.978125
updated_at2024-07-31 04:29:35.782556
descriptionA ThinkPad fan control library.
homepagehttps://github.com/ezntek/tpfanspeed
repositoryhttps://github.com/ezntek/tpfanspeed
max_upload_size
id1305749
size17,730
ezntek (ezntek)

documentation

README

TPFanSpeed

Just another ThinkPad fan control utility.

This one is written in Rust and GTK (no relm4, etc.).

Dependencies

  • lm_sensors (whichever package from your distribution that provides the sensors command)

the CLI

The CLI interface contains 2 binaries, tpfanctl and setfan. The help pages for these binaries are as follows:

A simple ThinkPad Fan control tool. pass `-h` for help.

Usage: tpfanctl [OPTIONS] <COMMAND>

Commands:
  temp     Print the CPU temperatures
  rpm      Print the fan's RPM
  fan      Print/Modify the fan's speed setting
  version  Print this program's version
  help     Print this message or the help of the given subcommand(s)

Options:
  -q, --quiet        do not print any information, except for errors.
      --extra-quiet  do not print anything, including errors.
  -h, --help         Print help
  -V, --version      Print version
A condensed version of the tpfanctl utility, that only sets the fan speed.

Usage: setfan <FANSPEED>

Arguments:
  <FANSPEED>  The fan speed in question

Options:
  -h, --help     Print helpA condensed version of the tpfanctl utility, that only sets the fan speed.

Usage: setfan <FANSPEED>

Arguments:
  <FANSPEED>  The fan speed in question

Options:
  -h, --help     Print help
  -V, --version  Print version
  -V, --version  Print version

the GUI

This one is still WIP. checkout the gui branch to see its development.

Commit count: 0

cargo fmt