py3status-cpu-governor
Python module for py3status to show the cpu_governor state in i3
This is handy if you manage your governor manually with something like or use gamemode
alias performance_mode='echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor'
alias powersave_mode='echo powersave | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor'
alias schedutil_mode='echo schedutil | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor'
alias cpu_frequency_watch='watch -n.5 "cat /proc/cpuinfo | grep \"^[c]pu MHz\""'
Screenshot
Pre-reqs
- i3
- py3status
Installation
From Git
git clone https://github.com/mcgillij/py3status-cpu-governor.git
mkdir -p ~/.i3/py3status && cd ~/.i3/py3status
ln -s <PATH_TO_CLONED_REPO>/src/py3status-cpu-governor/cpu_governor.py ./
With pip, pipenv or poetry
pip install py3status-cpu-governor
pipenv install py3status-cpu-governor
poetry add py3status-cpu-governor && poetry install
With yay
yay -S py3status-cpu-governor
Building Arch package w/PKGBUILD
git clone https://aur.archlinux.org/py3status-cpu-governor.git
cd py3status-cpu-governor.git
makechrootpkg -c -r $HOME/$CHROOT
Installing Arch package
sudo pacman -U --asdeps py3status-cpu-governor-*-any.pkg.tar.zst
Configuration
add the following line to your ~/.config/i3/i3status.conf
order += "cpu_governor"
And restart your i3 session.
Metadata
Release files for py3status-cpu-governor 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py3status-cpu-governor-0.1.3.tar.gz | 3.6 kB | Without provenance | Details for py3status-cpu-governor-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py3status_cpu_governor-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for py3status_cpu_governor-0.1.3-py3-none-any.whl |
Total release size: 8.3 kB
Release files / py3status-cpu-governor-0.1.3.tar.gz
| Download URL | py3status-cpu-governor-0.1.3.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54e91c9ce97e7f9091ee5c839091081c7e45f7b46cd113df6ee462a09564e4c2
|
|
BLAKE2b-256 checksum How to use checksums |
4727ce8e34ee7a1621ebcdf5f24f82235ce6cfd28d5080acda2d5cb72a514a13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.1 Linux/5.15.7-zen1-1-zen
|
Release files / py3status_cpu_governor-0.1.3-py3-none-any.whl
| Download URL | py3status_cpu_governor-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
049a5cedf2882216d56fe2ff43d7a179a743f78e88ceb4af99583367f11983d0
|
|
BLAKE2b-256 checksum How to use checksums |
f4243dcff26b4f2d43e1624a4a08406eda27b67e106a662596128531f2dd15e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.1 Linux/5.15.7-zen1-1-zen
|
Security for py3status-cpu-governor 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.