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