mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-02 04:08:30 -05:00
6 lines
154 B
Plaintext
6 lines
154 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
# Replace default temperature module (on AMD CPU)
|
||
|
temp=$(sensors | grep "Tdie" | sed "s/Tdie: *+//;s/°C *//" | cut -d'.' -f1)
|
||
|
echo "$temp"°C
|