mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-07-18 17:03:49 -05:00
GPU: Revert unique filter
This commit is contained in:
parent
c48f201a9d
commit
efd48587c3
2
neofetch
2
neofetch
|
|
@ -1071,7 +1071,7 @@ get_gpu() {
|
|||
"Linux")
|
||||
# Read GPUs into array.
|
||||
IFS=$'\n'
|
||||
gpus=($(lspci -mm | awk -F '\\"|\\" \\"|\(' '/"Display|"3D|"VGA/ {print $3 " " $4}' | sort -u))
|
||||
gpus=($(lspci -mm | awk -F '\\"|\\" \\"' '/"Display|"3D|"VGA/ {print $3 " " $4}'))
|
||||
IFS="$old_ifs"
|
||||
|
||||
# Number the GPUs if more than one exists.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user