mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
4
neofetch
4
neofetch
@@ -2611,7 +2611,7 @@ get_gpu() {
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
"Windows")
|
"Windows")
|
||||||
while read -r line; do
|
wmic path Win32_VideoController get caption | while read -r line; do
|
||||||
line=$(trim "$line")
|
line=$(trim "$line")
|
||||||
|
|
||||||
case $line in
|
case $line in
|
||||||
@@ -2623,7 +2623,7 @@ get_gpu() {
|
|||||||
prin "${subtitle:+${subtitle}${gpu_name}}" "$line"
|
prin "${subtitle:+${subtitle}${gpu_name}}" "$line"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done < <(wmic path Win32_VideoController get caption)
|
done
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Haiku")
|
"Haiku")
|
||||||
|
Reference in New Issue
Block a user