py3status monitor 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.
Screenshot
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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file py3status-amdfan-0.1.2.tar.gz
.
File metadata
- Download URL: py3status-amdfan-0.1.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.7 Linux/5.14.12-zen1-1-zen
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37732fb1f2878d5845e1a00838f02b1666fed0edbb967d109111441c5cab9a4f |
|
MD5 | db4a8b8ffc0094be3ee0076b2445508f |
|
BLAKE2b-256 | 218cfc39ce5ce8201e2b91683878bf7776afac89f9eafba01b6385bef46b96b3 |
File details
Details for the file py3status_amdfan-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: py3status_amdfan-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.7 Linux/5.14.12-zen1-1-zen
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e46b8f3df520b0eb5cacd01578e71cf81830f43853917577f2e3a4099a9f1f64 |
|
MD5 | 997d5546171ff61b380113b42164db1a |
|
BLAKE2b-256 | 63d34fc67d9aa878b90f26aed7c1a3be9ee48f6e680b02c49178695d6308affa |