Files
bin/show_temps.sh

6 lines
179 B
Bash
Executable File

#!/bin/sh
CPU=`sensors | grep 'Core 0' | cut -f2 -d+ | cut -f1 -d\.`
export str="CPU: $CPU C"
/usr/bin/mythutil --message --message_text "$str" --timeout 3 --bcastaddr=127.0.0.1