diff options
Diffstat (limited to 'bin/.local/bin/temp')
-rwxr-xr-x | bin/.local/bin/temp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/.local/bin/temp b/bin/.local/bin/temp new file mode 100755 index 0000000..fec8439 --- /dev/null +++ b/bin/.local/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/' | ||