diff options
Diffstat (limited to 'bin/.bin/temp')
-rwxr-xr-x | bin/.bin/temp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/.bin/temp b/bin/.bin/temp new file mode 100755 index 0000000..fec8439 --- /dev/null +++ b/bin/.bin/temp | |||
@@ -0,0 +1,2 @@ | |||
1 | #!/bin/bash | ||
2 | paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1°C/' | ||