aboutsummaryrefslogtreecommitdiff
path: root/.scripts/cpu_temp.sh
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/cpu_temp.sh')
-rwxr-xr-x.scripts/cpu_temp.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.scripts/cpu_temp.sh b/.scripts/cpu_temp.sh
new file mode 100755
index 0000000..f2dd2b6
--- /dev/null
+++ b/.scripts/cpu_temp.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+acpi -t | awk '{ print $4 }' | sed 's/\../%/' | tr -d '\n'