dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 6c7167da8edb16bb4dbbc7c5ea4ff982c4f087b8
parent 55f9949bba22964884c922352be026fff509c271
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Tue, 17 Jul 2018 00:00:54 +0200

Show temp is above 50 degrees

Diffstat:
Mxinitrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xinitrc b/xinitrc @@ -37,7 +37,7 @@ do LOCALTIME=$(TZ=Europe/Berlin date +%Z\=%Y-%m-%dW%V%a%H:%M:%S) UTC="("$(TZ=UTC date +%Z\=%Y-%m-%dW%V%a%H:%M:%S)")" IP="IP=$(for i in `ip r`; do echo $i; done | grep -A 1 src | tail -n1)" - if [ $(($(cat /sys/class/thermal/thermal_zone0/temp) / 1000)) -ge 100 ] + if [ $(($(cat /sys/class/thermal/thermal_zone0/temp) / 1000)) -ge 50 ] then TEMP="Temp=$(($(cat /sys/class/thermal/thermal_zone0/temp) / 1000))°C" else