polybar-lmsensors

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

polybar-lmsensors

Simple programme that prints the values of the specified lmsensors.

Checks GitHub Issues

Go Reference

Uses the lm-sensors (linux monitoring sensors) pacakge, on top of the hwmon kernel feature.

Setup

  • Install lm-sensors
    • Ubuntu: sudo apt install lm-sensors libsensors-dev
    • Arch: pacman -S lm_sensors
  • Configure lm-sensors
  • Download polybar-lmsensors binary from TODO
    • Or, with the go toolchain installed, build it manually with go get github.com/mt-inside/polybar-lmsensors

Example

Manual Execution
$ polybar-lmsensors -t -n -u it8688-isa-0a40/SYS_FAN2=sys k10temp-pci-00c3/Tdie
Fan sys 825/min, Temp Tdie 41°C
Polybar Config
[module/sensors-cpu]
type = custom/script
interval = 2
format-prefix = " "
exec = $GOPATH/bin/polybar-lmsensors -u -n -t k10temp-pci-00c3/Tdie it8688-isa-0a40/CPU_FAN=cpu

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL