1
0
mirror of https://git.disroot.org/FollieHiyuki/dotfiles.git synced 2025-02-26 14:29:33 -05:00

6 lines
154 B
Plaintext
Raw Normal View History

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