diff options
Diffstat (limited to 'i3blocks-cputemp.sh')
-rwxr-xr-x | i3blocks-cputemp.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/i3blocks-cputemp.sh b/i3blocks-cputemp.sh deleted file mode 100755 index faac2de..0000000 --- a/i3blocks-cputemp.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -#low=122 # 50C -high=176 # 80C -#icon_low= -#icon_mid= -#icon_high= -icon= - -celcius=$(sysctl -n dev.cpu.0.temperature | cut -d'.' -f1) -#[ $celcius -lt $low ] && printf $icon_low -#[ $celcius -ge $low ] && [ $fahrenheit -lt $high ] && printf $icon_mid -#[ $celcius -ge $high ] && printf $icon_high -[ $celcius -ge $high ] && notify-send "CPU temperature hit 176F (80C)" - -#printf " %s C\n" $celcius - -# 'Murica -printf "$icon%s ℉\n" $(echo "scale=1; $celcius * 9 / 5 + 32" | bc -l) |