FollieHiyuki-dotfiles/home/.local/bin/info/tempintel
2021-02-13 19:28:59 +03:00

5 lines
96 B
Bash
Executable File

#!/bin/sh
temp=$(acpi -t | sed 's/.*, //;s/ degrees //;s/C//' | cut -d'.' -f1)
echo "$temp"°C