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