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
1 changed files with 2 additions and 2 deletions

View File

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