我的neofetch配置文件-显示自定义ascii图形
neofetch的配置文件,路径在~/.config/neofetch/
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
# info title # 包含主机名和登录名,只有我自己用,也不需要,注释掉
info underline
info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
# info "Packages" packages # 查找所有包的数量,耗时间也没啥用,注释掉
info "Shell" shell
info "Resolution" resolution
info "DE" de
info "WM" wm
info "WM Theme" wm_theme
info "Theme" theme
info "Icons" icons
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "GPU" gpu
info "Memory" memory
# info "GPU Driver" gpu_driver # Linux/macOS only
info "CPU Usage" cpu_usage # CPU使用情况
info "Disk" disk # 磁盘使用情况
# info "Battery" battery
# info "Font" font
# info "Song" song
# [[ "$player" ]] && prin "Music Player" "$player"
# info "Local IP" local_ip
# info "Public IP" public_ip
# info "Users" users
# info "Locale" locale # This only works on glibc systems.
# info cols
}
# 在第644行左右,配置image_source为自定义的ascii图形文件的位置
image_source="/root/.config/neofetch/ascii-name"
ascii-name文件:
// / / / /
//___ / / ___ __ / / __
/ ___ / // ) ) // ) ) / / // / / // ) )
// / / // / / // / / / / // / / // / /
// / / ((___( ( // / / ((___/ / ((___( ( // / /
生成ascii文字,可用网站:http://www.network-science.de/ascii/,有很多的字体可以选择。