neofetch的配置文件,路徑在~/.config/neofetch/git
# 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文件:github
// / / / / //___ / / ___ __ / / __ / ___ / // ) ) // ) ) / / // / / // ) ) // / / // / / // / / / / // / / // / / // / / ((___( ( // / / ((___/ / ((___( ( // / /
生成ascii文字,可用網站:http://www.network-science.de/ascii/,有不少的字體能夠選擇。shell