py3status monitor to show the state of your cpu governor
Project description
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
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
pip install py3status-cpu-governor
Building From AUR (Arch)
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.
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
Close
Hashes for py3status-cpu-governor-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9afdda524eb4bff291dd766d022cb45b44f007894d864c122ecf746df3f5275 |
|
MD5 | f0e38dd215a7360c63eeb195db24ea60 |
|
BLAKE2b-256 | 9b92ce10e0626677ef4dd3d6193b425e0355ae308d85e70e5caac6958ab051d4 |
Close
Hashes for py3status_cpu_governor-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06460098f061123f0d93091347440d6ba527ffd221ec9614cedef4fb3dcdf847 |
|
MD5 | 31ec7d545ac145485fc510198a895946 |
|
BLAKE2b-256 | 566922250f3de4d5916f8fd472131bc0f0dc820910536682a7497e9b807fa12d |