mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-14 08:01:35 +09:00
5 lines
149 B
Bash
5 lines
149 B
Bash
#!/bin/sh
|
|
temp=$(sensors | grep 'Package id 0:\|Tdie' | grep ':[ ]*+[0-9]*.[0-9]*°C' -o | grep '[0-9]*.[0-9]*°C' -o)
|
|
temp=${temp::-4}
|
|
echo "$temp"
|