neofetch: Windows multi GPI support. Closes #1462

parent 5e377cd5
...@@ -2472,8 +2472,11 @@ get_gpu() { ...@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment