Skip to main content

py3status monitor to show amdgpu fan speeds and temp

Project description

py3status-amdfan

Python module for monitoring fan RPMs and temperature for amdgpu cards in i3wm using py3status.

Downloads

Screenshot

Status Bar with py3status_amdfan

Prerequisites

  • i3
  • py3status
  • amdfan
  • poetry (if installing from git)

Installation

From Git

git clone https://github.com/mcgillij/py3status-amdfan.git
cd py3status-amdfan && poetry install
mkdir -p ~/.i3/py3status && cd ~/.i3/py3status
ln -s <PATH_TO_CLONED_REPO>/src/py3status_amdfan/fan_monitor.py ./

With Pip, Pipenv or Poetry

pip install py3status-amdfan amdfan
pipenv install py3status-amdfan amdfan
poetry add py3status-amdfan amdfan && poetry install

With yay

yay -S py3status-amdfan amdfan

Building Arch package w/PKGBUILD

git clone https://aur.archlinux.org/py3status-amdfan.git
cd py3status-amdfan.git
makechrootpkg -c -r $HOME/$CHROOT

Installing built Arch package

sudo pacman -U --asdeps py3status-amdfan-*-any.pkg.tar.zst

Configuration

Next you will need to add the services you want to monitor, and optionally choose some appropriate emoji's. You can also configure actions to open up your browser when you click on the icon, which I find pretty handy.

~/.config/i3/i3status.conf

...
order += "fan_monitor"
order += "clock"
order += "mail"
...

Configuration Options

You can pass in the following configuration options:

  • cache_timeout
  • format

Restart i3

Once the package is installed and configured you just need to restart i3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py3status_amdfan-0.1.10.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

py3status_amdfan-0.1.10-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file py3status_amdfan-0.1.10.tar.gz.

File metadata

  • Download URL: py3status_amdfan-0.1.10.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/6.4.8-zen1-1-zen

File hashes

Hashes for py3status_amdfan-0.1.10.tar.gz
Algorithm Hash digest
SHA256 bebfc7357066fcfe6b13e3c9ad4354c279b088b494193d987ab09cda06d28215
MD5 ab2719d22b4855ebf2e05652be0fe364
BLAKE2b-256 9ecb9f1361cec81e437f08d11552387420a4f188114f0a338f19877c2a18027e

See more details on using hashes here.

File details

Details for the file py3status_amdfan-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: py3status_amdfan-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/6.4.8-zen1-1-zen

File hashes

Hashes for py3status_amdfan-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 54cc2e63db3773e2c077c2f2aed5a99700d5cc7be94911ec63f456f0279ac340
MD5 29e757b6e94fa0246f3945b5d4526367
BLAKE2b-256 650f61ce01876618c567796ee0290d5d03f676dabdf207e665f4ecb494131ff2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page