73 lines
1.7 KiB
Plaintext
73 lines
1.7 KiB
Plaintext
# DevOps-focused neofetch config
|
|
# ~/.config/neofetch/config.conf
|
|
|
|
print_info() {
|
|
info title
|
|
info underline
|
|
|
|
info "OS" distro
|
|
info "Kernel" kernel
|
|
info "Uptime" uptime
|
|
info "Shell" shell
|
|
info "CPU" cpu
|
|
info "Memory" memory
|
|
info "Disk" disk
|
|
|
|
# DevOps tools (if available)
|
|
command -v docker >/dev/null && prin "Docker" "$(docker --version | cut -d' ' -f3 | tr -d ',')"
|
|
command -v kubectl >/dev/null && prin "Kubectl" "$(kubectl version --client --output=yaml 2>/dev/null | grep gitVersion | cut -d' ' -f4)"
|
|
command -v go >/dev/null && prin "Go" "$(go version | cut -d' ' -f3)"
|
|
command -v python3 >/dev/null && prin "Python" "$(python3 --version | cut -d' ' -f2)"
|
|
command -v node >/dev/null && prin "Node" "$(node --version)"
|
|
|
|
info cols
|
|
}
|
|
|
|
# Performance optimizations
|
|
kernel_shorthand="on"
|
|
distro_shorthand="off"
|
|
os_arch="on"
|
|
uptime_shorthand="on"
|
|
memory_percent="on"
|
|
memory_unit="gib"
|
|
shell_path="off"
|
|
shell_version="on"
|
|
cpu_speed="on"
|
|
cpu_cores="logical"
|
|
cpu_temp="off" # Often not needed for DevOps
|
|
speed_shorthand="on"
|
|
|
|
# Disable unnecessary for DevOps
|
|
# GPU info - not needed for servers/DevOps
|
|
gpu_type="off"
|
|
|
|
# Disk info - useful for DevOps
|
|
disk_show=('/')
|
|
disk_percent="on"
|
|
|
|
# Clean appearance
|
|
colors=(distro)
|
|
bold="on"
|
|
underline_enabled="on"
|
|
underline_char="-"
|
|
separator=":"
|
|
|
|
# ASCII settings
|
|
image_backend="ascii"
|
|
image_source="$HOME/.config/neofetch/ascii/qa.txt"
|
|
ascii_distro="off"
|
|
# ascii_colors=(distro)
|
|
ascii_colors=(4 6 4 6)
|
|
ascii_bold="on"
|
|
|
|
|
|
# Disable image features for speed
|
|
image_loop="off"
|
|
color_blocks="on"
|
|
block_range=(0 7) # Smaller range for speed
|
|
block_width=2
|
|
block_height=1
|
|
|
|
# Fast execution
|
|
stdout="off"
|