windows: Fix gpu output

parent c511bcbc
......@@ -2517,10 +2517,13 @@ get_gpu() {
"Windows")
while read -r line; do
[[ $win_gpu ]] || {
win_gpu=1
continue
}
prin "${subtitle:+${subtitle}${gpu_name}}" "$(trim "$line")"
done < <(wmic path Win32_VideoController get caption)
gpu=${gpu//Caption}
;;
"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