|
| 1 | +# See this wiki page for more info: |
| 2 | +# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info |
| 3 | +print_info() { |
| 4 | + info title |
| 5 | + info underline |
| 6 | + |
| 7 | + info "OS" distro |
| 8 | + info "Host" model |
| 9 | + info "Kernel" kernel |
| 10 | + info "Uptime" uptime |
| 11 | + info "Packages" packages |
| 12 | + info "Shell" shell |
| 13 | + info "Resolution" resolution |
| 14 | + info "DE" de |
| 15 | + info "WM" wm |
| 16 | + info "WM Theme" wm_theme |
| 17 | + info "Theme" theme |
| 18 | + info "Icons" icons |
| 19 | + info "Terminal" term |
| 20 | + info "Terminal Font" term_font |
| 21 | + info "CPU" cpu |
| 22 | + info "GPU" gpu |
| 23 | + info "Memory" memory |
| 24 | + |
| 25 | + # info "GPU Driver" gpu_driver # Linux/macOS only |
| 26 | + # info "CPU Usage" cpu_usage |
| 27 | + # info "Disk" disk |
| 28 | + # info "Battery" battery |
| 29 | + # info "Font" font |
| 30 | + # info "Song" song |
| 31 | + # [[ "$player" ]] && prin "Music Player" "$player" |
| 32 | + # info "Local IP" local_ip |
| 33 | + # info "Public IP" public_ip |
| 34 | + # info "Users" users |
| 35 | + # info "Locale" locale # This only works on glibc systems. |
| 36 | + |
| 37 | + info cols |
| 38 | +} |
| 39 | + |
| 40 | +# Title |
| 41 | + |
| 42 | + |
| 43 | +# Hide/Show Fully qualified domain name. |
| 44 | +# |
| 45 | +# Default: 'off' |
| 46 | +# Values: 'on', 'off' |
| 47 | +# Flag: --title_fqdn |
| 48 | +title_fqdn="off" |
| 49 | + |
| 50 | + |
| 51 | +# Kernel |
| 52 | + |
| 53 | + |
| 54 | +# Shorten the output of the kernel function. |
| 55 | +# |
| 56 | +# Default: 'on' |
| 57 | +# Values: 'on', 'off' |
| 58 | +# Flag: --kernel_shorthand |
| 59 | +# Supports: Everything except *BSDs (except PacBSD and PC-BSD) |
| 60 | +# |
| 61 | +# Example: |
| 62 | +# on: '4.8.9-1-ARCH' |
| 63 | +# off: 'Linux 4.8.9-1-ARCH' |
| 64 | +kernel_shorthand="on" |
| 65 | + |
| 66 | + |
| 67 | +# Distro |
| 68 | + |
| 69 | + |
| 70 | +# Shorten the output of the distro function |
| 71 | +# |
| 72 | +# Default: 'off' |
| 73 | +# Values: 'on', 'tiny', 'off' |
| 74 | +# Flag: --distro_shorthand |
| 75 | +# Supports: Everything except Windows and Haiku |
| 76 | +distro_shorthand="off" |
| 77 | + |
| 78 | +# Show/Hide OS Architecture. |
| 79 | +# Show 'x86_64', 'x86' and etc in 'Distro:' output. |
| 80 | +# |
| 81 | +# Default: 'on' |
| 82 | +# Values: 'on', 'off' |
| 83 | +# Flag: --os_arch |
| 84 | +# |
| 85 | +# Example: |
| 86 | +# on: 'Arch Linux x86_64' |
| 87 | +# off: 'Arch Linux' |
| 88 | +os_arch="on" |
| 89 | + |
| 90 | + |
| 91 | +# Uptime |
| 92 | + |
| 93 | + |
| 94 | +# Shorten the output of the uptime function |
| 95 | +# |
| 96 | +# Default: 'on' |
| 97 | +# Values: 'on', 'tiny', 'off' |
| 98 | +# Flag: --uptime_shorthand |
| 99 | +# |
| 100 | +# Example: |
| 101 | +# on: '2 days, 10 hours, 3 mins' |
| 102 | +# tiny: '2d 10h 3m' |
| 103 | +# off: '2 days, 10 hours, 3 minutes' |
| 104 | +uptime_shorthand="on" |
| 105 | + |
| 106 | + |
| 107 | +# Memory |
| 108 | + |
| 109 | + |
| 110 | +# Show memory pecentage in output. |
| 111 | +# |
| 112 | +# Default: 'off' |
| 113 | +# Values: 'on', 'off' |
| 114 | +# Flag: --memory_percent |
| 115 | +# |
| 116 | +# Example: |
| 117 | +# on: '1801MiB / 7881MiB (22%)' |
| 118 | +# off: '1801MiB / 7881MiB' |
| 119 | +memory_percent="off" |
| 120 | + |
| 121 | +# Change memory output unit. |
| 122 | +# |
| 123 | +# Default: 'mib' |
| 124 | +# Values: 'kib', 'mib', 'gib' |
| 125 | +# Flag: --memory_unit |
| 126 | +# |
| 127 | +# Example: |
| 128 | +# kib '1020928KiB / 7117824KiB' |
| 129 | +# mib '1042MiB / 6951MiB' |
| 130 | +# gib: ' 0.98GiB / 6.79GiB' |
| 131 | +memory_unit="mib" |
| 132 | + |
| 133 | + |
| 134 | +# Packages |
| 135 | + |
| 136 | + |
| 137 | +# Show/Hide Package Manager names. |
| 138 | +# |
| 139 | +# Default: 'tiny' |
| 140 | +# Values: 'on', 'tiny' 'off' |
| 141 | +# Flag: --package_managers |
| 142 | +# |
| 143 | +# Example: |
| 144 | +# on: '998 (pacman), 8 (flatpak), 4 (snap)' |
| 145 | +# tiny: '908 (pacman, flatpak, snap)' |
| 146 | +# off: '908' |
| 147 | +package_managers="on" |
| 148 | + |
| 149 | + |
| 150 | +# Shell |
| 151 | + |
| 152 | + |
| 153 | +# Show the path to $SHELL |
| 154 | +# |
| 155 | +# Default: 'off' |
| 156 | +# Values: 'on', 'off' |
| 157 | +# Flag: --shell_path |
| 158 | +# |
| 159 | +# Example: |
| 160 | +# on: '/bin/bash' |
| 161 | +# off: 'bash' |
| 162 | +shell_path="off" |
| 163 | + |
| 164 | +# Show $SHELL version |
| 165 | +# |
| 166 | +# Default: 'on' |
| 167 | +# Values: 'on', 'off' |
| 168 | +# Flag: --shell_version |
| 169 | +# |
| 170 | +# Example: |
| 171 | +# on: 'bash 4.4.5' |
| 172 | +# off: 'bash' |
| 173 | +shell_version="on" |
| 174 | + |
| 175 | + |
| 176 | +# CPU |
| 177 | + |
| 178 | + |
| 179 | +# CPU speed type |
| 180 | +# |
| 181 | +# Default: 'bios_limit' |
| 182 | +# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. |
| 183 | +# Flag: --speed_type |
| 184 | +# Supports: Linux with 'cpufreq' |
| 185 | +# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. |
| 186 | +speed_type="bios_limit" |
| 187 | + |
| 188 | +# CPU speed shorthand |
| 189 | +# |
| 190 | +# Default: 'off' |
| 191 | +# Values: 'on', 'off'. |
| 192 | +# Flag: --speed_shorthand |
| 193 | +# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz |
| 194 | +# |
| 195 | +# Example: |
| 196 | +# on: 'i7-6500U (4) @ 3.1GHz' |
| 197 | +# off: 'i7-6500U (4) @ 3.100GHz' |
| 198 | +speed_shorthand="off" |
| 199 | + |
| 200 | +# Enable/Disable CPU brand in output. |
| 201 | +# |
| 202 | +# Default: 'on' |
| 203 | +# Values: 'on', 'off' |
| 204 | +# Flag: --cpu_brand |
| 205 | +# |
| 206 | +# Example: |
| 207 | +# on: 'Intel i7-6500U' |
| 208 | +# off: 'i7-6500U (4)' |
| 209 | +cpu_brand="on" |
| 210 | + |
| 211 | +# CPU Speed |
| 212 | +# Hide/Show CPU speed. |
| 213 | +# |
| 214 | +# Default: 'on' |
| 215 | +# Values: 'on', 'off' |
| 216 | +# Flag: --cpu_speed |
| 217 | +# |
| 218 | +# Example: |
| 219 | +# on: 'Intel i7-6500U (4) @ 3.1GHz' |
| 220 | +# off: 'Intel i7-6500U (4)' |
| 221 | +cpu_speed="on" |
| 222 | + |
| 223 | +# CPU Cores |
| 224 | +# Display CPU cores in output |
| 225 | +# |
| 226 | +# Default: 'logical' |
| 227 | +# Values: 'logical', 'physical', 'off' |
| 228 | +# Flag: --cpu_cores |
| 229 | +# Support: 'physical' doesn't work on BSD. |
| 230 | +# |
| 231 | +# Example: |
| 232 | +# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) |
| 233 | +# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) |
| 234 | +# off: 'Intel i7-6500U @ 3.1GHz' |
| 235 | +cpu_cores="logical" |
| 236 | + |
| 237 | +# CPU Temperature |
| 238 | +# Hide/Show CPU temperature. |
| 239 | +# Note the temperature is added to the regular CPU function. |
| 240 | +# |
| 241 | +# Default: 'off' |
| 242 | +# Values: 'C', 'F', 'off' |
| 243 | +# Flag: --cpu_temp |
| 244 | +# Supports: Linux, BSD |
| 245 | +# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable |
| 246 | +# coretemp kernel module. This only supports newer Intel processors. |
| 247 | +# |
| 248 | +# Example: |
| 249 | +# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' |
| 250 | +# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' |
| 251 | +# off: 'Intel i7-6500U (4) @ 3.1GHz' |
| 252 | +cpu_temp="off" |
| 253 | + |
| 254 | + |
| 255 | +# GPU |
| 256 | + |
| 257 | + |
| 258 | +# Enable/Disable GPU Brand |
| 259 | +# |
| 260 | +# Default: 'on' |
| 261 | +# Values: 'on', 'off' |
| 262 | +# Flag: --gpu_brand |
| 263 | +# |
| 264 | +# Example: |
| 265 | +# on: 'AMD HD 7950' |
| 266 | +# off: 'HD 7950' |
| 267 | +gpu_brand="on" |
| 268 | + |
| 269 | +# Which GPU to display |
| 270 | +# |
| 271 | +# Default: 'all' |
| 272 | +# Values: 'all', 'dedicated', 'integrated' |
| 273 | +# Flag: --gpu_type |
| 274 | +# Supports: Linux |
| 275 | +# |
| 276 | +# Example: |
| 277 | +# all: |
| 278 | +# GPU1: AMD HD 7950 |
| 279 | +# GPU2: Intel Integrated Graphics |
| 280 | +# |
| 281 | +# dedicated: |
| 282 | +# GPU1: AMD HD 7950 |
| 283 | +# |
| 284 | +# integrated: |
| 285 | +# GPU1: Intel Integrated Graphics |
| 286 | +gpu_type="all" |
| 287 | + |
| 288 | + |
| 289 | +# Resolution |
| 290 | + |
| 291 | + |
| 292 | +# Display refresh rate next to each monitor |
| 293 | +# Default: 'off' |
| 294 | +# Values: 'on', 'off' |
| 295 | +# Flag: --refresh_rate |
| 296 | +# Supports: Doesn't work on Windows. |
| 297 | +# |
| 298 | +# Example: |
| 299 | +# on: '1920x1080 @ 60Hz' |
| 300 | +# off: '1920x1080' |
| 301 | +refresh_rate="off" |
| 302 | + |
| 303 | + |
| 304 | +# Gtk Theme / Icons / Font |
| 305 | + |
| 306 | + |
| 307 | +# Shorten output of GTK Theme / Icons / Font |
| 308 | +# |
| 309 | +# Default: 'off' |
| 310 | +# Values: 'on', 'off' |
| 311 | +# Flag: --gtk_shorthand |
| 312 | +# |
| 313 | +# Example: |
| 314 | +# on: 'Numix, Adwaita' |
| 315 | +# off: 'Numix [GTK2], Adwaita [GTK3]' |
| 316 | +gtk_shorthand="off" |
| 317 | + |
| 318 | + |
| 319 | +# Enable/Disable gtk2 Theme / Icons / Font |
| 320 | +# |
| 321 | +# Default: 'on' |
| 322 | +# Values: 'on', 'off' |
| 323 | +# Flag: --gtk2 |
| 324 | +# |
| 325 | +# Example: |
| 326 | +# on: 'Numix [GTK2], Adwaita [GTK3]' |
| 327 | +# off: 'Adwaita [GTK3]' |
| 328 | +gtk2="on" |
| 329 | + |
| 330 | +# Enable/Disable gtk3 Theme / Icons / Font |
| 331 | +# |
| 332 | +# Default: 'on' |
| 333 | +# Values: 'on', 'off' |
| 334 | +# Flag: --gtk3 |
| 335 | +# |
| 336 | +# Example: |
| 337 | +# on: 'Numix [GTK2], Adwaita [GTK3]' |
| 338 | +# off: 'Numix [GTK2]' |
| 339 | +gtk3="on" |
| 340 | + |
| 341 | + |
| 342 | +# IP Address |
| 343 | + |
| 344 | + |
| 345 | +# Website to ping for the public IP |
| 346 | +# |
| 347 | +# Default: 'http://ident.me' |
| 348 | +# Values: 'url' |
| 349 | +# Flag: --ip_host |
| 350 | +public_ip_host="http://ident.me" |
| 351 | + |
| 352 | +# Public IP timeout. |
| 353 | +# |
| 354 | +# Default: '2' |
| 355 | +# Values: 'int' |
| 356 | +# Flag: --ip_timeout |
| 357 | +public_ip_timeout=2 |
| 358 | + |
| 359 | + |
| 360 | +# Desktop Environment |
| 361 | + |
| 362 | + |
| 363 | +# Show Desktop Environment version |
| 364 | +# |
| 365 | +# Default: 'on' |
| 366 | +# Values: 'on', 'off' |
| 367 | +# Flag: --de_version |
| 368 | +de_version="on" |
| 369 | + |
| 370 | + |
| 371 | +# Disk |
| 372 | + |
| 373 | + |
| 374 | +# Which disks to display. |
| 375 | +# The values can be any /dev/sdXX, mount point or directory. |
| 376 | +# NOTE: By default we only show the disk info for '/'. |
| 377 | +# |
| 378 | +# Default: '/' |
| 379 | +# Values: '/', '/dev/sdXX', '/path/to/drive'. |
| 380 | +# Flag: --disk_show |
| 381 | +# |
| 382 | +# Example: |
| 383 | +# disk_show=('/' '/dev/sdb1'): |
| 384 | +# 'Disk (/): 74G / 118G (66%)' |
| 385 | +# 'Disk (/mnt/Videos): 823G / 893G (93%)' |
| 386 | +# |
| 387 | +# disk_show=('/'): |
| 388 | +# 'Disk (/): 74G / 118G (66%)' |
| 389 | +# |
| 390 | +disk_show=('/') |
| 391 | + |
| 392 | +# Disk subtitle. |
| 393 | +# What to append to the Disk subtitle. |
| 394 | +# |
| 395 | +# Default: 'mount' |
| 396 | +# Values: 'mount', 'name', 'dir', 'none' |
| 397 | +# Flag: --disk_subtitle |
| 398 | +# |
| 399 | +# Example: |
| 400 | +# name: 'Disk (/dev/sda1): 74G / 118G (66%)' |
| 401 | +# 'Disk (/dev/sdb2): 74G / 118G (66%)' |
| 402 | +# |
| 403 | +# mount: 'Disk (/): 74G / 118G (66%)' |
| 404 | +# 'Disk (/mnt/Local Disk): 74G / 118G (66%)' |
| 405 | +# 'Disk (/mnt/Videos): 74G / 118G (66%)' |
| 406 | +# |
| 407 | +# dir: 'Disk (/): 74G / 118G (66%)' |
| 408 | +# 'Disk (Local Disk): 74G / 118G (66%)' |
| 409 | +# 'Disk (Videos): 74G / 118G (66%)' |
| 410 | +# |
| 411 | +# none: 'Disk: 74G / 118G (66%)' |
| 412 | +# 'Disk: 74G / 118G (66%)' |
| 413 | +# 'Disk: 74G / 118G (66%)' |
| 414 | +disk_subtitle="mount" |
| 415 | + |
| 416 | +# Disk percent. |
| 417 | +# Show/Hide disk percent. |
| 418 | +# |
| 419 | +# Default: 'on' |
| 420 | +# Values: 'on', 'off' |
| 421 | +# Flag: --disk_percent |
| 422 | +# |
| 423 | +# Example: |
| 424 | +# on: 'Disk (/): 74G / 118G (66%)' |
| 425 | +# off: 'Disk (/): 74G / 118G' |
| 426 | +disk_percent="on" |
| 427 | + |
| 428 | + |
| 429 | +# Song |
| 430 | + |
| 431 | + |
| 432 | +# Manually specify a music player. |
| 433 | +# |
| 434 | +# Default: 'auto' |
| 435 | +# Values: 'auto', 'player-name' |
| 436 | +# Flag: --music_player |
| 437 | +# |
| 438 | +# Available values for 'player-name': |
| 439 | +# |
| 440 | +# amarok |
| 441 | +# audacious |
| 442 | +# banshee |
| 443 | +# bluemindo |
| 444 | +# clementine |
| 445 | +# cmus |
| 446 | +# deadbeef |
| 447 | +# deepin-music |
| 448 | +# dragon |
| 449 | +# elisa |
| 450 | +# exaile |
| 451 | +# gnome-music |
| 452 | +# gmusicbrowser |
| 453 | +# gogglesmm |
| 454 | +# guayadeque |
| 455 | +# io.elementary.music |
| 456 | +# iTunes |
| 457 | +# juk |
| 458 | +# lollypop |
| 459 | +# mocp |
| 460 | +# mopidy |
| 461 | +# mpd |
| 462 | +# muine |
| 463 | +# netease-cloud-music |
| 464 | +# olivia |
| 465 | +# playerctl |
| 466 | +# pogo |
| 467 | +# pragha |
| 468 | +# qmmp |
| 469 | +# quodlibet |
| 470 | +# rhythmbox |
| 471 | +# sayonara |
| 472 | +# smplayer |
| 473 | +# spotify |
| 474 | +# strawberry |
| 475 | +# tauonmb |
| 476 | +# tomahawk |
| 477 | +# vlc |
| 478 | +# xmms2d |
| 479 | +# xnoise |
| 480 | +# yarock |
| 481 | +music_player="auto" |
| 482 | + |
| 483 | +# Format to display song information. |
| 484 | +# |
| 485 | +# Default: '%artist% - %album% - %title%' |
| 486 | +# Values: '%artist%', '%album%', '%title%' |
| 487 | +# Flag: --song_format |
| 488 | +# |
| 489 | +# Example: |
| 490 | +# default: 'Song: Jet - Get Born - Sgt Major' |
| 491 | +song_format="%artist% - %album% - %title%" |
| 492 | + |
| 493 | +# Print the Artist, Album and Title on separate lines |
| 494 | +# |
| 495 | +# Default: 'off' |
| 496 | +# Values: 'on', 'off' |
| 497 | +# Flag: --song_shorthand |
| 498 | +# |
| 499 | +# Example: |
| 500 | +# on: 'Artist: The Fratellis' |
| 501 | +# 'Album: Costello Music' |
| 502 | +# 'Song: Chelsea Dagger' |
| 503 | +# |
| 504 | +# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' |
| 505 | +song_shorthand="off" |
| 506 | + |
| 507 | +# 'mpc' arguments (specify a host, password etc). |
| 508 | +# |
| 509 | +# Default: '' |
| 510 | +# Example: mpc_args=(-h HOST -P PASSWORD) |
| 511 | +mpc_args=() |
| 512 | + |
| 513 | + |
| 514 | +# Text Colors |
| 515 | + |
| 516 | + |
| 517 | +# Text Colors |
| 518 | +# |
| 519 | +# Default: 'distro' |
| 520 | +# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' |
| 521 | +# Flag: --colors |
| 522 | +# |
| 523 | +# Each number represents a different part of the text in |
| 524 | +# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' |
| 525 | +# |
| 526 | +# Example: |
| 527 | +# colors=(distro) - Text is colored based on Distro colors. |
| 528 | +# colors=(4 6 1 8 8 6) - Text is colored in the order above. |
| 529 | +colors=(distro) |
| 530 | + |
| 531 | + |
| 532 | +# Text Options |
| 533 | + |
| 534 | + |
| 535 | +# Toggle bold text |
| 536 | +# |
| 537 | +# Default: 'on' |
| 538 | +# Values: 'on', 'off' |
| 539 | +# Flag: --bold |
| 540 | +bold="on" |
| 541 | + |
| 542 | +# Enable/Disable Underline |
| 543 | +# |
| 544 | +# Default: 'on' |
| 545 | +# Values: 'on', 'off' |
| 546 | +# Flag: --underline |
| 547 | +underline_enabled="on" |
| 548 | + |
| 549 | +# Underline character |
| 550 | +# |
| 551 | +# Default: '-' |
| 552 | +# Values: 'string' |
| 553 | +# Flag: --underline_char |
| 554 | +underline_char="-" |
| 555 | + |
| 556 | + |
| 557 | +# Info Separator |
| 558 | +# Replace the default separator with the specified string. |
| 559 | +# |
| 560 | +# Default: ':' |
| 561 | +# Flag: --separator |
| 562 | +# |
| 563 | +# Example: |
| 564 | +# separator="->": 'Shell-> bash' |
| 565 | +# separator=" =": 'WM = dwm' |
| 566 | +separator=":" |
| 567 | + |
| 568 | + |
| 569 | +# Color Blocks |
| 570 | + |
| 571 | + |
| 572 | +# Color block range |
| 573 | +# The range of colors to print. |
| 574 | +# |
| 575 | +# Default: '0', '15' |
| 576 | +# Values: 'num' |
| 577 | +# Flag: --block_range |
| 578 | +# |
| 579 | +# Example: |
| 580 | +# |
| 581 | +# Display colors 0-7 in the blocks. (8 colors) |
| 582 | +# neofetch --block_range 0 7 |
| 583 | +# |
| 584 | +# Display colors 0-15 in the blocks. (16 colors) |
| 585 | +# neofetch --block_range 0 15 |
| 586 | +block_range=(0 15) |
| 587 | + |
| 588 | +# Toggle color blocks |
| 589 | +# |
| 590 | +# Default: 'on' |
| 591 | +# Values: 'on', 'off' |
| 592 | +# Flag: --color_blocks |
| 593 | +color_blocks="on" |
| 594 | + |
| 595 | +# Color block width in spaces |
| 596 | +# |
| 597 | +# Default: '3' |
| 598 | +# Values: 'num' |
| 599 | +# Flag: --block_width |
| 600 | +block_width=3 |
| 601 | + |
| 602 | +# Color block height in lines |
| 603 | +# |
| 604 | +# Default: '1' |
| 605 | +# Values: 'num' |
| 606 | +# Flag: --block_height |
| 607 | +block_height=1 |
| 608 | + |
| 609 | +# Color Alignment |
| 610 | +# |
| 611 | +# Default: 'auto' |
| 612 | +# Values: 'auto', 'num' |
| 613 | +# Flag: --col_offset |
| 614 | +# |
| 615 | +# Number specifies how far from the left side of the terminal (in spaces) to |
| 616 | +# begin printing the columns, in case you want to e.g. center them under your |
| 617 | +# text. |
| 618 | +# Example: |
| 619 | +# col_offset="auto" - Default behavior of neofetch |
| 620 | +# col_offset=7 - Leave 7 spaces then print the colors |
| 621 | +col_offset="auto" |
| 622 | + |
| 623 | +# Progress Bars |
| 624 | + |
| 625 | + |
| 626 | +# Bar characters |
| 627 | +# |
| 628 | +# Default: '-', '=' |
| 629 | +# Values: 'string', 'string' |
| 630 | +# Flag: --bar_char |
| 631 | +# |
| 632 | +# Example: |
| 633 | +# neofetch --bar_char 'elapsed' 'total' |
| 634 | +# neofetch --bar_char '-' '=' |
| 635 | +bar_char_elapsed="-" |
| 636 | +bar_char_total="=" |
| 637 | + |
| 638 | +# Toggle Bar border |
| 639 | +# |
| 640 | +# Default: 'on' |
| 641 | +# Values: 'on', 'off' |
| 642 | +# Flag: --bar_border |
| 643 | +bar_border="on" |
| 644 | + |
| 645 | +# Progress bar length in spaces |
| 646 | +# Number of chars long to make the progress bars. |
| 647 | +# |
| 648 | +# Default: '15' |
| 649 | +# Values: 'num' |
| 650 | +# Flag: --bar_length |
| 651 | +bar_length=15 |
| 652 | + |
| 653 | +# Progress bar colors |
| 654 | +# When set to distro, uses your distro's logo colors. |
| 655 | +# |
| 656 | +# Default: 'distro', 'distro' |
| 657 | +# Values: 'distro', 'num' |
| 658 | +# Flag: --bar_colors |
| 659 | +# |
| 660 | +# Example: |
| 661 | +# neofetch --bar_colors 3 4 |
| 662 | +# neofetch --bar_colors distro 5 |
| 663 | +bar_color_elapsed="distro" |
| 664 | +bar_color_total="distro" |
| 665 | + |
| 666 | + |
| 667 | +# Info display |
| 668 | +# Display a bar with the info. |
| 669 | +# |
| 670 | +# Default: 'off' |
| 671 | +# Values: 'bar', 'infobar', 'barinfo', 'off' |
| 672 | +# Flags: --cpu_display |
| 673 | +# --memory_display |
| 674 | +# --battery_display |
| 675 | +# --disk_display |
| 676 | +# |
| 677 | +# Example: |
| 678 | +# bar: '[---=======]' |
| 679 | +# infobar: 'info [---=======]' |
| 680 | +# barinfo: '[---=======] info' |
| 681 | +# off: 'info' |
| 682 | +cpu_display="off" |
| 683 | +memory_display="off" |
| 684 | +battery_display="off" |
| 685 | +disk_display="off" |
| 686 | + |
| 687 | + |
| 688 | +# Backend Settings |
| 689 | + |
| 690 | + |
| 691 | +# Image backend. |
| 692 | +# |
| 693 | +# Default: 'ascii' |
| 694 | +# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', |
| 695 | +# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' |
| 696 | +# Flag: --backend |
| 697 | +image_backend="ascii" |
| 698 | + |
| 699 | +# Image Source |
| 700 | +# |
| 701 | +# Which image or ascii file to display. |
| 702 | +# |
| 703 | +# Default: 'auto' |
| 704 | +# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' |
| 705 | +# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' |
| 706 | +# Flag: --source |
| 707 | +# |
| 708 | +# NOTE: 'auto' will pick the best image source for whatever image backend is used. |
| 709 | +# In ascii mode, distro ascii art will be used and in an image mode, your |
| 710 | +# wallpaper will be used. |
| 711 | +image_source="auto" |
| 712 | + |
| 713 | + |
| 714 | +# Ascii Options |
| 715 | + |
| 716 | + |
| 717 | +# Ascii distro |
| 718 | +# Which distro's ascii art to display. |
| 719 | +# |
| 720 | +# Default: 'auto' |
| 721 | +# Values: 'auto', 'distro_name' |
| 722 | +# Flag: --ascii_distro |
| 723 | +# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS", |
| 724 | +# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, |
| 725 | +# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, |
| 726 | +# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, |
| 727 | +# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, |
| 728 | +# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, |
| 729 | +# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, |
| 730 | +# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary, |
| 731 | +# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, |
| 732 | +# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, |
| 733 | +# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, |
| 734 | +# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, |
| 735 | +# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, |
| 736 | +# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, |
| 737 | +# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, |
| 738 | +# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, |
| 739 | +# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba, |
| 740 | +# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, |
| 741 | +# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, |
| 742 | +# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, |
| 743 | +# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, |
| 744 | +# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, |
| 745 | +# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, |
| 746 | +# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, |
| 747 | +# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, |
| 748 | +# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, |
| 749 | +# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, |
| 750 | +# and IRIX have ascii logos |
| 751 | +# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. |
| 752 | +# Use '{distro name}_old' to use the old logos. |
| 753 | +# NOTE: Ubuntu has flavor variants. |
| 754 | +# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, |
| 755 | +# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. |
| 756 | +# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, |
| 757 | +# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, |
| 758 | +# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, |
| 759 | +# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, |
| 760 | +# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, |
| 761 | +# postmarketOS, and Void have a smaller logo variant. |
| 762 | +# Use '{distro name}_small' to use the small variants. |
| 763 | +ascii_distro="auto" |
| 764 | + |
| 765 | +# Ascii Colors |
| 766 | +# |
| 767 | +# Default: 'distro' |
| 768 | +# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' |
| 769 | +# Flag: --ascii_colors |
| 770 | +# |
| 771 | +# Example: |
| 772 | +# ascii_colors=(distro) - Ascii is colored based on Distro colors. |
| 773 | +# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. |
| 774 | +ascii_colors=(distro) |
| 775 | + |
| 776 | +# Bold ascii logo |
| 777 | +# Whether or not to bold the ascii logo. |
| 778 | +# |
| 779 | +# Default: 'on' |
| 780 | +# Values: 'on', 'off' |
| 781 | +# Flag: --ascii_bold |
| 782 | +ascii_bold="on" |
| 783 | + |
| 784 | + |
| 785 | +# Image Options |
| 786 | + |
| 787 | + |
| 788 | +# Image loop |
| 789 | +# Setting this to on will make neofetch redraw the image constantly until |
| 790 | +# Ctrl+C is pressed. This fixes display issues in some terminal emulators. |
| 791 | +# |
| 792 | +# Default: 'off' |
| 793 | +# Values: 'on', 'off' |
| 794 | +# Flag: --loop |
| 795 | +image_loop="off" |
| 796 | + |
| 797 | +# Thumbnail directory |
| 798 | +# |
| 799 | +# Default: '~/.cache/thumbnails/neofetch' |
| 800 | +# Values: 'dir' |
| 801 | +thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" |
| 802 | + |
| 803 | +# Crop mode |
| 804 | +# |
| 805 | +# Default: 'normal' |
| 806 | +# Values: 'normal', 'fit', 'fill' |
| 807 | +# Flag: --crop_mode |
| 808 | +# |
| 809 | +# See this wiki page to learn about the fit and fill options. |
| 810 | +# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F |
| 811 | +crop_mode="normal" |
| 812 | + |
| 813 | +# Crop offset |
| 814 | +# Note: Only affects 'normal' crop mode. |
| 815 | +# |
| 816 | +# Default: 'center' |
| 817 | +# Values: 'northwest', 'north', 'northeast', 'west', 'center' |
| 818 | +# 'east', 'southwest', 'south', 'southeast' |
| 819 | +# Flag: --crop_offset |
| 820 | +crop_offset="center" |
| 821 | + |
| 822 | +# Image size |
| 823 | +# The image is half the terminal width by default. |
| 824 | +# |
| 825 | +# Default: 'auto' |
| 826 | +# Values: 'auto', '00px', '00%', 'none' |
| 827 | +# Flags: --image_size |
| 828 | +# --size |
| 829 | +image_size="auto" |
| 830 | + |
| 831 | +# Gap between image and text |
| 832 | +# |
| 833 | +# Default: '3' |
| 834 | +# Values: 'num', '-num' |
| 835 | +# Flag: --gap |
| 836 | +gap=3 |
| 837 | + |
| 838 | +# Image offsets |
| 839 | +# Only works with the w3m backend. |
| 840 | +# |
| 841 | +# Default: '0' |
| 842 | +# Values: 'px' |
| 843 | +# Flags: --xoffset |
| 844 | +# --yoffset |
| 845 | +yoffset=0 |
| 846 | +xoffset=0 |
| 847 | + |
| 848 | +# Image background color |
| 849 | +# Only works with the w3m backend. |
| 850 | +# |
| 851 | +# Default: '' |
| 852 | +# Values: 'color', 'blue' |
| 853 | +# Flag: --bg_color |
| 854 | +background_color= |
| 855 | + |
| 856 | + |
| 857 | +# Misc Options |
| 858 | + |
| 859 | +# Stdout mode |
| 860 | +# Turn off all colors and disables image backend (ASCII/Image). |
| 861 | +# Useful for piping into another command. |
| 862 | +# Default: 'off' |
| 863 | +# Values: 'on', 'off' |
| 864 | +stdout="off" |
0 commit comments