config.conf (14688B)
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 41 # Kernel 42 43 44 # Shorten the output of the kernel function. 45 # 46 # Default: 'on' 47 # Values: 'on', 'off' 48 # Flag: --kernel_shorthand 49 # Supports: Everything except *BSDs (except PacBSD and PC-BSD) 50 # 51 # Example: 52 # on: '4.8.9-1-ARCH' 53 # off: 'Linux 4.8.9-1-ARCH' 54 kernel_shorthand="on" 55 56 57 # Distro 58 59 60 # Shorten the output of the distro function 61 # 62 # Default: 'off' 63 # Values: 'on', 'off', 'tiny' 64 # Flag: --distro_shorthand 65 # Supports: Everything except Windows and Haiku 66 distro_shorthand="off" 67 68 # Show/Hide OS Architecture. 69 # Show 'x86_64', 'x86' and etc in 'Distro:' output. 70 # 71 # Default: 'on' 72 # Values: 'on', 'off' 73 # Flag: --os_arch 74 # 75 # Example: 76 # on: 'Arch Linux x86_64' 77 # off: 'Arch Linux' 78 os_arch="on" 79 80 81 # Uptime 82 83 84 # Shorten the output of the uptime function 85 # 86 # Default: 'on' 87 # Values: 'on', 'off', 'tiny' 88 # Flag: --uptime_shorthand 89 # 90 # Example: 91 # on: '2 days, 10 hours, 3 mins' 92 # off: '2 days, 10 hours, 3 minutes' 93 # tiny: '2d 10h 3m' 94 uptime_shorthand="on" 95 96 97 # Memory 98 99 100 # Show memory pecentage in output. 101 # 102 # Default: 'off' 103 # Values: 'on', 'off' 104 # Flag: --memory_percent 105 # 106 # Example: 107 # on: '1801MiB / 7881MiB (22%)' 108 # off: '1801MiB / 7881MiB' 109 memory_percent="off" 110 111 112 # Packages 113 114 115 # Show/Hide Package Manager names. 116 # 117 # Default: 'tiny' 118 # Values: 'on', 'tiny' 'off' 119 # Flag: --package_managers 120 # 121 # Example: 122 # on: '998 (pacman), 8 (flatpak), 4 (snap)' 123 # tiny: '908 (pacman, flatpak, snap)' 124 # off: '908' 125 package_managers="on" 126 127 128 # Shell 129 130 131 # Show the path to $SHELL 132 # 133 # Default: 'off' 134 # Values: 'on', 'off' 135 # Flag: --shell_path 136 # 137 # Example: 138 # on: '/bin/bash' 139 # off: 'bash' 140 shell_path="off" 141 142 # Show $SHELL version 143 # 144 # Default: 'on' 145 # Values: 'on', 'off' 146 # Flag: --shell_version 147 # 148 # Example: 149 # on: 'bash 4.4.5' 150 # off: 'bash' 151 shell_version="on" 152 153 154 # CPU 155 156 157 # CPU speed type 158 # 159 # Default: 'bios_limit' 160 # Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. 161 # Flag: --speed_type 162 # Supports: Linux with 'cpufreq' 163 # NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. 164 speed_type="bios_limit" 165 166 # CPU speed shorthand 167 # 168 # Default: 'off' 169 # Values: 'on', 'off'. 170 # Flag: --speed_shorthand 171 # NOTE: This flag is not supported in systems with CPU speed less than 1 GHz 172 # 173 # Example: 174 # on: 'i7-6500U (4) @ 3.1GHz' 175 # off: 'i7-6500U (4) @ 3.100GHz' 176 speed_shorthand="off" 177 178 # Enable/Disable CPU brand in output. 179 # 180 # Default: 'on' 181 # Values: 'on', 'off' 182 # Flag: --cpu_brand 183 # 184 # Example: 185 # on: 'Intel i7-6500U' 186 # off: 'i7-6500U (4)' 187 cpu_brand="on" 188 189 # CPU Speed 190 # Hide/Show CPU speed. 191 # 192 # Default: 'on' 193 # Values: 'on', 'off' 194 # Flag: --cpu_speed 195 # 196 # Example: 197 # on: 'Intel i7-6500U (4) @ 3.1GHz' 198 # off: 'Intel i7-6500U (4)' 199 cpu_speed="on" 200 201 # CPU Cores 202 # Display CPU cores in output 203 # 204 # Default: 'logical' 205 # Values: 'logical', 'physical', 'off' 206 # Flag: --cpu_cores 207 # Support: 'physical' doesn't work on BSD. 208 # 209 # Example: 210 # logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) 211 # physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) 212 # off: 'Intel i7-6500U @ 3.1GHz' 213 cpu_cores="logical" 214 215 # CPU Temperature 216 # Hide/Show CPU temperature. 217 # Note the temperature is added to the regular CPU function. 218 # 219 # Default: 'off' 220 # Values: 'C', 'F', 'off' 221 # Flag: --cpu_temp 222 # Supports: Linux, BSD 223 # NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable 224 # coretemp kernel module. This only supports newer Intel processors. 225 # 226 # Example: 227 # C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' 228 # F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' 229 # off: 'Intel i7-6500U (4) @ 3.1GHz' 230 cpu_temp="off" 231 232 233 # GPU 234 235 236 # Enable/Disable GPU Brand 237 # 238 # Default: 'on' 239 # Values: 'on', 'off' 240 # Flag: --gpu_brand 241 # 242 # Example: 243 # on: 'AMD HD 7950' 244 # off: 'HD 7950' 245 gpu_brand="on" 246 247 # Which GPU to display 248 # 249 # Default: 'all' 250 # Values: 'all', 'dedicated', 'integrated' 251 # Flag: --gpu_type 252 # Supports: Linux 253 # 254 # Example: 255 # all: 256 # GPU1: AMD HD 7950 257 # GPU2: Intel Integrated Graphics 258 # 259 # dedicated: 260 # GPU1: AMD HD 7950 261 # 262 # integrated: 263 # GPU1: Intel Integrated Graphics 264 gpu_type="all" 265 266 267 # Resolution 268 269 270 # Display refresh rate next to each monitor 271 # Default: 'off' 272 # Values: 'on', 'off' 273 # Flag: --refresh_rate 274 # Supports: Doesn't work on Windows. 275 # 276 # Example: 277 # on: '1920x1080 @ 60Hz' 278 # off: '1920x1080' 279 refresh_rate="off" 280 281 282 # Gtk Theme / Icons / Font 283 284 285 # Shorten output of GTK Theme / Icons / Font 286 # 287 # Default: 'off' 288 # Values: 'on', 'off' 289 # Flag: --gtk_shorthand 290 # 291 # Example: 292 # on: 'Numix, Adwaita' 293 # off: 'Numix [GTK2], Adwaita [GTK3]' 294 gtk_shorthand="off" 295 296 297 # Enable/Disable gtk2 Theme / Icons / Font 298 # 299 # Default: 'on' 300 # Values: 'on', 'off' 301 # Flag: --gtk2 302 # 303 # Example: 304 # on: 'Numix [GTK2], Adwaita [GTK3]' 305 # off: 'Adwaita [GTK3]' 306 gtk2="on" 307 308 # Enable/Disable gtk3 Theme / Icons / Font 309 # 310 # Default: 'on' 311 # Values: 'on', 'off' 312 # Flag: --gtk3 313 # 314 # Example: 315 # on: 'Numix [GTK2], Adwaita [GTK3]' 316 # off: 'Numix [GTK2]' 317 gtk3="on" 318 319 320 # IP Address 321 322 323 # Website to ping for the public IP 324 # 325 # Default: 'http://ident.me' 326 # Values: 'url' 327 # Flag: --ip_host 328 public_ip_host="http://ident.me" 329 330 # Public IP timeout. 331 # 332 # Default: '2' 333 # Values: 'int' 334 # Flag: --ip_timeout 335 public_ip_timeout=2 336 337 338 # Disk 339 340 341 # Which disks to display. 342 # The values can be any /dev/sdXX, mount point or directory. 343 # NOTE: By default we only show the disk info for '/'. 344 # 345 # Default: '/' 346 # Values: '/', '/dev/sdXX', '/path/to/drive'. 347 # Flag: --disk_show 348 # 349 # Example: 350 # disk_show=('/' '/dev/sdb1'): 351 # 'Disk (/): 74G / 118G (66%)' 352 # 'Disk (/mnt/Videos): 823G / 893G (93%)' 353 # 354 # disk_show=('/'): 355 # 'Disk (/): 74G / 118G (66%)' 356 # 357 disk_show=('/') 358 359 # Disk subtitle. 360 # What to append to the Disk subtitle. 361 # 362 # Default: 'mount' 363 # Values: 'mount', 'name', 'dir' 364 # Flag: --disk_subtitle 365 # 366 # Example: 367 # name: 'Disk (/dev/sda1): 74G / 118G (66%)' 368 # 'Disk (/dev/sdb2): 74G / 118G (66%)' 369 # 370 # mount: 'Disk (/): 74G / 118G (66%)' 371 # 'Disk (/mnt/Local Disk): 74G / 118G (66%)' 372 # 'Disk (/mnt/Videos): 74G / 118G (66%)' 373 # 374 # dir: 'Disk (/): 74G / 118G (66%)' 375 # 'Disk (Local Disk): 74G / 118G (66%)' 376 # 'Disk (Videos): 74G / 118G (66%)' 377 disk_subtitle="mount" 378 379 380 # Song 381 382 383 # Manually specify a music player. 384 # 385 # Default: 'auto' 386 # Values: 'auto', 'player-name' 387 # Flag: --music_player 388 # 389 # Available values for 'player-name': 390 # 391 # amarok 392 # audacious 393 # banshee 394 # bluemindo 395 # clementine 396 # cmus 397 # deadbeef 398 # deepin-music 399 # dragon 400 # elisa 401 # exaile 402 # gnome-music 403 # gmusicbrowser 404 # guayadeque 405 # iTunes 406 # juk 407 # lollypop 408 # mocp 409 # mopidy 410 # mpd 411 # netease-cloud-music 412 # pogo 413 # pragha 414 # qmmp 415 # quodlibet 416 # rhythmbox 417 # sayonara 418 # smplayer 419 # spotify 420 # tomahawk 421 # vlc 422 # xmms2d 423 # yarock 424 music_player="auto" 425 426 # Format to display song information. 427 # 428 # Default: '%artist% - %album% - %title%' 429 # Values: '%artist%', '%album%', '%title%' 430 # Flag: --song_format 431 # 432 # Example: 433 # default: 'Song: Jet - Get Born - Sgt Major' 434 song_format="%artist% - %album% - %title%" 435 436 # Print the Artist, Album and Title on separate lines 437 # 438 # Default: 'off' 439 # Values: 'on', 'off' 440 # Flag: --song_shorthand 441 # 442 # Example: 443 # on: 'Artist: The Fratellis' 444 # 'Album: Costello Music' 445 # 'Song: Chelsea Dagger' 446 # 447 # off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' 448 song_shorthand="off" 449 450 # 'mpc' arguments (specify a host, password etc). 451 # 452 # Default: '' 453 # Example: mpc_args=(-h HOST -P PASSWORD) 454 mpc_args=() 455 456 457 # Text Colors 458 459 460 # Text Colors 461 # 462 # Default: 'distro' 463 # Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' 464 # Flag: --colors 465 # 466 # Each number represents a different part of the text in 467 # this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' 468 # 469 # Example: 470 # colors=(distro) - Text is colored based on Distro colors. 471 # colors=(4 6 1 8 8 6) - Text is colored in the order above. 472 colors=(distro) 473 474 475 # Text Options 476 477 478 # Toggle bold text 479 # 480 # Default: 'on' 481 # Values: 'on', 'off' 482 # Flag: --bold 483 bold="on" 484 485 # Enable/Disable Underline 486 # 487 # Default: 'on' 488 # Values: 'on', 'off' 489 # Flag: --underline 490 underline_enabled="on" 491 492 # Underline character 493 # 494 # Default: '-' 495 # Values: 'string' 496 # Flag: --underline_char 497 underline_char="-" 498 499 500 # Info Separator 501 # Replace the default separator with the specified string. 502 # 503 # Default: ':' 504 # Flag: --separator 505 # 506 # Example: 507 # separator="->": 'Shell-> bash' 508 # separator=" =": 'WM = dwm' 509 separator=":" 510 511 512 # Color Blocks 513 514 515 # Color block range 516 # The range of colors to print. 517 # 518 # Default: '0', '7' 519 # Values: 'num' 520 # Flag: --block_range 521 # 522 # Example: 523 # 524 # Display colors 0-7 in the blocks. (8 colors) 525 # neofetch --block_range 0 7 526 # 527 # Display colors 0-15 in the blocks. (16 colors) 528 # neofetch --block_range 0 15 529 block_range=(0 7) 530 531 # Toggle color blocks 532 # 533 # Default: 'on' 534 # Values: 'on', 'off' 535 # Flag: --color_blocks 536 color_blocks="on" 537 538 # Color block width in spaces 539 # 540 # Default: '3' 541 # Values: 'num' 542 # Flag: --block_width 543 block_width=3 544 545 # Color block height in lines 546 # 547 # Default: '1' 548 # Values: 'num' 549 # Flag: --block_height 550 block_height=1 551 552 553 # Progress Bars 554 555 556 # Bar characters 557 # 558 # Default: '-', '=' 559 # Values: 'string', 'string' 560 # Flag: --bar_char 561 # 562 # Example: 563 # neofetch --bar_char 'elapsed' 'total' 564 # neofetch --bar_char '-' '=' 565 bar_char_elapsed="-" 566 bar_char_total="=" 567 568 # Toggle Bar border 569 # 570 # Default: 'on' 571 # Values: 'on', 'off' 572 # Flag: --bar_border 573 bar_border="on" 574 575 # Progress bar length in spaces 576 # Number of chars long to make the progress bars. 577 # 578 # Default: '15' 579 # Values: 'num' 580 # Flag: --bar_length 581 bar_length=15 582 583 # Progress bar colors 584 # When set to distro, uses your distro's logo colors. 585 # 586 # Default: 'distro', 'distro' 587 # Values: 'distro', 'num' 588 # Flag: --bar_colors 589 # 590 # Example: 591 # neofetch --bar_colors 3 4 592 # neofetch --bar_colors distro 5 593 bar_color_elapsed="distro" 594 bar_color_total="distro" 595 596 597 # Info display 598 # Display a bar with the info. 599 # 600 # Default: 'off' 601 # Values: 'bar', 'infobar', 'barinfo', 'off' 602 # Flags: --cpu_display 603 # --memory_display 604 # --battery_display 605 # --disk_display 606 # 607 # Example: 608 # bar: '[---=======]' 609 # infobar: 'info [---=======]' 610 # barinfo: '[---=======] info' 611 # off: 'info' 612 cpu_display="off" 613 memory_display="off" 614 battery_display="off" 615 disk_display="off" 616 617 618 # Backend Settings 619 620 621 # Image backend. 622 # 623 # Default: 'ascii' 624 # Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', 625 # 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' 626 # Flag: --backend 627 image_backend="ascii" 628 #image_backend="w3m" 629 630 # Image Source 631 # 632 # Which image or ascii file to display. 633 # 634 # Default: 'auto' 635 # Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' 636 # 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' 637 # Flag: --source 638 # 639 # NOTE: 'auto' will pick the best image source for whatever image backend is used. 640 # In ascii mode, distro ascii art will be used and in an image mode, your 641 # wallpaper will be used. 642 image_source="auto" 643 #image_source="/home/anders/Images/archlogo.jpg" 644 645 646 # Ascii Options 647 648 649 # Ascii distro 650 # Which distro's ascii art to display. 651 # 652 # Default: 'auto' 653 # Values: 'auto', 'distro_name' 654 # Flag: --ascii_distro 655 # 656 # NOTE: Arch and Ubuntu have 'old' logo variants. 657 # Change this to 'arch_old' or 'ubuntu_old' to use the old logos. 658 # NOTE: Ubuntu has flavor variants. 659 # Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors. 660 # NOTE: Arch, Crux and Gentoo have a smaller logo variant. 661 # Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos. 662 ascii_distro="auto" 663 #ascii_distro="arch_small" 664 665 # Ascii Colors 666 # 667 # Default: 'distro' 668 # Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' 669 # Flag: --ascii_colors 670 # 671 # Example: 672 # ascii_colors=(distro) - Ascii is colored based on Distro colors. 673 # ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. 674 ascii_colors=(distro) 675 676 # Bold ascii logo 677 # Whether or not to bold the ascii logo. 678 # 679 # Default: 'on' 680 # Values: 'on', 'off' 681 # Flag: --ascii_bold 682 ascii_bold="on" 683 684 685 # Image Options 686 687 688 # Image loop 689 # Setting this to on will make neofetch redraw the image constantly until 690 # Ctrl+C is pressed. This fixes display issues in some terminal emulators. 691 # 692 # Default: 'off' 693 # Values: 'on', 'off' 694 # Flag: --loop 695 image_loop="off" 696 697 # Thumbnail directory 698 # 699 # Default: '~/.cache/thumbnails/neofetch' 700 # Values: 'dir' 701 thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" 702 703 # Crop mode 704 # 705 # Default: 'normal' 706 # Values: 'normal', 'fit', 'fill' 707 # Flag: --crop_mode 708 # 709 # See this wiki page to learn about the fit and fill options. 710 # https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F 711 crop_mode="normal" 712 713 # Crop offset 714 # Note: Only affects 'normal' crop mode. 715 # 716 # Default: 'center' 717 # Values: 'northwest', 'north', 'northeast', 'west', 'center' 718 # 'east', 'southwest', 'south', 'southeast' 719 # Flag: --crop_offset 720 crop_offset="center" 721 722 # Image size 723 # The image is half the terminal width by default. 724 # 725 # Default: 'auto' 726 # Values: 'auto', '00px', '00%', 'none' 727 # Flags: --image_size 728 # --size 729 image_size="auto" 730 731 # Gap between image and text 732 # 733 # Default: '3' 734 # Values: 'num', '-num' 735 # Flag: --gap 736 gap=3 737 738 # Image offsets 739 # Only works with the w3m backend. 740 # 741 # Default: '0' 742 # Values: 'px' 743 # Flags: --xoffset 744 # --yoffset 745 yoffset=0 746 xoffset=0 747 748 # Image background color 749 # Only works with the w3m backend. 750 # 751 # Default: '' 752 # Values: 'color', 'blue' 753 # Flag: --bg_color 754 background_color= 755 756 757 # Misc Options 758 759 # Stdout mode 760 # Turn off all colors and disables image backend (ASCII/Image). 761 # Useful for piping into another command. 762 # Default: 'off' 763 # Values: 'on', 'off' 764 stdout="off"