#!/bin/sh # Replace default temperature module (on AMD CPU) temp=$(sensors | grep "Tdie" | sed "s/Tdie: *+//;s/°C *//" | cut -d'.' -f1) echo "$temp"°C