neofetch: Windows multi GPI support. Closes #1462
This commit is contained in:
parent
5e377cd561
commit
241ac6c152
7
neofetch
7
neofetch
|
@ -2472,8 +2472,11 @@ get_gpu() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Windows")
|
"Windows")
|
||||||
gpu="$(wmic path Win32_VideoController get caption)"
|
while read -r line; do
|
||||||
gpu="${gpu//Caption}"
|
prin "${subtitle:+${subtitle}${gpu_name}}" "$(trim "$line")"
|
||||||
|
done < <(wmic path Win32_VideoController get caption)
|
||||||
|
|
||||||
|
gpu=${gpu//Caption}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Haiku")
|
"Haiku")
|
||||||
|
|
Reference in New Issue