Move more lines into the cache block

This commit is contained in:
Dylan 2016-03-30 14:14:51 +11:00
parent 53505207eb
commit 90fd0cf1be

View file

@ -1026,10 +1026,10 @@ getgpu () {
source "/tmp/neofetch/gpu" source "/tmp/neofetch/gpu"
else else
gpu=$(system_profiler SPDisplaysDataType | awk -F': ' '/^\ *Chipset Model:/ {printf $2 ", "}') gpu=$(system_profiler SPDisplaysDataType | awk -F': ' '/^\ *Chipset Model:/ {printf $2 ", "}')
cache "gpu" "$gpu"
fi
gpu=${gpu//'/ $'} gpu=${gpu//'/ $'}
gpu=${gpu%,*} gpu=${gpu%,*}
cache "gpu" "$gpu"
fi
;; ;;
*"BSD") *"BSD")