vuckale / dual-fan-speed-module-polybar

Polybar module for displaying left and right fan speed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polybar module for displaying left and right fan speed

Required dependencies

  • lm-sensors

Install and configure lm-sensors on Debian based distro:

  1. Install lm-sensors
sudo apt install lm-sensors
  1. Configure
sudo sensors-detect

Include fan_speed.sh into your Polybar config file

  1. Get fan_speed.sh
cd ~/.config/polybar && git clone https://github.com/vuckale/dual-fan-speed-module-polybar.git
  1. Make script executable:
chmod +x fan_speed.sh
  1. Add module to config file:
[module/fan_speed]
type = custom/script
interval = 2
format = <label>
label = %output%
exec = /path/to/fan_speed.sh

Adjust interval to your liking and reference/point exec to fan_speed.sh. If you cloned it to ~/.config/polybar it should look like this:

exec = ~/.config/polybar/dual-fan-speed-module-polybar/fan_speed.sh
  1. Relaunch Polybar

About

Polybar module for displaying left and right fan speed


Languages

Language:Shell 100.0%