From 1ff834e2b06761b083df9959d6c3d6bd2a94d2de Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Tue, 1 Dec 2020 20:21:04 +0000 Subject: mah thinkpad --- bin/.bin/temp | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 bin/.bin/temp (limited to 'bin/.bin/temp') 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 @@ +#!/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/' -- cgit v1.2.3