Polybar: adaptation du module de température et d'ethernet

zou
Olivier DOSSMANN 2020-01-10 08:44:15 +01:00
parent 380fef687a
commit b8b09f3512
1 changed files with 3 additions and 2 deletions

View File

@ -240,7 +240,7 @@ ramp-signal-foreground = ${colors.foreground-alt}
[module/eth]
type = internal/network
interface = eno1
interface = enp3s0
interval = 3.0
format-connected-underline = #55aa55
@ -346,7 +346,8 @@ warn-temperature = 65
; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
; to find path to desired file
; Default reverts to thermal zone setting
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
hwmon-path = /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon2/temp1_input
#hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
;format = <ramp> <label>
format = <label>