Polybar: adaptation du module de température et d'ethernet
This commit is contained in:
parent
c87f867b4c
commit
07228cdb8a
@ -240,7 +240,7 @@ ramp-signal-foreground = ${colors.foreground-alt}
|
|||||||
|
|
||||||
[module/eth]
|
[module/eth]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
interface = eno1
|
interface = enp3s0
|
||||||
interval = 3.0
|
interval = 3.0
|
||||||
|
|
||||||
format-connected-underline = #55aa55
|
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
|
; $ 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
|
; to find path to desired file
|
||||||
; Default reverts to thermal zone setting
|
; 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 = <ramp> <label>
|
||||||
format = <label>
|
format = <label>
|
||||||
|
Loading…
Reference in New Issue
Block a user