mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
trying degree marker in output
This commit is contained in:
parent
4038300724
commit
1c03a2daf8
4
inxi
4
inxi
|
@ -3026,13 +3026,13 @@ get_sensors_data()
|
||||||
/M\/B Temp/ {
|
/M\/B Temp/ {
|
||||||
moboTemp=gensub( /\+(.+)/, "\\1", 1, $3 )
|
moboTemp=gensub( /\+(.+)/, "\\1", 1, $3 )
|
||||||
if ( $4 ~ /C|F/ ){
|
if ( $4 ~ /C|F/ ){
|
||||||
moboTemp=moboTemp " " $4
|
moboTemp=moboTemp "°" $4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/CPU Temp/ {
|
/CPU Temp/ {
|
||||||
cpuTemp=gensub( /\+(.+)/, "\\1", 1, $3 )
|
cpuTemp=gensub( /\+(.+)/, "\\1", 1, $3 )
|
||||||
if ( $4 ~ /C|F/ ){
|
if ( $4 ~ /C|F/ ){
|
||||||
cpuTemp=cpuTemp " " $4
|
cpuTemp=cpuTemp "°" $4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/CPU Fan/ {
|
/CPU Fan/ {
|
||||||
|
|
Loading…
Reference in a new issue