Don't hide the + sign on Intel CPU temp
This commit is contained in:
parent
a4fe049859
commit
48f8514939
@ -11,7 +11,7 @@ fi
|
||||
if command -v sensors &> /dev/null; then
|
||||
if sensors 'coretemp-isa-0000' &> /dev/null; then
|
||||
function get_cpu_temp() {
|
||||
sensors 'coretemp-isa-0000' | awk 'NR == 3 { print substr($4, 2) }'
|
||||
sensors 'coretemp-isa-0000' | awk 'NR == 3 { print $4 }'
|
||||
}
|
||||
elif sensors 'k10temp-pci-00c3' &> /dev/null; then
|
||||
function get_cpu_temp {
|
||||
|
Loading…
x
Reference in New Issue
Block a user