shrink the changed line to make sure it pass travis check
This commit is contained in:
2
neofetch
2
neofetch
@@ -3304,7 +3304,7 @@ get_gpu_driver() {
|
||||
case "$os" in
|
||||
"Linux")
|
||||
gpu_driver="$(lspci -nnk | awk -F ': ' \
|
||||
'/Display|3D|VGA/{nr[NR+2]}; NR in nr && $1 == " Kernel driver in use" {printf $2 ", "}')"
|
||||
'/Display|3D|VGA/{nr[NR+2]}; NR in nr && $1~"nel driv" {printf $2 ", "}')"
|
||||
gpu_driver="${gpu_driver%, }"
|
||||
|
||||
if [[ "$gpu_driver" == *"nvidia"* ]]; then
|
||||
|
||||
Reference in New Issue
Block a user