aboutsummaryrefslogtreecommitdiff
path: root/raspberry/.local/bin/temp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'raspberry/.local/bin/temp.sh')
-rwxr-xr-xraspberry/.local/bin/temp.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/raspberry/.local/bin/temp.sh b/raspberry/.local/bin/temp.sh
new file mode 100755
index 0000000..2c60aa2
--- /dev/null
+++ b/raspberry/.local/bin/temp.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Show CPU temperature in a cool way. Requires superuser permissions.
+
+watch -n 2 --no-title "/opt/vc/bin/vcgencmd measure_temp | sed 's/temp=//' | figlet -W | /usr/bin/cowsay -f ghostbusters -n | sed 's/^/ /'"