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/,有很多的字體可以選擇。