mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-05 22:59:06 +00:00
general: Fix line length
This commit is contained in:
3
neofetch
3
neofetch
@@ -2261,7 +2261,8 @@ get_locale() {
|
||||
get_gpu_driver() {
|
||||
case "$os" in
|
||||
"Linux")
|
||||
gpu_driver="$(lspci -nnk | awk -F ': ' '/Display|3D|VGA/{nr[NR+2]}; NR in nr {printf $2 ", "}')"
|
||||
gpu_driver="$(lspci -nnk | awk -F ': ' \
|
||||
'/Display|3D|VGA/{nr[NR+2]}; NR in nr {printf $2 ", "}')"
|
||||
gpu_driver="${gpu_driver%, }"
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user