Files
misc/bin/st-temp
2025-07-02 00:07:49 -07:00

5 lines
198 B
Bash
Executable File

#!/bin/sh
CPUTEMP=$(sensors | grep "Package id 0" | awk '{print $4}' | sed s/+// )
COOLANT_TEMP=$(liquidctl status | grep "Liquid temperature" | awk '{print $4$5}')
echo "$CPUTEMP // $COOLANT_TEMP"