FollieHiyuki-dotfiles/home/.local/bin/info/tempintel

5 lines
96 B
Plaintext
Raw Normal View History

2021-02-13 11:28:59 -05:00
#!/bin/sh
temp=$(acpi -t | sed 's/.*, //;s/ degrees //;s/C//' | cut -d'.' -f1)
echo "$temp"°C