aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2022-09-14 00:43:50 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2022-09-14 00:47:16 +0100
commit0d7a9acf84ed0d3ab109c4a2b3e343346e0b3e4a (patch)
tree7ad9cf1d56a57634ad1a7b48c81b072fa883dd98 /Scripts/.local
parent2f51cf2b3d673041a940af76b4fdd3bd4ec05708 (diff)
downloaddotfiles-0d7a9acf84ed0d3ab109c4a2b3e343346e0b3e4a.tar.gz
dotfiles-0d7a9acf84ed0d3ab109c4a2b3e343346e0b3e4a.tar.bz2
dotfiles-0d7a9acf84ed0d3ab109c4a2b3e343346e0b3e4a.zip
(Scripts/status)+temperature script for status
Diffstat (limited to 'Scripts/.local')
-rwxr-xr-xScripts/.local/scripts/status/temperature3
1 files changed, 3 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/status/temperature b/Scripts/.local/scripts/status/temperature
new file mode 100755
index 0000000..0e8eb07
--- /dev/null
+++ b/Scripts/.local/scripts/status/temperature
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+echo " $(sensors | grep "Core" | sed 's/Core [0-9]:[ ]*+//;s/C.*//' | sort -r | head -1)C"