#!/bin/sh temp=$(acpi -t | grep "Thermal 1" | cut -d' ' -f4) if [[ -z $temp ]] then temp=$(acpi -t | head -n1 | cut -d' ' -f4) fi echo -n "  " $temp "º "