Move more lines into the cache block
This commit is contained in:
4
neofetch
4
neofetch
@@ -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 ", "}')
|
||||||
|
gpu=${gpu//'/ $'}
|
||||||
|
gpu=${gpu%,*}
|
||||||
cache "gpu" "$gpu"
|
cache "gpu" "$gpu"
|
||||||
fi
|
fi
|
||||||
gpu=${gpu//'/ $'}
|
|
||||||
gpu=${gpu%,*}
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*"BSD")
|
*"BSD")
|
||||||
|
|||||||
Reference in New Issue
Block a user