|
|
@ -1,26 +1,14 @@ |
|
|
|
# See this wiki page for more info: |
|
|
|
# See this wiki page for more info: |
|
|
|
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info |
|
|
|
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info |
|
|
|
print_info() { |
|
|
|
print_info() { |
|
|
|
# info title |
|
|
|
info title |
|
|
|
# info underline |
|
|
|
info underline |
|
|
|
|
|
|
|
|
|
|
|
info "OS" distro |
|
|
|
|
|
|
|
info "Host" model |
|
|
|
info "Host" model |
|
|
|
info "Kernel" kernel |
|
|
|
info "Kernel" kernel |
|
|
|
# info "Uptime" uptime |
|
|
|
|
|
|
|
# info "Packages" packages |
|
|
|
|
|
|
|
info "Shell" shell |
|
|
|
info "Shell" shell |
|
|
|
# info "Resolution" resolution |
|
|
|
|
|
|
|
info "DE" de |
|
|
|
info "DE" de |
|
|
|
info "WM" wm |
|
|
|
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 "GPU Driver" gpu_driver # Linux/macOS only |
|
|
|
# info "CPU Usage" cpu_usage |
|
|
|
# info "CPU Usage" cpu_usage |
|
|
@ -28,15 +16,23 @@ print_info() { |
|
|
|
# info "Battery" battery |
|
|
|
# info "Battery" battery |
|
|
|
# info "Font" font |
|
|
|
# info "Font" font |
|
|
|
# info "Song" song |
|
|
|
# info "Song" song |
|
|
|
# [[ "$player" ]] && print "Music Player" "$player" |
|
|
|
# [[ "$player" ]] && prin "Music Player" "$player" |
|
|
|
info "Local IP" local_ip |
|
|
|
info "Local IP" local_ip |
|
|
|
# info "Public IP" public_ip |
|
|
|
# info "Public IP" public_ip |
|
|
|
# info "Users" users |
|
|
|
# info "Users" users |
|
|
|
# info "Locale" locale # This only works on glibc systems. |
|
|
|
# info "Locale" locale # This only works on glibc systems. |
|
|
|
|
|
|
|
|
|
|
|
# info cols |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Title |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Hide/Show Fully qualified domain name. |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# Default: 'off' |
|
|
|
|
|
|
|
# Values: 'on', 'off' |
|
|
|
|
|
|
|
# Flag: --title_fqdn |
|
|
|
|
|
|
|
title_fqdn="off" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Kernel |
|
|
|
# Kernel |
|
|
|
|
|
|
|
|
|
|
@ -51,7 +47,7 @@ print_info() { |
|
|
|
# Example: |
|
|
|
# Example: |
|
|
|
# on: '4.8.9-1-ARCH' |
|
|
|
# on: '4.8.9-1-ARCH' |
|
|
|
# off: 'Linux 4.8.9-1-ARCH' |
|
|
|
# off: 'Linux 4.8.9-1-ARCH' |
|
|
|
kernel_shorthand="off" |
|
|
|
kernel_shorthand="on" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Distro |
|
|
|
# Distro |
|
|
@ -63,7 +59,7 @@ kernel_shorthand="off" |
|
|
|
# Values: 'on', 'tiny', 'off' |
|
|
|
# Values: 'on', 'tiny', 'off' |
|
|
|
# Flag: --distro_shorthand |
|
|
|
# Flag: --distro_shorthand |
|
|
|
# Supports: Everything except Windows and Haiku |
|
|
|
# Supports: Everything except Windows and Haiku |
|
|
|
distro_shorthand="on" |
|
|
|
distro_shorthand="off" |
|
|
|
|
|
|
|
|
|
|
|
# Show/Hide OS Architecture. |
|
|
|
# Show/Hide OS Architecture. |
|
|
|
# Show 'x86_64', 'x86' and etc in 'Distro:' output. |
|
|
|
# Show 'x86_64', 'x86' and etc in 'Distro:' output. |
|
|
@ -108,6 +104,18 @@ uptime_shorthand="on" |
|
|
|
# off: '1801MiB / 7881MiB' |
|
|
|
# off: '1801MiB / 7881MiB' |
|
|
|
memory_percent="off" |
|
|
|
memory_percent="off" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Change memory output unit. |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# Default: 'mib' |
|
|
|
|
|
|
|
# Values: 'kib', 'mib', 'gib' |
|
|
|
|
|
|
|
# Flag: --memory_unit |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# Example: |
|
|
|
|
|
|
|
# kib '1020928KiB / 7117824KiB' |
|
|
|
|
|
|
|
# mib '1042MiB / 6951MiB' |
|
|
|
|
|
|
|
# gib: ' 0.98GiB / 6.79GiB' |
|
|
|
|
|
|
|
memory_unit="mib" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Packages |
|
|
|
# Packages |
|
|
|
|
|
|
|
|
|
|
@ -335,6 +343,17 @@ public_ip_host="http://ident.me" |
|
|
|
public_ip_timeout=2 |
|
|
|
public_ip_timeout=2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Desktop Environment |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Show Desktop Environment version |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# Default: 'on' |
|
|
|
|
|
|
|
# Values: 'on', 'off' |
|
|
|
|
|
|
|
# Flag: --de_version |
|
|
|
|
|
|
|
de_version="on" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Disk |
|
|
|
# Disk |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -360,7 +379,7 @@ disk_show=('/') |
|
|
|
# What to append to the Disk subtitle. |
|
|
|
# What to append to the Disk subtitle. |
|
|
|
# |
|
|
|
# |
|
|
|
# Default: 'mount' |
|
|
|
# Default: 'mount' |
|
|
|
# Values: 'mount', 'name', 'dir' |
|
|
|
# Values: 'mount', 'name', 'dir', 'none' |
|
|
|
# Flag: --disk_subtitle |
|
|
|
# Flag: --disk_subtitle |
|
|
|
# |
|
|
|
# |
|
|
|
# Example: |
|
|
|
# Example: |
|
|
@ -374,8 +393,24 @@ disk_show=('/') |
|
|
|
# dir: 'Disk (/): 74G / 118G (66%)' |
|
|
|
# dir: 'Disk (/): 74G / 118G (66%)' |
|
|
|
# 'Disk (Local Disk): 74G / 118G (66%)' |
|
|
|
# 'Disk (Local Disk): 74G / 118G (66%)' |
|
|
|
# 'Disk (Videos): 74G / 118G (66%)' |
|
|
|
# 'Disk (Videos): 74G / 118G (66%)' |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# none: 'Disk: 74G / 118G (66%)' |
|
|
|
|
|
|
|
# 'Disk: 74G / 118G (66%)' |
|
|
|
|
|
|
|
# 'Disk: 74G / 118G (66%)' |
|
|
|
disk_subtitle="mount" |
|
|
|
disk_subtitle="mount" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Disk percent. |
|
|
|
|
|
|
|
# Show/Hide disk percent. |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# Default: 'on' |
|
|
|
|
|
|
|
# Values: 'on', 'off' |
|
|
|
|
|
|
|
# Flag: --disk_percent |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# Example: |
|
|
|
|
|
|
|
# on: 'Disk (/): 74G / 118G (66%)' |
|
|
|
|
|
|
|
# off: 'Disk (/): 74G / 118G' |
|
|
|
|
|
|
|
disk_percent="on" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Song |
|
|
|
# Song |
|
|
|
|
|
|
|
|
|
|
@ -403,13 +438,17 @@ disk_subtitle="mount" |
|
|
|
# gmusicbrowser |
|
|
|
# gmusicbrowser |
|
|
|
# gogglesmm |
|
|
|
# gogglesmm |
|
|
|
# guayadeque |
|
|
|
# guayadeque |
|
|
|
|
|
|
|
# io.elementary.music |
|
|
|
# iTunes |
|
|
|
# iTunes |
|
|
|
# juk |
|
|
|
# juk |
|
|
|
# lollypop |
|
|
|
# lollypop |
|
|
|
# mocp |
|
|
|
# mocp |
|
|
|
# mopidy |
|
|
|
# mopidy |
|
|
|
# mpd |
|
|
|
# mpd |
|
|
|
|
|
|
|
# muine |
|
|
|
# netease-cloud-music |
|
|
|
# netease-cloud-music |
|
|
|
|
|
|
|
# olivia |
|
|
|
|
|
|
|
# playerctl |
|
|
|
# pogo |
|
|
|
# pogo |
|
|
|
# pragha |
|
|
|
# pragha |
|
|
|
# qmmp |
|
|
|
# qmmp |
|
|
@ -419,12 +458,13 @@ disk_subtitle="mount" |
|
|
|
# smplayer |
|
|
|
# smplayer |
|
|
|
# spotify |
|
|
|
# spotify |
|
|
|
# strawberry |
|
|
|
# strawberry |
|
|
|
|
|
|
|
# tauonmb |
|
|
|
# tomahawk |
|
|
|
# tomahawk |
|
|
|
# vlc |
|
|
|
# vlc |
|
|
|
# xmms2d |
|
|
|
# xmms2d |
|
|
|
# xnoise |
|
|
|
# xnoise |
|
|
|
# yarock |
|
|
|
# yarock |
|
|
|
music_player="auto" |
|
|
|
music_player="cmus" |
|
|
|
|
|
|
|
|
|
|
|
# Format to display song information. |
|
|
|
# Format to display song information. |
|
|
|
# |
|
|
|
# |
|
|
@ -472,8 +512,8 @@ mpc_args=() |
|
|
|
# Example: |
|
|
|
# Example: |
|
|
|
# colors=(distro) - Text is colored based on Distro colors. |
|
|
|
# colors=(distro) - Text is colored based on Distro colors. |
|
|
|
# colors=(4 6 1 8 8 6) - Text is colored in the order above. |
|
|
|
# colors=(4 6 1 8 8 6) - Text is colored in the order above. |
|
|
|
# colors=(distro) |
|
|
|
colors=(distro) |
|
|
|
colors=(1 8 15 1 8 15) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Text Options |
|
|
|
# Text Options |
|
|
|
|
|
|
|
|
|
|
@ -509,7 +549,7 @@ underline_char="-" |
|
|
|
# Example: |
|
|
|
# Example: |
|
|
|
# separator="->": 'Shell-> bash' |
|
|
|
# separator="->": 'Shell-> bash' |
|
|
|
# separator=" =": 'WM = dwm' |
|
|
|
# separator=" =": 'WM = dwm' |
|
|
|
separator=" ->" |
|
|
|
separator=":" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Color Blocks |
|
|
|
# Color Blocks |
|
|
@ -552,6 +592,19 @@ block_width=3 |
|
|
|
# Flag: --block_height |
|
|
|
# Flag: --block_height |
|
|
|
block_height=1 |
|
|
|
block_height=1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Color Alignment |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# Default: 'auto' |
|
|
|
|
|
|
|
# Values: 'auto', 'num' |
|
|
|
|
|
|
|
# Flag: --col_offset |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# Number specifies how far from the left side of the terminal (in spaces) to |
|
|
|
|
|
|
|
# begin printing the columns, in case you want to e.g. center them under your |
|
|
|
|
|
|
|
# text. |
|
|
|
|
|
|
|
# Example: |
|
|
|
|
|
|
|
# col_offset="auto" - Default behavior of neofetch |
|
|
|
|
|
|
|
# col_offset=7 - Leave 7 spaces then print the colors |
|
|
|
|
|
|
|
col_offset="auto" |
|
|
|
|
|
|
|
|
|
|
|
# Progress Bars |
|
|
|
# Progress Bars |
|
|
|
|
|
|
|
|
|
|
@ -625,9 +678,8 @@ disk_display="off" |
|
|
|
# |
|
|
|
# |
|
|
|
# Default: 'ascii' |
|
|
|
# Default: 'ascii' |
|
|
|
# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', |
|
|
|
# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', |
|
|
|
# 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' |
|
|
|
# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' |
|
|
|
# Flag: --backend |
|
|
|
# Flag: --backend |
|
|
|
# image_backend="w3m" |
|
|
|
|
|
|
|
image_backend="ascii" |
|
|
|
image_backend="ascii" |
|
|
|
|
|
|
|
|
|
|
|
# Image Source |
|
|
|
# Image Source |
|
|
@ -642,7 +694,7 @@ image_backend="ascii" |
|
|
|
# NOTE: 'auto' will pick the best image source for whatever image backend is used. |
|
|
|
# NOTE: 'auto' will pick the best image source for whatever image backend is used. |
|
|
|
# In ascii mode, distro ascii art will be used and in an image mode, your |
|
|
|
# In ascii mode, distro ascii art will be used and in an image mode, your |
|
|
|
# wallpaper will be used. |
|
|
|
# wallpaper will be used. |
|
|
|
#image_source="$HOME/.config/neofetch/icon.png" |
|
|
|
image_source="auto" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Ascii Options |
|
|
|
# Ascii Options |
|
|
@ -654,13 +706,46 @@ image_backend="ascii" |
|
|
|
# Default: 'auto' |
|
|
|
# Default: 'auto' |
|
|
|
# Values: 'auto', 'distro_name' |
|
|
|
# Values: 'auto', 'distro_name' |
|
|
|
# Flag: --ascii_distro |
|
|
|
# Flag: --ascii_distro |
|
|
|
# |
|
|
|
# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS", |
|
|
|
# NOTE: Arch and Ubuntu have 'old' logo variants. |
|
|
|
# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, |
|
|
|
# Change this to 'arch_old' or 'ubuntu_old' to use the old logos. |
|
|
|
# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, |
|
|
|
|
|
|
|
# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, |
|
|
|
|
|
|
|
# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, |
|
|
|
|
|
|
|
# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, |
|
|
|
|
|
|
|
# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, |
|
|
|
|
|
|
|
# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary, |
|
|
|
|
|
|
|
# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, |
|
|
|
|
|
|
|
# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, |
|
|
|
|
|
|
|
# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, |
|
|
|
|
|
|
|
# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, |
|
|
|
|
|
|
|
# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, |
|
|
|
|
|
|
|
# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, |
|
|
|
|
|
|
|
# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, |
|
|
|
|
|
|
|
# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, |
|
|
|
|
|
|
|
# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba, |
|
|
|
|
|
|
|
# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, |
|
|
|
|
|
|
|
# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, |
|
|
|
|
|
|
|
# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, |
|
|
|
|
|
|
|
# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, |
|
|
|
|
|
|
|
# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, |
|
|
|
|
|
|
|
# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, |
|
|
|
|
|
|
|
# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, |
|
|
|
|
|
|
|
# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, |
|
|
|
|
|
|
|
# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, |
|
|
|
|
|
|
|
# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, |
|
|
|
|
|
|
|
# and IRIX have ascii logos |
|
|
|
|
|
|
|
# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. |
|
|
|
|
|
|
|
# Use '{distro name}_old' to use the old logos. |
|
|
|
# NOTE: Ubuntu has flavor variants. |
|
|
|
# NOTE: Ubuntu has flavor variants. |
|
|
|
# Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors. |
|
|
|
# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, |
|
|
|
# NOTE: Arch, Crux and Gentoo have a smaller logo variant. |
|
|
|
# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. |
|
|
|
# Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos. |
|
|
|
# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, |
|
|
|
|
|
|
|
# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, |
|
|
|
|
|
|
|
# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, |
|
|
|
|
|
|
|
# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, |
|
|
|
|
|
|
|
# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, |
|
|
|
|
|
|
|
# postmarketOS, and Void have a smaller logo variant. |
|
|
|
|
|
|
|
# Use '{distro name}_small' to use the small variants. |
|
|
|
ascii_distro="arch_small" |
|
|
|
ascii_distro="arch_small" |
|
|
|
|
|
|
|
|
|
|
|
# Ascii Colors |
|
|
|
# Ascii Colors |
|
|
@ -671,9 +756,8 @@ ascii_distro="arch_small" |
|
|
|
# |
|
|
|
# |
|
|
|
# Example: |
|
|
|
# Example: |
|
|
|
# ascii_colors=(distro) - Ascii is colored based on Distro colors. |
|
|
|
# ascii_colors=(distro) - Ascii is colored based on Distro colors. |
|
|
|
#ascii_colors=(4 6 1 8 8 6) #- Ascii is colored using these colors. |
|
|
|
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. |
|
|
|
ascii_colors=(distro) |
|
|
|
ascii_colors=(distro) |
|
|
|
# ascii_colors=(1 9 1 1 1 1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Bold ascii logo |
|
|
|
# Bold ascii logo |
|
|
|
# Whether or not to bold the ascii logo. |
|
|
|
# Whether or not to bold the ascii logo. |
|
|
@ -728,14 +812,14 @@ crop_offset="center" |
|
|
|
# Values: 'auto', '00px', '00%', 'none' |
|
|
|
# Values: 'auto', '00px', '00%', 'none' |
|
|
|
# Flags: --image_size |
|
|
|
# Flags: --image_size |
|
|
|
# --size |
|
|
|
# --size |
|
|
|
image_size="256px" |
|
|
|
image_size="auto" |
|
|
|
|
|
|
|
|
|
|
|
# Gap between image and text |
|
|
|
# Gap between image and text |
|
|
|
# |
|
|
|
# |
|
|
|
# Default: '3' |
|
|
|
# Default: '3' |
|
|
|
# Values: 'num', '-num' |
|
|
|
# Values: 'num', '-num' |
|
|
|
# Flag: --gap |
|
|
|
# Flag: --gap |
|
|
|
gap=2 |
|
|
|
gap=3 |
|
|
|
|
|
|
|
|
|
|
|
# Image offsets |
|
|
|
# Image offsets |
|
|
|
# Only works with the w3m backend. |
|
|
|
# Only works with the w3m backend. |
|
|
|