aboutsummaryrefslogtreecommitdiff
path: root/.scripts/cpu_temp.sh
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-09 21:11:43 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-09 21:11:43 +0530
commitde58295210063ed7088b411d0da8ef37b33cb863 (patch)
tree089e946d9b302db19f9f3bb9ea32554761525365 /.scripts/cpu_temp.sh
parent3d99cb44596006f8b6cfbf0f1f0daad5e54bd164 (diff)
switched to lemonbar
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'