summaryrefslogtreecommitdiff
path: root/bin/.bin/temp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/.bin/temp')
-rwxr-xr-xbin/.bin/temp2
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
2paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1°C/'