From 448f6af6497125d6b9ba0409b027d160a7e05ba6 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Fri, 10 Jan 2020 08:44:15 +0100 Subject: [PATCH] =?UTF-8?q?Polybar:=20adaptation=20du=20module=20de=20temp?= =?UTF-8?q?=C3=A9rature=20et=20d'ethernet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/polybar/config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 2886560..758ce19 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -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 =