Start.bat
安装scoop和netfetch996icu.txt
字符画config.conf
自定义设置neofetch
获取系统参数的文件(修改GPU显示的BUG)
996icu.txt
和config.conf
在C:%HOMEPATH%\.config\neofetch
中
neofetch
在%SCOOP%\apps\neofetch\7.1.0
函数get_gpu()
:
get_gpu() {
case $os in
...
"Windows")
while read -r line; do
if [[ $(trim "$line") != *"Caption"* && $(trim "$line") != "" ]]; then # 增加if判断
prin "${subtitle:+${subtitle}${gpu_name}}" "$(trim "$line")"
fi
done < <(wmic path Win32_VideoController get caption)
gpu=${gpu//Caption}
;;
...
}
pwsh -MTA -nol -noe -c "neofetch"