summaryrefslogtreecommitdiff
path: root/bin/.local/bin/temp
blob: fec8439442f4eeb43709bb1106b5cd0beead6ba2 (plain)
1
2
#!/bin/bash
paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1°C/'