| 1 | #!/bin/bash |
| 2 | # vim: noai:ts=4:sw=4:expandtab |
| 3 | # shellcheck source=/dev/null |
| 4 | # shellcheck disable=2009 disable=2153 disable=2154 disable=2243 disable=2244 disable=2317 |
| 5 | # |
| 6 | # Neowofetch: A command-line system information tool written in bash 3.2+. |
| 7 | # https://github.com/hykilpikonna/hyfetch |
| 8 | # |
| 9 | # The MIT License (MIT) |
| 10 | # |
| 11 | # Copyright (c) 2015-2021 Dylan Araps |
| 12 | # |
| 13 | # Permission is hereby granted, free of charge, to any person obtaining a copy |
| 14 | # of this software and associated documentation files (the "Software"), to deal |
| 15 | # in the Software without restriction, including without limitation the rights |
| 16 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 17 | # copies of the Software, and to permit persons to whom the Software is |
| 18 | # furnished to do so, subject to the following conditions: |
| 19 | # |
| 20 | # The above copyright notice and this permission notice shall be included in all |
| 21 | # copies or substantial portions of the Software. |
| 22 | # |
| 23 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 24 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 25 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 26 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 27 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 28 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 29 | # SOFTWARE. |
| 30 | |
| 31 | version=7.98.0 |
| 32 | |
| 33 | # Fallback to a value of '5' for shells which support bash |
| 34 | # but do not set the 'BASH_' shell variables (osh). |
| 35 | bash_version=${BASH_VERSINFO[0]:-5} |
| 36 | shopt -s eval_unsafe_arith &>/dev/null |
| 37 | |
| 38 | sys_locale=${LANG:-C} |
| 39 | XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-${HOME}/.config} |
| 40 | PATH=$PATH:/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec |
| 41 | reset='\e[0m' |
| 42 | shopt -s nocasematch extglob |
| 43 | |
| 44 | # Speed up script by not using unicode. |
| 45 | LC_ALL=C |
| 46 | LANG=C |
| 47 | |
| 48 | # Fix issues with gsettings. |
| 49 | [[ -z $GIO_EXTRA_MODULES ]] && export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/ |
| 50 | |
| 51 | # Use sed -r instead of sed -E if using GNU sed. |
| 52 | [[ $(sed --version 2>/dev/null) =~ GNU ]] && gnu_sed=1 |
| 53 | sed() { |
| 54 | if [[ $gnu_sed ]]; then |
| 55 | command sed "${@//-E/-r}" |
| 56 | else |
| 57 | command sed "$@" |
| 58 | fi |
| 59 | } |
| 60 | |
| 61 | # Neowofetch default config. |
| 62 | read -rd '' config <<'EOF' |
| 63 | # See this wiki page for more info: |
| 64 | # https://github.com/dylanaraps/neofetch/wiki/Customizing-Info |
| 65 | print_info() { |
| 66 | info title |
| 67 | info underline |
| 68 | |
| 69 | info "OS" distro |
| 70 | info "Host" model |
| 71 | info "Kernel" kernel |
| 72 | info "Uptime" uptime |
| 73 | info "Packages" packages |
| 74 | info "Shell" shell |
| 75 | info "Editor" editor |
| 76 | info "Resolution" resolution |
| 77 | info "DE" de |
| 78 | info "WM" wm |
| 79 | info "WM Theme" wm_theme |
| 80 | info "Theme" theme |
| 81 | info "Icons" icons |
| 82 | info "Cursor" cursor |
| 83 | info "Terminal" term |
| 84 | info "Terminal Font" term_font |
| 85 | info "CPU" cpu |
| 86 | info "GPU" gpu |
| 87 | info "Memory" memory |
| 88 | info "Network" network |
| 89 | info "Bluetooth" bluetooth |
| 90 | info "BIOS" bios |
| 91 | |
| 92 | # info "GPU Driver" gpu_driver # Linux/macOS only |
| 93 | # info "Disk" disk |
| 94 | # info "Battery" battery |
| 95 | # info "Power Adapter" power_adapter # macOS only |
| 96 | # info "Font" font |
| 97 | # info "Song" song |
| 98 | # [[ "$player" ]] && prin "Music Player" "$player" |
| 99 | # info "Local IP" local_ip |
| 100 | # info "Public IP" public_ip |
| 101 | # info "Users" users |
| 102 | # info "Locale" locale # This only works on glibc systems. |
| 103 | |
| 104 | # info "Java" java_ver |
| 105 | # info "Python" python_ver |
| 106 | # info "Node" node_ver |
| 107 | |
| 108 | info cols |
| 109 | } |
| 110 | |
| 111 | # Title |
| 112 | |
| 113 | |
| 114 | # Hide/Show Fully qualified domain name. |
| 115 | # |
| 116 | # Default: 'off' |
| 117 | # Values: 'on', 'off' |
| 118 | # Flag: --title_fqdn |
| 119 | title_fqdn="off" |
| 120 | |
| 121 | |
| 122 | # Kernel |
| 123 | |
| 124 | |
| 125 | # Shorten the output of the kernel function. |
| 126 | # |
| 127 | # Default: 'on' |
| 128 | # Values: 'on', 'off' |
| 129 | # Flag: --kernel_shorthand |
| 130 | # Supports: Everything except *BSDs (except PacBSD and PC-BSD) |
| 131 | # |
| 132 | # Example: |
| 133 | # on: '4.8.9-1-ARCH' |
| 134 | # off: 'Linux 4.8.9-1-ARCH' |
| 135 | kernel_shorthand="on" |
| 136 | |
| 137 | |
| 138 | # Distro |
| 139 | |
| 140 | |
| 141 | # Shorten the output of the distro function |
| 142 | # |
| 143 | # Default: 'off' |
| 144 | # Values: 'on', 'tiny', 'off' |
| 145 | # Flag: --distro_shorthand |
| 146 | # Supports: Everything except Windows and Haiku |
| 147 | distro_shorthand="off" |
| 148 | |
| 149 | # Show/Hide OS Architecture. |
| 150 | # Show 'x86_64', 'x86' and etc in 'Distro:' output. |
| 151 | # |
| 152 | # Default: 'on' |
| 153 | # Values: 'on', 'off' |
| 154 | # Flag: --os_arch |
| 155 | # |
| 156 | # Example: |
| 157 | # on: 'Arch Linux x86_64' |
| 158 | # off: 'Arch Linux' |
| 159 | os_arch="on" |
| 160 | |
| 161 | |
| 162 | # Uptime |
| 163 | |
| 164 | |
| 165 | # Shorten the output of the uptime function |
| 166 | # |
| 167 | # Default: 'on' |
| 168 | # Values: 'on', 'tiny', 'off' |
| 169 | # Flag: --uptime_shorthand |
| 170 | # |
| 171 | # Example: |
| 172 | # on: '2 days, 10 hours, 3 mins' |
| 173 | # tiny: '2d 10h 3m' |
| 174 | # off: '2 days, 10 hours, 3 minutes' |
| 175 | uptime_shorthand="on" |
| 176 | |
| 177 | |
| 178 | # Memory |
| 179 | |
| 180 | |
| 181 | # Show memory percentage in output. |
| 182 | # |
| 183 | # Default: 'off' |
| 184 | # Values: 'on', 'off' |
| 185 | # Flag: --memory_percent |
| 186 | # |
| 187 | # Example: |
| 188 | # on: '1801MiB / 7881MiB (22%)' |
| 189 | # off: '1801MiB / 7881MiB' |
| 190 | memory_percent="on" |
| 191 | |
| 192 | # Change memory output unit. |
| 193 | # |
| 194 | # Default: 'mib' |
| 195 | # Values: 'kib', 'mib', 'gib', 'tib' |
| 196 | # Flag: --memory_unit |
| 197 | # |
| 198 | # Example: |
| 199 | # kib '1020928KiB / 7117824KiB' |
| 200 | # mib '1042MiB / 6951MiB' |
| 201 | # gib: ' 0.98GiB / 6.79GiB' |
| 202 | memory_unit="gib" |
| 203 | |
| 204 | # Change memory output precision. |
| 205 | # |
| 206 | # Default: '2' |
| 207 | # Values: integer ≥ 0 |
| 208 | # Flag: --memory_precision |
| 209 | mem_precision=2 |
| 210 | |
| 211 | # Packages |
| 212 | |
| 213 | |
| 214 | # Show/Hide Package Manager names. |
| 215 | # |
| 216 | # Default: 'tiny' |
| 217 | # Values: 'on', 'tiny' 'off' |
| 218 | # Flag: --package_managers |
| 219 | # |
| 220 | # Example: |
| 221 | # on: '998 (pacman), 8 (flatpak), 4 (snap)' |
| 222 | # tiny: '908 (pacman, flatpak, snap)' |
| 223 | # off: '908' |
| 224 | package_managers="on" |
| 225 | |
| 226 | |
| 227 | # Show separate user and system packages for supported package managers |
| 228 | # |
| 229 | # Default: 'on' |
| 230 | # Values: 'on', 'off' |
| 231 | # Flag: --package_separate |
| 232 | # |
| 233 | # Example: |
| 234 | # on: '8 packages (flatpak-system), 9 packages (flatpak-user)' |
| 235 | # off: '17 packages (flatpak)' |
| 236 | package_separate="on" |
| 237 | |
| 238 | # Reduce output of packages list by not showing programming language package managers or Steam games |
| 239 | # |
| 240 | # Flag: --package_minimal |
| 241 | # |
| 242 | # Example: |
| 243 | # default: 'Packages: 1 (npm), 991 (emerge), 3 (steam), 23 (flatpak-system)' |
| 244 | # minimal: 'Packages: 991 (emerge), 23 (flatpak-system)' |
| 245 | package_minimal="" |
| 246 | |
| 247 | |
| 248 | # Shell |
| 249 | |
| 250 | |
| 251 | # Show the path to $SHELL |
| 252 | # |
| 253 | # Default: 'off' |
| 254 | # Values: 'on', 'off' |
| 255 | # Flag: --shell_path |
| 256 | # |
| 257 | # Example: |
| 258 | # on: '/bin/bash' |
| 259 | # off: 'bash' |
| 260 | shell_path="off" |
| 261 | |
| 262 | # Show $SHELL version |
| 263 | # |
| 264 | # Default: 'on' |
| 265 | # Values: 'on', 'off' |
| 266 | # Flag: --shell_version |
| 267 | # |
| 268 | # Example: |
| 269 | # on: 'bash 4.4.5' |
| 270 | # off: 'bash' |
| 271 | shell_version="on" |
| 272 | |
| 273 | |
| 274 | # Editor |
| 275 | |
| 276 | |
| 277 | # Show path to $EDITOR |
| 278 | # |
| 279 | # Default: 'off' |
| 280 | # Values: 'on', 'off' |
| 281 | # Flag: --editor_path |
| 282 | # |
| 283 | # Example: |
| 284 | # on: '/opt/bin/vim' |
| 285 | # off: 'vim' |
| 286 | editor_path="off" |
| 287 | |
| 288 | # Show $EDITOR version |
| 289 | # |
| 290 | # Default: 'on' |
| 291 | # Values: 'on', 'off' |
| 292 | # Flag: '--editor_version' |
| 293 | # |
| 294 | # Example: |
| 295 | # on: 'vim 9.0' |
| 296 | # off: 'vim' |
| 297 | editor_version="on" |
| 298 | |
| 299 | |
| 300 | # CPU |
| 301 | |
| 302 | |
| 303 | # CPU speed type |
| 304 | # |
| 305 | # Default: 'bios_limit' |
| 306 | # Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. |
| 307 | # Flag: --speed_type |
| 308 | # Supports: Linux with 'cpufreq' |
| 309 | # NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. |
| 310 | speed_type="bios_limit" |
| 311 | |
| 312 | # CPU speed shorthand |
| 313 | # |
| 314 | # Default: 'off' |
| 315 | # Values: 'on', 'off'. |
| 316 | # Flag: --speed_shorthand |
| 317 | # NOTE: This flag is not supported in systems with CPU speed less than 1 GHz |
| 318 | # |
| 319 | # Example: |
| 320 | # on: 'i7-6500U (4) @ 3.1GHz' |
| 321 | # off: 'i7-6500U (4) @ 3.100GHz' |
| 322 | speed_shorthand="on" |
| 323 | |
| 324 | # Enable/Disable CPU brand in output. |
| 325 | # |
| 326 | # Default: 'on' |
| 327 | # Values: 'on', 'off' |
| 328 | # Flag: --cpu_brand |
| 329 | # |
| 330 | # Example: |
| 331 | # on: 'Intel i7-6500U' |
| 332 | # off: 'i7-6500U (4)' |
| 333 | cpu_brand="on" |
| 334 | |
| 335 | # CPU Speed |
| 336 | # Hide/Show CPU speed. |
| 337 | # |
| 338 | # Default: 'on' |
| 339 | # Values: 'on', 'off' |
| 340 | # Flag: --cpu_speed |
| 341 | # |
| 342 | # Example: |
| 343 | # on: 'Intel i7-6500U (4) @ 3.1GHz' |
| 344 | # off: 'Intel i7-6500U (4)' |
| 345 | cpu_speed="on" |
| 346 | |
| 347 | # CPU Cores |
| 348 | # Display CPU cores in output |
| 349 | # |
| 350 | # Default: 'logical' |
| 351 | # Values: 'logical', 'physical', 'off' |
| 352 | # Flag: --cpu_cores |
| 353 | # Support: 'physical' doesn't work on BSD. |
| 354 | # |
| 355 | # Example: |
| 356 | # logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) |
| 357 | # physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) |
| 358 | # off: 'Intel i7-6500U @ 3.1GHz' |
| 359 | cpu_cores="logical" |
| 360 | |
| 361 | # CPU Temperature |
| 362 | # Hide/Show CPU temperature. |
| 363 | # Note the temperature is added to the regular CPU function. |
| 364 | # |
| 365 | # Default: 'off' |
| 366 | # Values: 'C', 'F', 'off' |
| 367 | # Flag: --cpu_temp |
| 368 | # Supports: Linux, BSD |
| 369 | # NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable |
| 370 | # coretemp kernel module. This only supports newer Intel processors. |
| 371 | # |
| 372 | # Example: |
| 373 | # C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' |
| 374 | # F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' |
| 375 | # off: 'Intel i7-6500U (4) @ 3.1GHz' |
| 376 | cpu_temp="off" |
| 377 | |
| 378 | |
| 379 | # GPU |
| 380 | |
| 381 | |
| 382 | # Enable/Disable GPU Brand |
| 383 | # |
| 384 | # Default: 'on' |
| 385 | # Values: 'on', 'off' |
| 386 | # Flag: --gpu_brand |
| 387 | # |
| 388 | # Example: |
| 389 | # on: 'AMD HD 7950' |
| 390 | # off: 'HD 7950' |
| 391 | gpu_brand="on" |
| 392 | |
| 393 | # Which GPU to display |
| 394 | # |
| 395 | # Default: 'all' |
| 396 | # Values: 'all', 'dedicated', 'integrated' |
| 397 | # Flag: --gpu_type |
| 398 | # Supports: Linux |
| 399 | # |
| 400 | # Example: |
| 401 | # all: |
| 402 | # GPU1: AMD HD 7950 |
| 403 | # GPU2: Intel Integrated Graphics |
| 404 | # |
| 405 | # dedicated: |
| 406 | # GPU1: AMD HD 7950 |
| 407 | # |
| 408 | # integrated: |
| 409 | # GPU1: Intel Integrated Graphics |
| 410 | gpu_type="all" |
| 411 | |
| 412 | |
| 413 | # Resolution |
| 414 | |
| 415 | |
| 416 | # Display refresh rate next to each monitor |
| 417 | # Default: 'off' |
| 418 | # Values: 'on', 'off' |
| 419 | # Flag: --refresh_rate |
| 420 | # Supports: Doesn't work on Windows. |
| 421 | # |
| 422 | # Example: |
| 423 | # on: '1920x1080 @ 60Hz' |
| 424 | # off: '1920x1080' |
| 425 | refresh_rate="on" |
| 426 | |
| 427 | |
| 428 | # Gtk Theme / Icons / Font |
| 429 | |
| 430 | |
| 431 | # Shorten output of GTK Theme / Icons / Font |
| 432 | # |
| 433 | # Default: 'off' |
| 434 | # Values: 'on', 'off' |
| 435 | # Flag: --gtk_shorthand |
| 436 | # |
| 437 | # Example: |
| 438 | # on: 'Numix, Adwaita' |
| 439 | # off: 'Numix [GTK2], Adwaita [GTK3]' |
| 440 | gtk_shorthand="off" |
| 441 | |
| 442 | |
| 443 | # Enable/Disable gtk2 Theme / Icons / Font |
| 444 | # |
| 445 | # Default: 'on' |
| 446 | # Values: 'on', 'off' |
| 447 | # Flag: --gtk2 |
| 448 | # |
| 449 | # Example: |
| 450 | # on: 'Numix [GTK2], Adwaita [GTK3]' |
| 451 | # off: 'Adwaita [GTK3]' |
| 452 | gtk2="on" |
| 453 | |
| 454 | # Enable/Disable gtk3 Theme / Icons / Font |
| 455 | # |
| 456 | # Default: 'on' |
| 457 | # Values: 'on', 'off' |
| 458 | # Flag: --gtk3 |
| 459 | # |
| 460 | # Example: |
| 461 | # on: 'Numix [GTK2], Adwaita [GTK3]' |
| 462 | # off: 'Numix [GTK2]' |
| 463 | gtk3="on" |
| 464 | |
| 465 | # Enable/Disable Qt Theme / Icons / Font |
| 466 | # |
| 467 | # Default: 'on' |
| 468 | # Values: 'on', 'off' |
| 469 | # Flag: --qt |
| 470 | # |
| 471 | # Example: |
| 472 | # on: 'Breeze [Qt], Arc [GTK3]' |
| 473 | # off: 'Arc [GTK3]' |
| 474 | qt="on" |
| 475 | |
| 476 | # IP Address |
| 477 | |
| 478 | |
| 479 | # Website to ping for the public IP |
| 480 | # |
| 481 | # Default: 'http://ident.me' |
| 482 | # Values: 'url' |
| 483 | # Flag: --ip_host |
| 484 | public_ip_host="http://ident.me" |
| 485 | |
| 486 | # Public IP timeout. |
| 487 | # |
| 488 | # Default: '2' |
| 489 | # Values: 'int' |
| 490 | # Flag: --ip_timeout |
| 491 | public_ip_timeout=2 |
| 492 | |
| 493 | # Local IP interface |
| 494 | # |
| 495 | # Default: 'auto' (interface of default route) |
| 496 | # Values: 'auto', 'en0', 'en1' |
| 497 | # Flag: --ip_interface |
| 498 | local_ip_interface=('auto') |
| 499 | |
| 500 | |
| 501 | # Desktop Environment |
| 502 | |
| 503 | |
| 504 | # Show Desktop Environment version |
| 505 | # |
| 506 | # Default: 'on' |
| 507 | # Values: 'on', 'off' |
| 508 | # Flag: --de_version |
| 509 | de_version="on" |
| 510 | |
| 511 | |
| 512 | # Disk |
| 513 | |
| 514 | |
| 515 | # Which disks to display. |
| 516 | # The values can be any /dev/sdXX, mount point or directory. |
| 517 | # NOTE: By default we only show the disk info for '/'. |
| 518 | # |
| 519 | # Default: '/' |
| 520 | # Values: '/', '/dev/sdXX', '/path/to/drive'. |
| 521 | # Flag: --disk_show |
| 522 | # |
| 523 | # Example: |
| 524 | # disk_show=('/' '/dev/sdb1'): |
| 525 | # 'Disk (/): 74G / 118G (66%)' |
| 526 | # 'Disk (/mnt/Videos): 823G / 893G (93%)' |
| 527 | # |
| 528 | # disk_show=('/'): |
| 529 | # 'Disk (/): 74G / 118G (66%)' |
| 530 | # |
| 531 | disk_show=('/') |
| 532 | |
| 533 | # Disk subtitle. |
| 534 | # What to append to the Disk subtitle. |
| 535 | # |
| 536 | # Default: 'mount' |
| 537 | # Values: 'mount', 'name', 'dir', 'none' |
| 538 | # Flag: --disk_subtitle |
| 539 | # |
| 540 | # Example: |
| 541 | # name: 'Disk (/dev/sda1): 74G / 118G (66%)' |
| 542 | # 'Disk (/dev/sdb2): 74G / 118G (66%)' |
| 543 | # |
| 544 | # mount: 'Disk (/): 74G / 118G (66%)' |
| 545 | # 'Disk (/mnt/Local Disk): 74G / 118G (66%)' |
| 546 | # 'Disk (/mnt/Videos): 74G / 118G (66%)' |
| 547 | # |
| 548 | # dir: 'Disk (/): 74G / 118G (66%)' |
| 549 | # 'Disk (Local Disk): 74G / 118G (66%)' |
| 550 | # 'Disk (Videos): 74G / 118G (66%)' |
| 551 | # |
| 552 | # none: 'Disk: 74G / 118G (66%)' |
| 553 | # 'Disk: 74G / 118G (66%)' |
| 554 | # 'Disk: 74G / 118G (66%)' |
| 555 | disk_subtitle="mount" |
| 556 | |
| 557 | # Disk percent. |
| 558 | # Show/Hide disk percent. |
| 559 | # |
| 560 | # Default: 'on' |
| 561 | # Values: 'on', 'off' |
| 562 | # Flag: --disk_percent |
| 563 | # |
| 564 | # Example: |
| 565 | # on: 'Disk (/): 74G / 118G (66%)' |
| 566 | # off: 'Disk (/): 74G / 118G' |
| 567 | disk_percent="on" |
| 568 | |
| 569 | |
| 570 | # Song |
| 571 | |
| 572 | |
| 573 | # Manually specify a music player. |
| 574 | # |
| 575 | # Default: 'auto' |
| 576 | # Values: 'auto', 'player-name' |
| 577 | # Flag: --music_player |
| 578 | # |
| 579 | # Available values for 'player-name': |
| 580 | # |
| 581 | # amarok |
| 582 | # audacious |
| 583 | # banshee |
| 584 | # bluemindo |
| 585 | # cider |
| 586 | # clementine |
| 587 | # cmus |
| 588 | # deadbeef |
| 589 | # deepin-music |
| 590 | # dragon |
| 591 | # elisa |
| 592 | # exaile |
| 593 | # gnome-music |
| 594 | # gmusicbrowser |
| 595 | # gogglesmm |
| 596 | # guayadeque |
| 597 | # io.elementary.music |
| 598 | # iTunes |
| 599 | # Music |
| 600 | # juk |
| 601 | # lollypop |
| 602 | # MellowPlayer |
| 603 | # mocp |
| 604 | # mopidy |
| 605 | # mpd |
| 606 | # muine |
| 607 | # netease-cloud-music |
| 608 | # olivia |
| 609 | # playerctl |
| 610 | # pogo |
| 611 | # pragha |
| 612 | # qmmp |
| 613 | # quodlibet |
| 614 | # rhythmbox |
| 615 | # sayonara |
| 616 | # smplayer |
| 617 | # spotify |
| 618 | # strawberry |
| 619 | # tauonmb |
| 620 | # tomahawk |
| 621 | # vlc |
| 622 | # xmms2d |
| 623 | # xnoise |
| 624 | # yarock |
| 625 | music_player="auto" |
| 626 | |
| 627 | # Format to display song information. |
| 628 | # |
| 629 | # Default: '%artist% - %album% - %title%' |
| 630 | # Values: '%artist%', '%album%', '%title%' |
| 631 | # Flag: --song_format |
| 632 | # |
| 633 | # Example: |
| 634 | # default: 'Song: Jet - Get Born - Sgt Major' |
| 635 | song_format="%artist% - %album% - %title%" |
| 636 | |
| 637 | # Print the Artist, Album and Title on separate lines |
| 638 | # |
| 639 | # Default: 'off' |
| 640 | # Values: 'on', 'off' |
| 641 | # Flag: --song_shorthand |
| 642 | # |
| 643 | # Example: |
| 644 | # on: 'Artist: The Fratellis' |
| 645 | # 'Album: Costello Music' |
| 646 | # 'Song: Chelsea Dagger' |
| 647 | # |
| 648 | # off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' |
| 649 | song_shorthand="off" |
| 650 | |
| 651 | # 'mpc' arguments (specify a host, password etc). |
| 652 | # |
| 653 | # Default: '' |
| 654 | # Example: mpc_args=(-h HOST -P PASSWORD) |
| 655 | mpc_args=() |
| 656 | |
| 657 | |
| 658 | # Text Colors |
| 659 | |
| 660 | |
| 661 | # Text Colors |
| 662 | # |
| 663 | # Default: 'distro' |
| 664 | # Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' |
| 665 | # Flag: --colors |
| 666 | # |
| 667 | # Each number represents a different part of the text in |
| 668 | # this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' |
| 669 | # |
| 670 | # Example: |
| 671 | # colors=(distro) - Text is colored based on Distro colors. |
| 672 | # colors=(4 6 1 8 8 6) - Text is colored in the order above. |
| 673 | colors=(distro) |
| 674 | |
| 675 | |
| 676 | # Text Options |
| 677 | |
| 678 | |
| 679 | # Toggle bold text |
| 680 | # |
| 681 | # Default: 'on' |
| 682 | # Values: 'on', 'off' |
| 683 | # Flag: --bold |
| 684 | bold="on" |
| 685 | |
| 686 | # Enable/Disable Underline |
| 687 | # |
| 688 | # Default: 'on' |
| 689 | # Values: 'on', 'off' |
| 690 | # Flag: --underline |
| 691 | underline_enabled="on" |
| 692 | |
| 693 | # Underline character |
| 694 | # |
| 695 | # Default: '-' |
| 696 | # Values: 'string' |
| 697 | # Flag: --underline_char |
| 698 | underline_char="-" |
| 699 | |
| 700 | |
| 701 | # Info Separator |
| 702 | # Replace the default separator with the specified string. |
| 703 | # |
| 704 | # Default: ':' |
| 705 | # Flag: --separator |
| 706 | # |
| 707 | # Example: |
| 708 | # separator="->": 'Shell-> bash' |
| 709 | # separator=" =": 'WM = dwm' |
| 710 | separator=":" |
| 711 | |
| 712 | |
| 713 | # Color Blocks |
| 714 | |
| 715 | |
| 716 | # Color block range |
| 717 | # The range of colors to print. |
| 718 | # |
| 719 | # Default: '0', '15' |
| 720 | # Values: 'num' |
| 721 | # Flag: --block_range |
| 722 | # |
| 723 | # Example: |
| 724 | # |
| 725 | # Display colors 0-7 in the blocks. (8 colors) |
| 726 | # neowofetch --block_range 0 7 |
| 727 | # |
| 728 | # Display colors 0-15 in the blocks. (16 colors) |
| 729 | # neowofetch --block_range 0 15 |
| 730 | block_range=(0 15) |
| 731 | |
| 732 | # Toggle color blocks |
| 733 | # |
| 734 | # Default: 'on' |
| 735 | # Values: 'on', 'off' |
| 736 | # Flag: --color_blocks |
| 737 | color_blocks="on" |
| 738 | |
| 739 | # Color block width in spaces |
| 740 | # |
| 741 | # Default: '3' |
| 742 | # Values: 'num' |
| 743 | # Flag: --block_width |
| 744 | block_width=3 |
| 745 | |
| 746 | # Color block height in lines |
| 747 | # |
| 748 | # Default: '1' |
| 749 | # Values: 'num' |
| 750 | # Flag: --block_height |
| 751 | block_height=1 |
| 752 | |
| 753 | # Color Alignment |
| 754 | # |
| 755 | # Default: 'auto' |
| 756 | # Values: 'auto', 'num' |
| 757 | # Flag: --col_offset |
| 758 | # |
| 759 | # Number specifies how far from the left side of the terminal (in spaces) to |
| 760 | # begin printing the columns, in case you want to e.g. center them under your |
| 761 | # text. |
| 762 | # Example: |
| 763 | # col_offset="auto" - Default behavior of neowofetch |
| 764 | # col_offset=7 - Leave 7 spaces then print the colors |
| 765 | col_offset="auto" |
| 766 | |
| 767 | # Progress Bars |
| 768 | |
| 769 | |
| 770 | # Bar characters |
| 771 | # |
| 772 | # Default: '-', '=' |
| 773 | # Values: 'string', 'string' |
| 774 | # Flag: --bar_char |
| 775 | # |
| 776 | # Example: |
| 777 | # neowofetch --bar_char 'elapsed' 'total' |
| 778 | # neowofetch --bar_char '-' '=' |
| 779 | bar_char_elapsed="-" |
| 780 | bar_char_total="=" |
| 781 | |
| 782 | # Toggle Bar border |
| 783 | # |
| 784 | # Default: 'on' |
| 785 | # Values: 'on', 'off' |
| 786 | # Flag: --bar_border |
| 787 | bar_border="on" |
| 788 | |
| 789 | # Progress bar length in spaces |
| 790 | # Number of chars long to make the progress bars. |
| 791 | # |
| 792 | # Default: '15' |
| 793 | # Values: 'num' |
| 794 | # Flag: --bar_length |
| 795 | bar_length=15 |
| 796 | |
| 797 | # Progress bar colors |
| 798 | # When set to distro, uses your distro's logo colors. |
| 799 | # |
| 800 | # Default: 'distro', 'distro' |
| 801 | # Values: 'distro', 'num' |
| 802 | # Flag: --bar_colors |
| 803 | # |
| 804 | # Example: |
| 805 | # neowofetch --bar_colors 3 4 |
| 806 | # neowofetch --bar_colors distro 5 |
| 807 | bar_color_elapsed="distro" |
| 808 | bar_color_total="distro" |
| 809 | |
| 810 | |
| 811 | # Info display |
| 812 | # Display a bar with the info. |
| 813 | # |
| 814 | # Default: 'off' |
| 815 | # Values: 'bar', 'infobar', 'barinfo', 'off' |
| 816 | # Flags: --memory_display |
| 817 | # --battery_display |
| 818 | # --disk_display |
| 819 | # |
| 820 | # Example: |
| 821 | # bar: '[---=======]' |
| 822 | # infobar: 'info [---=======]' |
| 823 | # barinfo: '[---=======] info' |
| 824 | # off: 'info' |
| 825 | memory_display="off" |
| 826 | battery_display="off" |
| 827 | disk_display="off" |
| 828 | |
| 829 | |
| 830 | # Backend Settings |
| 831 | |
| 832 | |
| 833 | # Image backend. |
| 834 | # |
| 835 | # Default: 'ascii' |
| 836 | # Values: 'ascii', 'caca', 'catimg', 'chafa', 'jp2a', 'iterm2', 'off', |
| 837 | # 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty', 'ueberzug', |
| 838 | # 'viu' |
| 839 | |
| 840 | # Flag: --backend |
| 841 | image_backend="ascii" |
| 842 | |
| 843 | # Image Source |
| 844 | # |
| 845 | # Which image or ascii file to display. |
| 846 | # |
| 847 | # Default: 'auto' |
| 848 | # Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' |
| 849 | # 'command output (neowofetch --ascii "$(fortune | cowsay -W 30)")' |
| 850 | # Flag: --source |
| 851 | # |
| 852 | # NOTE: 'auto' will pick the best image source for whatever image backend is used. |
| 853 | # In ascii mode, distro ascii art will be used and in an image mode, your |
| 854 | # wallpaper will be used. |
| 855 | image_source="auto" |
| 856 | |
| 857 | |
| 858 | # Ascii Options |
| 859 | |
| 860 | |
| 861 | # Ascii distro |
| 862 | # Which distro's ascii art to display. |
| 863 | # |
| 864 | # Default: 'auto' |
| 865 | # Values: 'auto', 'distro_name' |
| 866 | # Flag: --ascii_distro |
| 867 | # |
| 868 | # NOTE: Adélie, aerOS, Afterglow, AIX, AlmaLinux, Alpine, Alter, Amazon, AmogOS, Anarchy, Android, |
| 869 | # Antergos, antiX, AOSC OS, Aperio GNU/Linux, Aperture, Apricity, Arch, ArchBox, Archcraft, |
| 870 | # archcraft_ascii, archcraft_minimal, ARCHlabs, ArchMerge, ArchStrike, ArcoLinux, Arkane, ArseLinux, |
| 871 | # Artix, Arya, Asahi, AsteroidOS, astOS, Astra Linux, Athena, azos, Bedrock, BigLinux, |
| 872 | # BigLinux_large, Bitrig, BlackArch, BlackMesa, blackPanther, BLAG, BlankOn, BlueLight, Bodhi, |
| 873 | # bonsai, BSD, BunsenLabs, CachyOS, Calculate, CalinixOS, Carbs, CBL-Mariner, CelOS, Center, CentOS, |
| 874 | # Chakra, ChaletOS, Chapeau, Chimera, ChonkySealOS, Chrom, Cleanjaro, Clear Linux OS, ClearOS, |
| 875 | # Clover, Cobalt, Condres, Container Linux by CoreOS, CRUX, Crystal Linux, Cucumber, CutefishOS, |
| 876 | # CuteOS, CyberOS, dahlia, DarkOs, Darwin, Debian, Deepin, DesaOS, Devuan, DietPi, digital UNIX, |
| 877 | # DracOS, DragonFly, Drauger, Droidian, Elementary, Elive, EncryptOS, EndeavourOS, Endless, Enso, |
| 878 | # EuroLinux, EvolutionOS, eweOS, Exherbo, Exodia Predator OS, Fedora, Fedora Kinoite, Fedora |
| 879 | # Sericea, Fedora Silverblue, Fedora_unicode, FemboyOS, Feren, Finnix, Floflis, FreeBSD, FreeMiNT, |
| 880 | # Frugalware, Funtoo, Furreto, GalliumOS, Garuda, Gentoo, GhostBSD, glaucus, gNewSense, GNOME, GNU, |
| 881 | # GoboLinux, GrapheneOS, Grombyang, Guix, Haiku, HamoniKR, HarDClanZ, Hash, Huayra, Hybrid, HydroOS, |
| 882 | # Hyperbola, iglunix, instantOS, Interix, IRIX, Ironclad, Itc, januslinux, Kaisen, Kali, KaOS, KDE, |
| 883 | # Kibojoe, Kogaion, Korora, KrassOS, KSLinux, Kubuntu, LainOS, LangitKetujuh, LaxerOS, LEDE, |
| 884 | # LibreELEC, Linspire, Linux, Linux Lite, Linux Mint, Linux Mint Old, LinuxFromScratch, Live Raizo, |
| 885 | # LMDE, Lubuntu, Lunar, mac, MacaroniOS, Mageia, Magix, MagpieOS, MainsailOS, Mandriva, Manjaro, |
| 886 | # MassOS, MatuusOS, Maui, Mauna, Meowix, Mer, Minix, MIRACLE LINUX, MX, Namib, NekOS, Neptune, |
| 887 | # NetBSD, Netrunner, Nitrux, NixOS, nixos_colorful, Nobara, NomadBSD, Nurunner, NuTyX, Obarun, |
| 888 | # OBRevenge, OmniOS, Open Source Media Center, OpenBSD, openEuler, OpenIndiana, openKylin, |
| 889 | # openmamba, OpenMandriva, OpenStage, openSUSE, openSUSE Leap, openSUSE Tumbleweed, OPNsense, |
| 890 | # Oracle, orchid, OS Elbrus, PacBSD, Panwah, Parabola, parch, Pardus, Parrot, Parsix, PCBSD, |
| 891 | # PCLinuxOS, pearOS, Pengwin, Pentoo, Peppermint, Peropesis, phyOS, PikaOS, Pisi, PNM Linux, |
| 892 | # Pop!_OS, Porteus, PostMarketOS, Profelis SambaBOX, Proxmox, PuffOS, Puppy, PureOS, Q4OS, Qubes, |
| 893 | # Qubyt, Quibian, Radix, Raspbian, ravynOS, Reborn OS, Red Star, Redcore, Redhat, Refracted Devuan, |
| 894 | # Regata, Regolith, RhaymOS, rocky, Rosa, Sabayon, sabotage, Sailfish, SalentOS, Salient OS, Salix, |
| 895 | # Sasanqua, Scientific, semc, Septor, Serene, SharkLinux, ShastraOS, Siduction, SkiffOS, Slackel, |
| 896 | # Slackware, SliTaz, SmartOS, Soda, Solus, Source Mage, Sparky, Star, SteamOS, Stock Linux, Sulin, |
| 897 | # SunOS, SwagArch, t2, Tails, Tatra, TeArch, TorizonCore, Trisquel, Twister, Ubuntu, Ubuntu Budgie, |
| 898 | # Ubuntu Cinnamon, Ubuntu Kylin, Ubuntu MATE, Ubuntu Studio, Ubuntu Sway, Ubuntu Touch, Ubuntu- |
| 899 | # GNOME, ubuntu_old02, Ultramarine Linux, unicodearch, Univalent, Univention, Uos, UrukOS, uwuntu, |
| 900 | # Vanilla, Venom, VNux, Void, VzLinux, wii-linux-ngx, Windows, Windows 10, Windows 11, Windows95, |
| 901 | # Wrt, Xenia, Xenia2, XFerience, Xray_OS, Xubuntu, yiffOS, Zorin have ascii logos. |
| 902 | |
| 903 | # NOTE: arch, dragonfly, Fedora, LangitKetujuh, nixos, redhat, Ubuntu have 'old' logo variants, use |
| 904 | # {distro}_old to use them. |
| 905 | |
| 906 | # NOTE: alpine, android, arch, arcolinux, artix, CalinixOS, centos, cleanjaro, crux, debian, |
| 907 | # dragonfly, elementary, endeavouros, fedora, freebsd, garuda, gentoo, guix, haiku, hyperbola, kali, |
| 908 | # Linux, linuxlite, linuxmint, mac, mageia, MainsailOS, manjaro, mx, netbsd, nixos, openbsd, |
| 909 | # opensuse, orchid, parabola, popos, postmarketos, pureos, Raspbian, rocky, slackware, sunos, |
| 910 | # ubuntu, venom, void have 'small' logo variants, use {distro}_small to use them. |
| 911 | ascii_distro="auto" |
| 912 | |
| 913 | # Ascii Colors |
| 914 | # |
| 915 | # Default: 'distro' |
| 916 | # Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' |
| 917 | # Flag: --ascii_colors |
| 918 | # |
| 919 | # Example: |
| 920 | # ascii_colors=(distro) - Ascii is colored based on Distro colors. |
| 921 | # ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. |
| 922 | ascii_colors=(distro) |
| 923 | |
| 924 | # Bold ascii logo |
| 925 | # Whether or not to bold the ascii logo. |
| 926 | # |
| 927 | # Default: 'on' |
| 928 | # Values: 'on', 'off' |
| 929 | # Flag: --ascii_bold |
| 930 | ascii_bold="on" |
| 931 | |
| 932 | |
| 933 | # Image Options |
| 934 | |
| 935 | |
| 936 | # Image loop |
| 937 | # Setting this to on will make neowofetch redraw the image constantly until |
| 938 | # Ctrl+C is pressed. This fixes display issues in some terminal emulators. |
| 939 | # |
| 940 | # Default: 'off' |
| 941 | # Values: 'on', 'off' |
| 942 | # Flag: --loop |
| 943 | image_loop="off" |
| 944 | |
| 945 | # Thumbnail directory |
| 946 | # |
| 947 | # Default: '~/.cache/thumbnails/neowofetch' |
| 948 | # Values: 'dir' |
| 949 | thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neowofetch" |
| 950 | |
| 951 | # Crop mode |
| 952 | # |
| 953 | # Default: 'normal' |
| 954 | # Values: 'normal', 'fit', 'fill' |
| 955 | # Flag: --crop_mode |
| 956 | # |
| 957 | # See this wiki page to learn about the fit and fill options. |
| 958 | # https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F |
| 959 | crop_mode="normal" |
| 960 | |
| 961 | # Crop offset |
| 962 | # Note: Only affects 'normal' crop mode. |
| 963 | # |
| 964 | # Default: 'center' |
| 965 | # Values: 'northwest', 'north', 'northeast', 'west', 'center' |
| 966 | # 'east', 'southwest', 'south', 'southeast' |
| 967 | # Flag: --crop_offset |
| 968 | crop_offset="center" |
| 969 | |
| 970 | # Image size |
| 971 | # The image is half the terminal width by default. |
| 972 | # |
| 973 | # Default: 'auto' |
| 974 | # Values: 'auto', '00px', '00%', 'none' |
| 975 | # Flags: --image_size |
| 976 | # --size |
| 977 | image_size="auto" |
| 978 | |
| 979 | # Catimg block size. |
| 980 | # Control the resolution of catimg. |
| 981 | # |
| 982 | # Default: '2' |
| 983 | # Values: '1', '2' |
| 984 | # Flags: --catimg_size |
| 985 | catimg_size="2" |
| 986 | |
| 987 | # Gap between image and text |
| 988 | # |
| 989 | # Default: '3' |
| 990 | # Values: 'num', '-num' |
| 991 | # Flag: --gap |
| 992 | gap=3 |
| 993 | |
| 994 | # Image offsets |
| 995 | # Only works with the w3m backend. |
| 996 | # |
| 997 | # Default: '0' |
| 998 | # Values: 'px' |
| 999 | # Flags: --xoffset |
| 1000 | # --yoffset |
| 1001 | yoffset=0 |
| 1002 | xoffset=0 |
| 1003 | |
| 1004 | # Image background color |
| 1005 | # Only works with the w3m backend. |
| 1006 | # |
| 1007 | # Default: '' |
| 1008 | # Values: 'color', 'blue' |
| 1009 | # Flag: --bg_color |
| 1010 | background_color= |
| 1011 | |
| 1012 | |
| 1013 | # Misc Options |
| 1014 | |
| 1015 | # Stdout mode |
| 1016 | # If enabled, turn off all colors and disables image backend (ASCII/Image). |
| 1017 | # Useful for piping into another command. |
| 1018 | # Default: 'auto' |
| 1019 | # Values: 'auto', 'on', 'off' |
| 1020 | stdout="auto" |
| 1021 | EOF |
| 1022 | |
| 1023 | # If /etc/neowofetch/default.conf exist, set config variable to its content |
| 1024 | if [[ -f /etc/neowofetch/default.conf ]]; then |
| 1025 | config="$(< /etc/neowofetch/default.conf)" |
| 1026 | fi |
| 1027 | |
| 1028 | # DETECT INFORMATION |
| 1029 | |
| 1030 | get_os() { |
| 1031 | # $kernel_name is set in a function called cache_uname and is |
| 1032 | # just the output of "uname -s". |
| 1033 | case $kernel_name in |
| 1034 | Darwin) os=$darwin_name ;; |
| 1035 | SunOS) case $(uname -o 2>/dev/null) in |
| 1036 | illumos) os=illumos ;; |
| 1037 | *) os=Solaris ;; |
| 1038 | esac ;; |
| 1039 | Haiku) os=Haiku ;; |
| 1040 | MINIX) os=MINIX ;; |
| 1041 | AIX) os=AIX ;; |
| 1042 | IRIX*) os=IRIX ;; |
| 1043 | FreeMiNT) os=FreeMiNT ;; |
| 1044 | Interix) os=Interix ;; |
| 1045 | Ironclad) os=Ironclad;; |
| 1046 | OSF1) os=digitalUNIX ;; |
| 1047 | |
| 1048 | Linux|GNU*) |
| 1049 | os=Linux |
| 1050 | ;; |
| 1051 | |
| 1052 | *BSD|DragonFly|Bitrig) |
| 1053 | os=BSD |
| 1054 | ;; |
| 1055 | |
| 1056 | CYGWIN*|MSYS*|MINGW*|Windows_NT) |
| 1057 | os=Windows |
| 1058 | ;; |
| 1059 | |
| 1060 | *) |
| 1061 | printf '%s\n' "Unknown OS detected: '$kernel_name', aborting..." >&2 |
| 1062 | printf '%s\n' "Open an issue on GitHub to add support for your OS." >&2 |
| 1063 | exit 1 |
| 1064 | ;; |
| 1065 | esac |
| 1066 | } |
| 1067 | |
| 1068 | get_distro() { |
| 1069 | |
| 1070 | [[ $distro ]] && return |
| 1071 | |
| 1072 | case $os in |
| 1073 | Ironclad) distro=Ironclad ;; |
| 1074 | Linux|BSD|MINIX) |
| 1075 | if [[ -f /bedrock/etc/bedrock-release && -z $BEDROCK_RESTRICT ]]; then |
| 1076 | case $distro_shorthand in |
| 1077 | on|tiny) distro="Bedrock Linux" ;; |
| 1078 | *) distro=$(< /bedrock/etc/bedrock-release) |
| 1079 | esac |
| 1080 | |
| 1081 | elif [[ -f /System/Library/CoreServices/SystemVersion.plist ]]; then |
| 1082 | os=ravynOS |
| 1083 | ascii_distro="ravynOS" |
| 1084 | case $distro_shorthand in |
| 1085 | tiny) distro="$darwin_name" ;; |
| 1086 | on) distro="$darwin_name $osx_version" ;; |
| 1087 | *) distro="$darwin_name $darwin_family $osx_version" |
| 1088 | esac |
| 1089 | elif [[ -f /etc/redstar-release ]]; then |
| 1090 | case $distro_shorthand in |
| 1091 | on|tiny) distro="Red Star OS" ;; |
| 1092 | *) distro="Red Star OS $(awk -F'[^0-9*]' '$0=$2' /etc/redstar-release)" |
| 1093 | esac |
| 1094 | |
| 1095 | elif [[ -f /etc/KrassOS.version ]]; then |
| 1096 | case $distro_shorthand in |
| 1097 | on|tiny) distro="KrassOS" ;; |
| 1098 | *) distro="KrassOS $(awk '/release/{print $2}' /etc/KrassOS.version)" |
| 1099 | esac |
| 1100 | |
| 1101 | |
| 1102 | elif [[ -f /etc/armbian-release ]]; then |
| 1103 | . /etc/armbian-release |
| 1104 | distro="Armbian $DISTRIBUTION_CODENAME (${VERSION:-})" |
| 1105 | |
| 1106 | elif [[ -f /etc/manjaro-release ]]; then |
| 1107 | case $distro_shorthand in |
| 1108 | on|tiny) distro="Manjaro Linux" ;; |
| 1109 | *) distro="Manjaro Linux $(lsb_release -src)" |
| 1110 | esac |
| 1111 | |
| 1112 | elif [[ -f /etc/siduction-version ]]; then |
| 1113 | case $distro_shorthand in |
| 1114 | on|tiny) distro=Siduction ;; |
| 1115 | *) distro="Siduction ($(lsb_release -sic))" |
| 1116 | esac |
| 1117 | |
| 1118 | elif [[ -f /etc/q4os_version ]]; then |
| 1119 | case $distro_shorthand in |
| 1120 | on|tiny) distro="Q4OS" ;; |
| 1121 | *) distro="Q4OS $(cat /etc/q4os_version)" |
| 1122 | esac |
| 1123 | |
| 1124 | elif [[ -f /etc/mcst_version ]]; then |
| 1125 | case $distro_shorthand in |
| 1126 | on|tiny) distro="OS Elbrus" ;; |
| 1127 | *) distro="OS Elbrus $(< /etc/mcst_version)" |
| 1128 | esac |
| 1129 | |
| 1130 | elif [[ -f /etc/NIXOS ]]; then |
| 1131 | case $distro_shorthand in |
| 1132 | on) distro="NixOS $(nixos-version | awk '{print substr($1,0,5),$2}')" ;; |
| 1133 | tiny) distro="NixOS" ;; |
| 1134 | *) distro="NixOS $(nixos-version)" ;; |
| 1135 | esac |
| 1136 | |
| 1137 | elif [[ -f /etc/linspire-version ]]; then |
| 1138 | case $distro_shorthand in |
| 1139 | on|tiny) distro="Linspire" ;; |
| 1140 | *) distro="Linspire $(awk '/Version/ {print $2}' /etc/linspire-version)" |
| 1141 | esac |
| 1142 | |
| 1143 | elif [[ -f /etc/lindowsos-version ]]; then |
| 1144 | case $distro_shorthand in |
| 1145 | on|tiny) distro="LindowsOS" ;; |
| 1146 | *) distro="$(awk '/Version/ {print $2,$3}' /etc/lindowsos-version)" |
| 1147 | esac |
| 1148 | |
| 1149 | elif [[ -f /etc/astra_version ]]; then |
| 1150 | distro="Astra Linux" |
| 1151 | distro_version="$(sed -nr 's/^[^0-9]*(([0-9]+\.)*[0-9]+).*/\1/p' < /etc/astra_version)" |
| 1152 | if [[ $distro_version == "2.12"* ]]; then |
| 1153 | distro_codename="ALCE" |
| 1154 | else |
| 1155 | distro_codename="ALSE" |
| 1156 | fi |
| 1157 | case $distro_shorthand in |
| 1158 | on|tiny) ;; |
| 1159 | *) distro="${distro} ${distro_version} ${distro_codename}" |
| 1160 | esac |
| 1161 | |
| 1162 | elif type -p pveversion >/dev/null; then |
| 1163 | case $distro_shorthand in |
| 1164 | on|tiny) distro="Proxmox VE" ;; |
| 1165 | *) |
| 1166 | distro=$(pveversion) |
| 1167 | distro=${distro#pve-manager/} |
| 1168 | distro="Proxmox VE ${distro%/*}" |
| 1169 | esac |
| 1170 | |
| 1171 | elif type -p twistver >/dev/null; then |
| 1172 | if [[ -f /etc/armbian-release ]]; then |
| 1173 | . /etc/armbian-release |
| 1174 | case $distro_shorthand in |
| 1175 | on) distro="$( twistver ) (Armbian ${VERSION})" ;; |
| 1176 | tiny) distro="$( twistver ) (Armbian)" ;; |
| 1177 | off) distro="$( twistver ) (Armbian ${VERSION} ${DISTRIBUTION_CODENAME})" ;; |
| 1178 | esac |
| 1179 | else |
| 1180 | . /etc/os-release |
| 1181 | case $distro_shorthand in |
| 1182 | on) distro="$( twistver ) ($NAME ${VERSION_ID})" ;; |
| 1183 | tiny) distro="$( twistver ) ($NAME)" ;; |
| 1184 | off) distro="$( twistver ) (${PRETTY_NAME}})" ;; |
| 1185 | esac |
| 1186 | fi |
| 1187 | |
| 1188 | elif type -p anise >/dev/null; then |
| 1189 | for file in /etc/lsb-release /etc/os-release ; do |
| 1190 | source "$file" |
| 1191 | done |
| 1192 | |
| 1193 | case $distro_shorthand in |
| 1194 | on|tiny) distro="${NAME:-${DISTRIB_DESCRIPTION:-MacaroniOS}}" ;; |
| 1195 | *) |
| 1196 | distro="${NAME:-${DISTRIB_DESCRIPTION:-MacaroniOS}} ${VERSION:-${DISTRIB_RELEASE}}" |
| 1197 | esac |
| 1198 | |
| 1199 | elif type -p lsb_release >/dev/null; then |
| 1200 | # Debian does not include .x versions in /etc/os-version, but does in debian_version |
| 1201 | # So if that file exists, and we are not *buntu, build name from there |
| 1202 | if [[ -f /etc/debian_version ]] && [[ $(lsb_release -si) != *"buntu"* ]] && [[ $(lsb_release -si) != *"neon"* ]]; then |
| 1203 | . /etc/os-release |
| 1204 | case $distro_shorthand in |
| 1205 | on) distro="${NAME}" ;; |
| 1206 | tiny) distro="$(lsb_release -si)" ;; |
| 1207 | *) distro="${NAME} $(< /etc/debian_version) (${VERSION_CODENAME})" ;; |
| 1208 | esac |
| 1209 | else |
| 1210 | case $distro_shorthand in |
| 1211 | on) lsb_flags=-si ;; |
| 1212 | tiny) lsb_flags=-si ;; |
| 1213 | *) lsb_flags=-sd ;; |
| 1214 | esac |
| 1215 | distro=$(lsb_release "$lsb_flags") |
| 1216 | fi |
| 1217 | |
| 1218 | elif [[ -f /etc/os-release || \ |
| 1219 | -f /usr/lib/os-release || \ |
| 1220 | -f /etc/openwrt_release || \ |
| 1221 | -f /etc/lsb-release ]]; then |
| 1222 | |
| 1223 | # Source the os-release file |
| 1224 | for file in /etc/lsb-release /etc/os-release \ |
| 1225 | /usr/lib/os-release /etc/openwrt_release; do |
| 1226 | source "$file" && break |
| 1227 | done |
| 1228 | |
| 1229 | # Format the distro name. |
| 1230 | case $distro_shorthand in |
| 1231 | on) distro="${NAME:-${DISTRIB_ID}} ${VERSION_ID:-${DISTRIB_RELEASE}}" ;; |
| 1232 | tiny) distro="${NAME:-${DISTRIB_ID:-${TAILS_PRODUCT_NAME}}}" ;; |
| 1233 | off) distro="${PRETTY_NAME:-${DISTRIB_DESCRIPTION}} ${UBUNTU_CODENAME}" ;; |
| 1234 | esac |
| 1235 | |
| 1236 | # Workaround for NomadBSD. |
| 1237 | [[ $distro = "FreeBSD"* ]] && [[ -f /usr/bin/nomadbsd-sysinfo ]] && distro=NomadBSD |
| 1238 | |
| 1239 | elif [[ -f /etc/GoboLinuxVersion ]]; then |
| 1240 | case $distro_shorthand in |
| 1241 | on|tiny) distro=GoboLinux ;; |
| 1242 | *) distro="GoboLinux $(< /etc/GoboLinuxVersion)" |
| 1243 | esac |
| 1244 | |
| 1245 | elif [[ -f /etc/SDE-VERSION ]]; then |
| 1246 | distro="$(< /etc/SDE-VERSION)" |
| 1247 | case $distro_shorthand in |
| 1248 | on|tiny) distro="${distro% *}" ;; |
| 1249 | esac |
| 1250 | |
| 1251 | elif type -p crux >/dev/null; then |
| 1252 | distro=$(crux) |
| 1253 | case $distro_shorthand in |
| 1254 | on) distro=${distro//version} ;; |
| 1255 | tiny) distro=${distro//version*} |
| 1256 | esac |
| 1257 | |
| 1258 | elif type -p tazpkg >/dev/null; then |
| 1259 | distro="SliTaz $(< /etc/slitaz-release)" |
| 1260 | |
| 1261 | elif type -p kpt >/dev/null && \ |
| 1262 | type -p kpm >/dev/null; then |
| 1263 | distro=KSLinux |
| 1264 | |
| 1265 | elif [[ -d /system/app/ && -d /system/priv-app ]]; then |
| 1266 | distro="Android $(getprop ro.build.version.release)" |
| 1267 | |
| 1268 | elif [[ -f /etc/vzlinux-release ]]; then |
| 1269 | distro='VzLinux' |
| 1270 | |
| 1271 | # Chrome OS doesn't conform to the /etc/*-release standard. |
| 1272 | # While the file is a series of variables they can't be sourced |
| 1273 | # by the shell since the values aren't quoted. |
| 1274 | elif grep -q CHROMEOS /etc/lsb-release; then |
| 1275 | distro='Chrome OS' |
| 1276 | |
| 1277 | elif type -p guix >/dev/null; then |
| 1278 | case $distro_shorthand in |
| 1279 | on|tiny) distro="Guix System" ;; |
| 1280 | *) distro="Guix System $(guix -V | awk 'NR==1{printf $4}')" |
| 1281 | esac |
| 1282 | |
| 1283 | # Display whether using '-current' or '-release' on OpenBSD. |
| 1284 | elif [[ $kernel_name = OpenBSD ]] ; then |
| 1285 | read -ra kernel_info <<< "$(sysctl -n kern.version)" |
| 1286 | distro=${kernel_info[*]:0:2} |
| 1287 | |
| 1288 | elif [[ -f /etc/VERSION ]]; then |
| 1289 | # Source the DSM VERSION file |
| 1290 | source /etc/VERSION |
| 1291 | distro="Synology DSM ${productversion}-${buildnumber} Update ${smallfixnumber}" |
| 1292 | |
| 1293 | elif compgen -G "/usr/bin/*peropesis*" > /dev/null; then |
| 1294 | distro="Peropesis" |
| 1295 | |
| 1296 | else |
| 1297 | for release_file in /etc/*-release; do |
| 1298 | distro+=$(< "$release_file") |
| 1299 | done |
| 1300 | |
| 1301 | if [[ -z $distro ]]; then |
| 1302 | case $distro_shorthand in |
| 1303 | on|tiny) distro=$kernel_name ;; |
| 1304 | *) distro="$kernel_name $kernel_version" ;; |
| 1305 | esac |
| 1306 | |
| 1307 | distro=${distro/DragonFly/DragonFlyBSD} |
| 1308 | |
| 1309 | # Workarounds for some BSD based distros. |
| 1310 | [[ -f /etc/os-release ]] && distro=Enso |
| 1311 | [[ -f /etc/pcbsd-lang ]] && distro=PCBSD |
| 1312 | [[ -f /etc/trueos-lang ]] && distro=TrueOS |
| 1313 | [[ -f /etc/pacbsd-release ]] && distro=PacBSD |
| 1314 | [[ -f /etc/hbsd-update.conf ]] && distro=HardenedBSD |
| 1315 | |
| 1316 | # /etc/pacbsd-release is an empty file |
| 1317 | [[ -f "/etc/pacbsd-release" ]] && distro="PacBSD" |
| 1318 | |
| 1319 | # For OPNsense |
| 1320 | if [[ -f "/usr/local/opnsense/version/opnsense" ]]; then |
| 1321 | case "$distro_shorthand" in |
| 1322 | "on" | "tiny") distro="OPNsense" ;; |
| 1323 | *) |
| 1324 | distro=$(<"/usr/local/opnsense/version/opnsense") |
| 1325 | distro="OPNsense ${distro%-*}" |
| 1326 | esac |
| 1327 | fi |
| 1328 | fi |
| 1329 | fi |
| 1330 | |
| 1331 | # Gets the windows tag caption (ie `Microsoft Windows 11 Pro Insider Preview`) |
| 1332 | # |
| 1333 | # Then removes the `Microsoft` and `Windows` part and gets the current |
| 1334 | # version of Windows (old code reported Windows 10 even if host runs Windows 11). |
| 1335 | # |
| 1336 | # Finally, we decline it in three versions : |
| 1337 | # |
| 1338 | # - The `on` version (ie `[Windows 11.0.25330]`) |
| 1339 | # - The `tiny` version (ie `Windows 11`) |
| 1340 | # - The `any` version (ie `on Windows 11 Pro Insider Preview`) |
| 1341 | if [[ $(< /proc/version) == *Microsoft* || $kernel_version == *Microsoft* ]]; then |
| 1342 | |
| 1343 | windows_version_verbose=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v ProductName | grep REG_) |
| 1344 | windows_version_verbose=$(trim "${windows_version_verbose/ProductName}") |
| 1345 | windows_version_verbose=$(trim "${windows_version_verbose/REG_SZ}") |
| 1346 | buildnumber=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v CurrentBuildNumber | grep REG_) |
| 1347 | windows_version_verbose=$(trim "${windows_version_verbose/Windows}") |
| 1348 | windows_buildnumber=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v CurrentBuildNumber | grep REG_) |
| 1349 | windows_buildnumber=${buildnumber/CurrentBuildNumber} |
| 1350 | windows_buildnumber=${buildnumber/REG_SZ} |
| 1351 | if [[ "$windows_version_verbose" == *"10"* ]] && (( windows_buildnumber >= 22000 )); then |
| 1352 | windows_version_verbose=${windows_version_verbose/10/11} |
| 1353 | fi |
| 1354 | |
| 1355 | windows_version_current=${windows_version_verbose//[^[:digit:]]/} |
| 1356 | |
| 1357 | windows_version_number_long=$(wmic.exe os get Version) |
| 1358 | windows_version_number_long=$(trim "${windows_version_number_long/Version}") |
| 1359 | windows_version_number_long=$(trim "${windows_version_number_long}") |
| 1360 | windows_version_number_long="${windows_version_current}${windows_version_number_long:2}" |
| 1361 | |
| 1362 | case $distro_shorthand in |
| 1363 | on) distro+=" [Windows $windows_version_number_long]" ;; |
| 1364 | tiny) distro=" Windows $windows_version_current" ;; |
| 1365 | *) distro+=" on Windows $windows_version_verbose" ;; |
| 1366 | esac |
| 1367 | |
| 1368 | # Chrome OS doesn't conform to the /etc/*-release standard. |
| 1369 | # While the file is a series of variables they can't be sourced |
| 1370 | # by the shell since the values aren't quoted. |
| 1371 | elif [[ -f /etc/lsb-release && $(< /etc/lsb-release) == *CHROMEOS* ]]; then |
| 1372 | distro='Chrome OS' |
| 1373 | |
| 1374 | elif [[ $(< /proc/version) == *chrome-bot* || -f /dev/cros_ec ]]; then |
| 1375 | # gets chrome os version from /etc/lsb-release. |
| 1376 | # totally not written by chatgpt :trolley: |
| 1377 | cros_version=$(grep -oE 'CHROMEOS_RELEASE_CHROME_MILESTONE=([0-9]+)' /etc/lsb-release | cut -d= -f2) |
| 1378 | [[ $distro != *Chrome* ]] && |
| 1379 | case $distro_shorthand in |
| 1380 | on) distro="Chrome OS $cros_version" ;; |
| 1381 | tiny) distro="Chrome OS" ;; |
| 1382 | *) distro="Chrome OS $cros_version $distro" ;; |
| 1383 | esac |
| 1384 | fi |
| 1385 | |
| 1386 | distro=$(trim_quotes "$distro") |
| 1387 | distro=${distro/NAME=} |
| 1388 | |
| 1389 | if [[ -f /usr/bin/system-image-cli ]]; then |
| 1390 | local ut_ota |
| 1391 | ut_ota=$(system-image-cli -i | awk '/version tag:/ { print $3 }'); |
| 1392 | distro="Ubuntu Touch $ut_ota"; |
| 1393 | |
| 1394 | # There's a weird UT bug where the HOSTNAME is set to android. |
| 1395 | HOSTNAME=$(hostname); |
| 1396 | fi |
| 1397 | |
| 1398 | # Get Ubuntu flavor. |
| 1399 | if [[ $distro == "Ubuntu"* ]]; then |
| 1400 | case $XDG_CONFIG_DIRS in |
| 1401 | *"studio"*) distro=${distro/Ubuntu/Ubuntu Studio} ;; |
| 1402 | *"kde"*) distro=${distro/Ubuntu/Kubuntu} ;; |
| 1403 | *"plasma"*) distro=${distro/Ubuntu/Kubuntu} ;; |
| 1404 | *"mate"*) distro=${distro/Ubuntu/Ubuntu MATE} ;; |
| 1405 | *"xubuntu"*) distro=${distro/Ubuntu/Xubuntu} ;; |
| 1406 | *"Lubuntu"*) distro=${distro/Ubuntu/Lubuntu} ;; |
| 1407 | *"budgie"*) distro=${distro/Ubuntu/Ubuntu Budgie} ;; |
| 1408 | *"cinnamon"*) distro=${distro/Ubuntu/Ubuntu Cinnamon} ;; |
| 1409 | *"ubuntusway"*) distro=${distro/Ubuntu/Ubuntu Sway} ;; |
| 1410 | *"ukui"*) distro=${distro/Ubuntu/Ubuntu Kylin} ;; |
| 1411 | esac |
| 1412 | if [[ -f /etc/floflis-release ]]; then |
| 1413 | distro="Floflis" |
| 1414 | fi |
| 1415 | fi |
| 1416 | |
| 1417 | # Get Fedora immutable spin. |
| 1418 | if [[ $distro == "Fedora"* ]]; then |
| 1419 | case $VARIANT in |
| 1420 | "CoreOS" | "Kinoite" | "Sericea" | "Silverblue") |
| 1421 | case $distro_shorthand in |
| 1422 | on) distro="Fedora $VARIANT $VERSION_ID" ;; |
| 1423 | tiny) distro="$VARIANT";; |
| 1424 | *) distro="Fedora $VARIANT $OSTREE_VERSION" ;; |
| 1425 | esac |
| 1426 | ;; |
| 1427 | esac |
| 1428 | fi |
| 1429 | ;; |
| 1430 | |
| 1431 | "Mac OS X"|"macOS") |
| 1432 | case $osx_version in |
| 1433 | 10.4*) codename="Mac OS X Tiger" ;; |
| 1434 | 10.5*) codename="Mac OS X Leopard" ;; |
| 1435 | 10.6*) codename="Mac OS X Snow Leopard" ;; |
| 1436 | 10.7*) codename="Mac OS X Lion" ;; |
| 1437 | 10.8*) codename="OS X Mountain Lion" ;; |
| 1438 | 10.9*) codename="OS X Mavericks" ;; |
| 1439 | 10.10*) codename="OS X Yosemite" ;; |
| 1440 | 10.11*) codename="OS X El Capitan" ;; |
| 1441 | 10.12*) codename="macOS Sierra" ;; |
| 1442 | 10.13*) codename="macOS High Sierra" ;; |
| 1443 | 10.14*) codename="macOS Mojave" ;; |
| 1444 | 10.15*) codename="macOS Catalina" ;; |
| 1445 | 10.16*) codename="macOS Big Sur" ;; |
| 1446 | 11.*) codename="macOS Big Sur" ;; |
| 1447 | 12.*) codename="macOS Monterey" ;; |
| 1448 | 13.*) codename="macOS Ventura" ;; |
| 1449 | 14.*) codename="macOS Sonoma" ;; |
| 1450 | *) codename="macOS" ;; |
| 1451 | esac |
| 1452 | |
| 1453 | distro="$codename $osx_version ($osx_build)" |
| 1454 | |
| 1455 | case $distro_shorthand in |
| 1456 | on) distro=${distro/ ${osx_build}} ;; |
| 1457 | |
| 1458 | tiny) |
| 1459 | case $osx_version in |
| 1460 | 10.[4-7]*) distro=${distro/${codename}/Mac OS X} ;; |
| 1461 | 10.[8-9]*|10.1[0-1]*) distro=${distro/${codename}/OS X} ;; |
| 1462 | 10.1[2-6]*|11.0*) distro=${distro/${codename}/macOS} ;; |
| 1463 | esac |
| 1464 | distro=${distro/ ${osx_build}} |
| 1465 | ;; |
| 1466 | esac |
| 1467 | ;; |
| 1468 | |
| 1469 | "iPhone OS") |
| 1470 | distro="iOS $osx_version" |
| 1471 | |
| 1472 | # "uname -m" doesn't print architecture on iOS. |
| 1473 | os_arch=off |
| 1474 | ;; |
| 1475 | |
| 1476 | Windows) |
| 1477 | distro=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v ProductName | grep REG_) |
| 1478 | distro=${distro/ProductName} |
| 1479 | distro=${distro/REG_SZ} |
| 1480 | buildnumber=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v CurrentBuildNumber | grep REG_) |
| 1481 | buildnumber=${buildnumber/CurrentBuildNumber} |
| 1482 | buildnumber=${buildnumber/REG_SZ} |
| 1483 | |
| 1484 | # If the value of "ProductName" obtained is Windows 10 and the value of "CurrentBuildNumber" is greater than 22000, then the actual operating system version is Windows 11. |
| 1485 | if [[ "$distro" == *"Windows 10"* ]] && (( buildnumber >= 22000 )); then |
| 1486 | distro=${distro/Windows 10/Windows 11} |
| 1487 | fi |
| 1488 | ;; |
| 1489 | |
| 1490 | Solaris|illumos) |
| 1491 | case $distro_shorthand in |
| 1492 | on|tiny) distro=$(awk 'NR==1 {print $1,$3}' /etc/release) ;; |
| 1493 | *) distro=$(awk 'NR==1 {print $1,$2,$3}' /etc/release) ;; |
| 1494 | esac |
| 1495 | distro=${distro/\(*} |
| 1496 | ;; |
| 1497 | |
| 1498 | Haiku) |
| 1499 | distro=Haiku |
| 1500 | ;; |
| 1501 | |
| 1502 | AIX) |
| 1503 | distro="AIX $(oslevel)" |
| 1504 | ;; |
| 1505 | |
| 1506 | IRIX) |
| 1507 | distro="IRIX ${kernel_version}" |
| 1508 | ;; |
| 1509 | |
| 1510 | FreeMiNT) |
| 1511 | distro=FreeMiNT |
| 1512 | ;; |
| 1513 | |
| 1514 | Interix) |
| 1515 | distro="Interix ${kernel_version}" |
| 1516 | ;; |
| 1517 | |
| 1518 | digitalUNIX) |
| 1519 | distro="digital UNIX ${kernel_version}" |
| 1520 | ;; |
| 1521 | esac |
| 1522 | |
| 1523 | distro=${distro//Enterprise Server} |
| 1524 | |
| 1525 | [[ $distro ]] || distro="$os (Unknown)" |
| 1526 | |
| 1527 | # Get OS architecture. |
| 1528 | case $os in |
| 1529 | Solaris|illumos|AIX|Haiku|IRIX|FreeMiNT|BSD|digitalUNIX) |
| 1530 | machine_arch=$(uname -p) |
| 1531 | ;; |
| 1532 | |
| 1533 | *) machine_arch=$kernel_machine ;; |
| 1534 | esac |
| 1535 | |
| 1536 | [[ $os_arch == on ]] && \ |
| 1537 | distro+=" $machine_arch" |
| 1538 | |
| 1539 | [[ ${ascii_distro:-auto} == auto ]] && \ |
| 1540 | ascii_distro=$(trim "$distro") |
| 1541 | } |
| 1542 | |
| 1543 | get_bios() { |
| 1544 | DMI="/sys/devices/virtual/dmi/id" |
| 1545 | |
| 1546 | # TODO: Add more platform support for bios detection |
| 1547 | case $os in |
| 1548 | Linux) |
| 1549 | if [[ -f "$DMI/bios_vendor" ]]; then |
| 1550 | bios="$(< $DMI/bios_vendor)" |
| 1551 | |
| 1552 | if [[ -f "$DMI/bios_release" ]]; then |
| 1553 | bios+=" $(< $DMI/bios_release)" |
| 1554 | fi |
| 1555 | |
| 1556 | if [[ -f "$DMI/bios_date" ]]; then |
| 1557 | bios+=" ($(< $DMI/bios_date))" |
| 1558 | fi |
| 1559 | fi |
| 1560 | ;; |
| 1561 | esac |
| 1562 | } |
| 1563 | |
| 1564 | get_model() { |
| 1565 | case $os in |
| 1566 | Linux) |
| 1567 | if [[ -d /android/system/ || -d /system/app/ ]]; then |
| 1568 | model="$(getprop ro.product.brand) $(getprop ro.product.model)" |
| 1569 | |
| 1570 | elif [[ -f /sys/devices/virtual/dmi/id/product_name || |
| 1571 | -f /sys/devices/virtual/dmi/id/product_version ]]; then |
| 1572 | model=$(< /sys/devices/virtual/dmi/id/product_name) |
| 1573 | model+=" $(< /sys/devices/virtual/dmi/id/product_version)" |
| 1574 | |
| 1575 | elif [[ -f /sys/devices/virtual/dmi/id/board_vendor || |
| 1576 | -f /sys/devices/virtual/dmi/id/board_name ]]; then |
| 1577 | model=$(< /sys/devices/virtual/dmi/id/board_vendor) |
| 1578 | model+=" $(< /sys/devices/virtual/dmi/id/board_name)" |
| 1579 | |
| 1580 | elif [[ -f /sys/firmware/devicetree/base/model ]]; then |
| 1581 | model=$(< /sys/firmware/devicetree/base/model) |
| 1582 | |
| 1583 | elif [[ -f /tmp/sysinfo/model ]]; then |
| 1584 | model=$(< /tmp/sysinfo/model) |
| 1585 | fi |
| 1586 | ;; |
| 1587 | |
| 1588 | "Mac OS X"|"macOS"|"ravynOS") |
| 1589 | if [ "$(arch)" != "arm64" ] && [[ $(kextstat | grep -F -e "FakeSMC" -e "VirtualSMC") != "" ]]; then |
| 1590 | model="Hackintosh (SMBIOS: $(sysctl -n hw.model))" |
| 1591 | else |
| 1592 | if [[ $osx_version == 10.[4-5]* ]]; then |
| 1593 | model="$(system_profiler SPHardwareDataType | grep Machine\ Name:)" |
| 1594 | model=${model/Machine\ Name\:/} |
| 1595 | |
| 1596 | model="$model ($(sysctl -n hw.model))" |
| 1597 | else |
| 1598 | model=$(sysctl -n hw.model) |
| 1599 | fi |
| 1600 | |
| 1601 | case $model in |
| 1602 | Mac14,15): "MacBook Air (15-inch, M2, 2023)" ;; |
| 1603 | Mac14,14): "Mac Studio (M2 Ultra, 2023)" ;; |
| 1604 | Mac14,13): "Mac Studio (M2 Max, 2023)" ;; |
| 1605 | Mac14,8): "Mac Pro (2023)" ;; |
| 1606 | Mac14,6 | Mac14,10): "MacBook Pro (16-inch, 2023)" ;; |
| 1607 | Mac14,5 | Mac14,9): "MacBook Pro (14-inch, 2023)" ;; |
| 1608 | Mac14,12 | Mac14,3): "Mac mini (2023)" ;; |
| 1609 | Mac14,7): "MacBook Pro (13-inch, M2, 2022)" ;; |
| 1610 | Mac14,2): "MacBook Air (M2, 2022)" ;; |
| 1611 | Mac13,1): "Mac Studio (M1 Max, 2022)" ;; |
| 1612 | Mac13,2): "Mac Studio (M1 Ultra, 2022)" ;; |
| 1613 | MacBookPro18,[3-4]): "MacBook Pro (14-inch, 2021)" ;; |
| 1614 | MacBookPro18,[1-2]): "MacBook Pro (16-inch, 2021)" ;; |
| 1615 | MacBookPro17,1): "MacBook Pro (13-inch, M1, 2020)" ;; |
| 1616 | MacBookPro16,4): "MacBook Pro (16-inch, 2019)" ;; |
| 1617 | MacBookPro16,3): "MacBook Pro (13-inch, 2020, Two Thunderbolt 3 ports)" ;; |
| 1618 | MacBookPro16,2): "MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)" ;; |
| 1619 | MacBookPro16,1): "MacBook Pro (16-inch, 2019)" ;; |
| 1620 | MacBookPro15,4): "MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports)" ;; |
| 1621 | MacBookPro15,3): "MacBook Pro (15-inch, 2019)" ;; |
| 1622 | MacBookPro15,2): "MacBook Pro (13-inch, 2018/2019, Four Thunderbolt 3 ports)" ;; |
| 1623 | MacBookPro15,1): "MacBook Pro (15-inch, 2018/2019)" ;; |
| 1624 | MacBookPro14,3): "MacBook Pro (15-inch, 2017)" ;; |
| 1625 | MacBookPro14,2): "MacBook Pro (13-inch, 2017, Four Thunderbolt 3 ports)" ;; |
| 1626 | MacBookPro14,1): "MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)" ;; |
| 1627 | MacBookPro13,3): "MacBook Pro (15-inch, 2016)" ;; |
| 1628 | MacBookPro13,2): "MacBook Pro (13-inch, 2016, Four Thunderbolt 3 ports)" ;; |
| 1629 | MacBookPro13,1): "MacBook Pro (13-inch, 2016, Two Thunderbolt 3 ports)" ;; |
| 1630 | MacBookPro12,1): "MacBook Pro (Retina, 13-inch, Early 2015)" ;; |
| 1631 | MacBookPro11,[4-5]): "MacBook Pro (Retina, 15-inch, Mid 2015)" ;; |
| 1632 | MacBookPro11,[2-3]): "MacBook Pro (Retina, 15-inch, Late 2013/Mid 2014)" ;; |
| 1633 | MacBookPro11,1): "MacBook Pro (Retina, 13-inch, Late 2013/Mid 2014)" ;; |
| 1634 | MacBookPro10,2): "MacBook Pro (Retina, 13-inch, Late 2012/Early 2013)" ;; |
| 1635 | MacBookPro10,1): "MacBook Pro (Retina, 15-inch, Mid 2012/Early 2013)" ;; |
| 1636 | MacBookPro9,2): "MacBook Pro (13-inch, Mid 2012)" ;; |
| 1637 | MacBookPro9,1): "MacBook Pro (15-inch, Mid 2012)" ;; |
| 1638 | MacBookPro8,3): "MacBook Pro (17-inch, 2011)" ;; |
| 1639 | MacBookPro8,2): "MacBook Pro (15-inch, 2011)" ;; |
| 1640 | MacBookPro8,1): "MacBook Pro (13-inch, 2011)" ;; |
| 1641 | MacBookPro7,1): "MacBook Pro (13-inch, Mid 2010)" ;; |
| 1642 | MacBookPro6,2): "MacBook Pro (15-inch, Mid 2010)" ;; |
| 1643 | MacBookPro6,1): "MacBook Pro (17-inch, Mid 2010)" ;; |
| 1644 | MacBookPro5,5): "MacBook Pro (13-inch, Mid 2009)" ;; |
| 1645 | MacBookPro5,3): "MacBook Pro (15-inch, Mid 2009)" ;; |
| 1646 | MacBookPro5,2): "MacBook Pro (17-inch, Mid/Early 2009)" ;; |
| 1647 | MacBookPro5,1): "MacBook Pro (15-inch, Late 2008)" ;; |
| 1648 | MacBookPro4,1): "MacBook Pro (17/15-inch, Early 2008)" ;; |
| 1649 | MacBookAir10,1): "MacBook Air (M1, 2020)" ;; |
| 1650 | MacBookAir9,1): "MacBook Air (Retina, 13-inch, 2020)" ;; |
| 1651 | MacBookAir8,2): "MacBook Air (Retina, 13-inch, 2019)" ;; |
| 1652 | MacBookAir8,1): "MacBook Air (Retina, 13-inch, 2018)" ;; |
| 1653 | MacBookAir7,2): "MacBook Air (13-inch, Early 2015/2017)" ;; |
| 1654 | MacBookAir7,1): "MacBook Air (11-inch, Early 2015)" ;; |
| 1655 | MacBookAir6,2): "MacBook Air (13-inch, Mid 2013/Early 2014)" ;; |
| 1656 | MacBookAir6,1): "MacBook Air (11-inch, Mid 2013/Early 2014)" ;; |
| 1657 | MacBookAir5,2): "MacBook Air (13-inch, Mid 2012)" ;; |
| 1658 | MacBookAir5,1): "MacBook Air (11-inch, Mid 2012)" ;; |
| 1659 | MacBookAir4,2): "MacBook Air (13-inch, Mid 2011)" ;; |
| 1660 | MacBookAir4,1): "MacBook Air (11-inch, Mid 2011)" ;; |
| 1661 | MacBookAir3,2): "MacBook Air (13-inch, Late 2010)" ;; |
| 1662 | MacBookAir3,1): "MacBook Air (11-inch, Late 2010)" ;; |
| 1663 | MacBookAir2,1): "MacBook Air (Mid 2009)" ;; |
| 1664 | MacBook10,1): "MacBook (Retina, 12-inch, 2017)" ;; |
| 1665 | MacBook9,1): "MacBook (Retina, 12-inch, Early 2016)" ;; |
| 1666 | MacBook8,1): "MacBook (Retina, 12-inch, Early 2015)" ;; |
| 1667 | MacBook7,1): "MacBook (13-inch, Mid 2010)" ;; |
| 1668 | MacBook6,1): "MacBook (13-inch, Late 2009)" ;; |
| 1669 | MacBook5,2): "MacBook (13-inch, Early/Mid 2009)" ;; |
| 1670 | Macmini9,1): "Mac mini (M1, 2020)" ;; |
| 1671 | Macmini8,1): "Mac mini (2018)" ;; |
| 1672 | Macmini7,1): "Mac mini (Mid 2014)" ;; |
| 1673 | Macmini6,[1-2]): "Mac mini (Late 2012)" ;; |
| 1674 | Macmini5,[1-2]): "Mac mini (Mid 2011)" ;; |
| 1675 | Macmini4,1): "MacPromini (Mid 2010)" ;; |
| 1676 | Macmini3,1): "Mac mini (Early/Late 2009)" ;; |
| 1677 | MacPro7,1): "Mac Pro (2019)" ;; |
| 1678 | MacPro6,1): "Mac Pro (Late 2013)" ;; |
| 1679 | MacPro5,1): "Mac Pro (Mid 2010 - Mid 2012)" ;; |
| 1680 | MacPro4,1): "Mac Pro (Early 2009)" ;; |
| 1681 | iMac21,[1-2]): "iMac (24-inch, M1, 2021)" ;; |
| 1682 | iMac20,[1-2]): "iMac (Retina 5K, 27-inch, 2020)" ;; |
| 1683 | iMac19,[1-2]): "iMac (Retina 4K, 21.5-inch, 2019)" ;; |
| 1684 | iMacPro1,1): "iMac Pro (2017)" ;; |
| 1685 | iMac18,3): "iMac (Retina 5K, 27-inch, 2017)" ;; |
| 1686 | iMac18,2): "iMac (Retina 4K, 21.5-inch, 2017)" ;; |
| 1687 | iMac18,1): "iMac (21.5-inch, 2017)" ;; |
| 1688 | iMac17,1): "iMac (Retina 5K, 27-inch, Late 2015)" ;; |
| 1689 | iMac16,2): "iMac (Retina 4K, 21.5-inch, Late 2015)" ;; |
| 1690 | iMac16,1): "iMac (21.5-inch, Late 2015)" ;; |
| 1691 | iMac15,1): "iMac (Retina 5K, 27-inch, Late 2014 - Mid 2015)" ;; |
| 1692 | iMac14,4): "iMac (21.5-inch, Mid 2014)" ;; |
| 1693 | iMac14,2): "iMac (27-inch, Late 2013)" ;; |
| 1694 | iMac14,1): "iMac (21.5-inch, Late 2013)" ;; |
| 1695 | iMac13,2): "iMac (27-inch, Late 2012)" ;; |
| 1696 | iMac13,1): "iMac (21.5-inch, Late 2012)" ;; |
| 1697 | iMac12,2): "iMac (27-inch, Mid 2011)" ;; |
| 1698 | iMac12,1): "iMac (21.5-inch, Mid 2011)" ;; |
| 1699 | iMac11,3): "iMac (27-inch, Mid 2010)" ;; |
| 1700 | iMac11,2): "iMac (21.5-inch, Mid 2010)" ;; |
| 1701 | iMac10,1): "iMac (27/21.5-inch, Late 2009)" ;; |
| 1702 | iMac9,1): "iMac (24/20-inch, Early 2009)" ;; |
| 1703 | PowerMac12,1): "iMac G5 (20/17-inch, iSight)" ;; |
| 1704 | PowerMac11,2): "Power Macintosh G5" ;; |
| 1705 | PowerMac8,2): "iMac G5 (20/17-inch, ALS)" ;; |
| 1706 | PowerMac8,1): "iMac G5 (20/17-inch)" ;; |
| 1707 | PowerMac7,[2-3]): "Power Macintosh G5 (PCI/PCI-X)" ;; |
| 1708 | PowerMac6,4): "eMac G4" ;; |
| 1709 | PowerMac6,3): "iMac G4 (20/17/15-inch, USB 2.0)" ;; |
| 1710 | PowerMac6,1): "iMac G4 (17-inch, Flat Panel)" ;; |
| 1711 | PowerMac5,1): "Power Macintosh G4 Cube" ;; |
| 1712 | PowerMac4,5): "iMac G4 (17-inch, Flat Panel)" ;; |
| 1713 | PowerMac4,4): "eMac G4" ;; |
| 1714 | PowerMac4,1): "iMac G3" ;; |
| 1715 | PowerMac3,6): "Power Macintosh G4 (MDD/FW800)" ;; |
| 1716 | PowerMac3,5): "Power Macintosh G4 (Quicksilver)" ;; |
| 1717 | PowerMac3,4): "Power Macintosh G4 (Digital Audio)" ;; |
| 1718 | PowerMac3,3): "Power Macintosh G4 (Gigabit)" ;; |
| 1719 | PowerMac3,1): "Power Macintosh G4 (AGP)" ;; |
| 1720 | PowerBook6,8 | PowerBook6,4 | PowerBook6,1): "PowerBook G4 (17/15/12-inch, Al)" ;; |
| 1721 | PowerBook6,7 | PowerBook6,5 | PowerBook6,3): "iBook G4 (14/12-inch)" ;; |
| 1722 | PowerBook6,2): "PowerBook G4 (12-inch, DVI - Al)" ;; |
| 1723 | PowerBook5,[8-9]): "PowerBook G4 (17/15-inch, DLSD/HR - Al)" ;; |
| 1724 | PowerBook5,[3-7] | PowerBook5,1): "PowerBook G4 (17/15/12-inch, Al)" ;; |
| 1725 | PowerBook5,2): "PowerBook G4 (15-inch, FW800 - Al)" ;; |
| 1726 | PowerBook4,[1-3]): "iBook G3" ;; |
| 1727 | PowerBook3,5): "PowerBook G4 (Ti)" ;; |
| 1728 | PowerBook3,4): "PowerBook G4 (DVI - Ti)" ;; |
| 1729 | PowerBook3,3): "PowerBook G4 (Gigabit - Ti)" ;; |
| 1730 | PowerBook3,2): "PowerBook G4 (Original - Ti)" ;; |
| 1731 | *): "$model" ;; |
| 1732 | esac |
| 1733 | |
| 1734 | model=$_ |
| 1735 | fi |
| 1736 | ;; |
| 1737 | |
| 1738 | "iPhone OS") |
| 1739 | case $kernel_machine in |
| 1740 | iPad1,1): "iPad" ;; |
| 1741 | iPad1,2): "iPad 3G" ;; |
| 1742 | iPad2,[1-4]): "iPad 2" ;; |
| 1743 | iPad3,[1-3]): "iPad 3" ;; |
| 1744 | iPad3,[4-6]): "iPad 4" ;; |
| 1745 | iPad6,1[1-2]): "iPad 5" ;; |
| 1746 | iPad7,[5-6]): "iPad 6" ;; |
| 1747 | iPad7,1[1-2]): "iPad 7" ;; |
| 1748 | iPad11,[6-7]): "iPad 8" ;; |
| 1749 | iPad12,[1-2]): "iPad 9" ;; |
| 1750 | iPad13,1[8-9]): "iPad 10" ;; |
| 1751 | iPad4,[1-3]): "iPad Air" ;; |
| 1752 | iPad5,[3-4]): "iPad Air 2" ;; |
| 1753 | iPad11,[3-4]): "iPad Air 3" ;; |
| 1754 | iPad13,[1-2]): "iPad Air 4" ;; |
| 1755 | iPad13,1[6-7]): "iPad Air 5" ;; |
| 1756 | iPad6,[7-8]): "iPad Pro 12.9-inch" ;; |
| 1757 | iPad6,[3-4]): "iPad Pro 9.7-inch" ;; |
| 1758 | iPad7,[1-2]): "iPad Pro 12.9-inch (2nd generation)" ;; |
| 1759 | iPad7,[3-4]): "iPad Pro 10.5-inch" ;; |
| 1760 | iPad8,[1-4]): "iPad Pro 11-inch" ;; |
| 1761 | iPad8,[5-8]): "iPad Pro 12.9-inch (3rd generation)" ;; |
| 1762 | iPad8,9 | iPad8,10): "iPad Pro 11-inch (2nd generation)" ;; |
| 1763 | iPad8,1[1-2]): "iPad Pro 12.9-inch (4th generation)" ;; |
| 1764 | iPad13,[4-7]): "iPad Pro 11-inch (3rd generation)" ;; |
| 1765 | iPad13,[8-9]): "iPad Pro 12.9-inch (5th generation)" ;; |
| 1766 | iPad13,1[0-1]): "iPad Pro 12.9-inch (5th generation)" ;; |
| 1767 | iPad14,[3-4]): "iPad Pro 11-inch (4th generation)" ;; |
| 1768 | iPad14,[5-6]): "iPad Pro 12.9-inch (6th generation)" ;; |
| 1769 | iPad2,[5-7]): "iPad mini" ;; |
| 1770 | iPad4,[4-6]): "iPad mini 2" ;; |
| 1771 | iPad4,[7-9]): "iPad mini 3" ;; |
| 1772 | iPad5,[1-2]): "iPad mini 4" ;; |
| 1773 | iPad11,[1-2]): "iPad mini 5" ;; |
| 1774 | iPad14,[1-2]): "iPad mini 6" ;; |
| 1775 | |
| 1776 | iPhone1,1): "iPhone" ;; |
| 1777 | iPhone1,2): "iPhone 3G" ;; |
| 1778 | iPhone2,1): "iPhone 3GS" ;; |
| 1779 | iPhone3,[1-3]): "iPhone 4" ;; |
| 1780 | iPhone4,1): "iPhone 4S" ;; |
| 1781 | iPhone5,[1-2]): "iPhone 5" ;; |
| 1782 | iPhone5,[3-4]): "iPhone 5c" ;; |
| 1783 | iPhone6,[1-2]): "iPhone 5s" ;; |
| 1784 | iPhone7,2): "iPhone 6" ;; |
| 1785 | iPhone7,1): "iPhone 6 Plus" ;; |
| 1786 | iPhone8,1): "iPhone 6s" ;; |
| 1787 | iPhone8,2): "iPhone 6s Plus" ;; |
| 1788 | iPhone8,4): "iPhone SE" ;; |
| 1789 | iPhone9,[13]): "iPhone 7" ;; |
| 1790 | iPhone9,[24]): "iPhone 7 Plus" ;; |
| 1791 | iPhone10,[14]): "iPhone 8" ;; |
| 1792 | iPhone10,[25]): "iPhone 8 Plus" ;; |
| 1793 | iPhone10,[36]): "iPhone X" ;; |
| 1794 | iPhone11,2): "iPhone XS" ;; |
| 1795 | iPhone11,[46]): "iPhone XS Max" ;; |
| 1796 | iPhone11,8): "iPhone XR" ;; |
| 1797 | iPhone12,1): "iPhone 11" ;; |
| 1798 | iPhone12,3): "iPhone 11 Pro" ;; |
| 1799 | iPhone12,5): "iPhone 11 Pro Max" ;; |
| 1800 | iPhone12,8): "iPhone SE 2020" ;; |
| 1801 | iPhone13,1): "iPhone 12 Mini" ;; |
| 1802 | iPhone13,2): "iPhone 12" ;; |
| 1803 | iPhone13,3): "iPhone 12 Pro" ;; |
| 1804 | iPhone13,4): "iPhone 12 Pro Max" ;; |
| 1805 | iPhone14,2): "iPhone 13 Pro" ;; |
| 1806 | iPhone14,3): "iPhone 13 Pro Max" ;; |
| 1807 | iPhone14,4): "iPhone 13 Mini" ;; |
| 1808 | iPhone14,5): "iPhone 13" ;; |
| 1809 | iPhone14,6): "iPhone SE 2022" ;; |
| 1810 | iPhone14,7): "iPhone 14" ;; |
| 1811 | iPhone14,8): "iPhone 14 Plus" ;; |
| 1812 | iPhone15,2): "iPhone 14 Pro" ;; |
| 1813 | iPhone15,3): "iPhone 14 Pro Max" ;; |
| 1814 | |
| 1815 | iPod1,1): "iPod touch" ;; |
| 1816 | iPod2,1): "iPod touch 2G" ;; |
| 1817 | iPod3,1): "iPod touch 3G" ;; |
| 1818 | iPod4,1): "iPod touch 4G" ;; |
| 1819 | iPod5,1): "iPod touch 5G" ;; |
| 1820 | iPod7,1): "iPod touch 6G" ;; |
| 1821 | iPod9,1): "iPod touch 7G" ;; |
| 1822 | esac |
| 1823 | |
| 1824 | model=$_ |
| 1825 | ;; |
| 1826 | |
| 1827 | BSD|MINIX) |
| 1828 | if [[ $kernel_name = "FreeBSD" ]]; then |
| 1829 | model=$(kenv smbios.system.version) |
| 1830 | else |
| 1831 | model=$(sysctl -n hw.vendor hw.product) |
| 1832 | fi |
| 1833 | ;; |
| 1834 | |
| 1835 | Windows) |
| 1836 | model=$(wmic computersystem get manufacturer,model) |
| 1837 | model=${model/Manufacturer} |
| 1838 | model=${model/Model} |
| 1839 | ;; |
| 1840 | |
| 1841 | Solaris|illumos) |
| 1842 | model=$(prtconf -b | awk -F':' '/banner-name/ {printf $2}') |
| 1843 | if virt=$(/usr/bin/uname -V) && [[ "$virt" != "non-virtualized" ]]; then |
| 1844 | model="${model:-$(uname -i)} (${virt})" |
| 1845 | fi |
| 1846 | ;; |
| 1847 | |
| 1848 | AIX) |
| 1849 | model=$(/usr/bin/uname -M) |
| 1850 | ;; |
| 1851 | |
| 1852 | FreeMiNT) |
| 1853 | model=$(sysctl -n hw.model) |
| 1854 | model=${model/ (_MCH *)} |
| 1855 | ;; |
| 1856 | |
| 1857 | Interix) |
| 1858 | model="$(/dev/fs/C/Windows/System32/wbem/WMIC.exe computersystem get manufacturer,model)" |
| 1859 | model="${model/Manufacturer}" |
| 1860 | model="${model/Model}" |
| 1861 | ;; |
| 1862 | esac |
| 1863 | |
| 1864 | # Remove dummy OEM info. |
| 1865 | model=${model//To be filled by O.E.M.} |
| 1866 | model=${model//To Be Filled*} |
| 1867 | model=${model//OEM*} |
| 1868 | model=${model//Not Applicable} |
| 1869 | model=${model//System Product Name} |
| 1870 | model=${model//System Version} |
| 1871 | model=${model//Undefined} |
| 1872 | model=${model//Default string} |
| 1873 | model=${model//Not Specified} |
| 1874 | model=${model//Type1ProductConfigId} |
| 1875 | model=${model//INVALID} |
| 1876 | model=${model//All Series} |
| 1877 | model=${model//�} |
| 1878 | |
| 1879 | case $model in |
| 1880 | "Standard PC"*) model="KVM/QEMU (${model})" ;; |
| 1881 | OpenBSD*) model="vmm ($model)" ;; |
| 1882 | esac |
| 1883 | } |
| 1884 | |
| 1885 | get_title() { |
| 1886 | user=${USER:-$(id -un || printf %s "${HOME/*\/}")} |
| 1887 | |
| 1888 | case $title_fqdn in |
| 1889 | on) |
| 1890 | case $os in |
| 1891 | illumos|Solaris) |
| 1892 | hostname=$(hostname) |
| 1893 | domainname=$(domainname) |
| 1894 | [[ -n "$domainname" ]] && hostname+=".$domainname" |
| 1895 | ;; |
| 1896 | *) |
| 1897 | hostname=$(hostname -f) |
| 1898 | ;; |
| 1899 | esac |
| 1900 | ;; |
| 1901 | *) |
| 1902 | hostname=${HOSTNAME:-$(hostname)} |
| 1903 | hostname=${hostname%%.*} |
| 1904 | ;; |
| 1905 | esac |
| 1906 | |
| 1907 | title=${title_color}${bold}${user}${at_color}@${title_color}${bold}${hostname} |
| 1908 | length=$((${#user} + ${#hostname} + 1)) |
| 1909 | } |
| 1910 | |
| 1911 | get_kernel() { |
| 1912 | # Since these OS are integrated systems, it's better to skip this function altogether |
| 1913 | [[ $os =~ (AIX|IRIX) ]] && return |
| 1914 | |
| 1915 | # Haiku uses 'uname -v' and not - 'uname -r'. |
| 1916 | [[ $os == Haiku ]] && { |
| 1917 | kernel=$(uname -v) |
| 1918 | return |
| 1919 | } |
| 1920 | |
| 1921 | # In Windows 'uname' may return the info of GNUenv thus use wmic for OS kernel. |
| 1922 | [[ $os == Windows ]] && { |
| 1923 | kernel=$(wmic os get Version) |
| 1924 | kernel=${kernel/Version} |
| 1925 | return |
| 1926 | } |
| 1927 | |
| 1928 | [[ $os == Solaris ]] && { |
| 1929 | ver=$(uname -v) |
| 1930 | case $ver in |
| 1931 | 11.[0123]) ;; |
| 1932 | *) kernel=${ver} ;; |
| 1933 | esac |
| 1934 | return |
| 1935 | } |
| 1936 | |
| 1937 | # In Interix the Kernel version is commonly comprised of the host OS build number, |
| 1938 | # OS architecture and Interix build number |
| 1939 | [[ $os == Interix ]] && { |
| 1940 | kernel="$(uname -r) $(uname -m) $(uname -v)" |
| 1941 | return |
| 1942 | } |
| 1943 | |
| 1944 | case $kernel_shorthand in |
| 1945 | on) kernel=$kernel_version ;; |
| 1946 | off) kernel="$kernel_name $kernel_version" ;; |
| 1947 | esac |
| 1948 | |
| 1949 | # Hide kernel info if it's identical to the distro info. |
| 1950 | [[ $os =~ (BSD|MINIX) && $distro == *"$kernel_name"* ]] && |
| 1951 | case $distro_shorthand in |
| 1952 | on|tiny) kernel=$kernel_version ;; |
| 1953 | *) unset kernel ;; |
| 1954 | esac |
| 1955 | } |
| 1956 | |
| 1957 | get_uptime() { |
| 1958 | # Get uptime in seconds. |
| 1959 | case $os in |
| 1960 | Ironclad) |
| 1961 | s=$(uptime -s) |
| 1962 | ;; |
| 1963 | Linux|Windows|MINIX) |
| 1964 | if [[ -r /proc/uptime ]]; then |
| 1965 | s=$(< /proc/uptime) |
| 1966 | s=${s/.*} |
| 1967 | else |
| 1968 | boot=$(date -d"$(uptime -s)" +%s) |
| 1969 | now=$(date +%s) |
| 1970 | s=$((now - boot)) |
| 1971 | fi |
| 1972 | ;; |
| 1973 | |
| 1974 | "Mac OS X"|"macOS"|"ravynOS"|"iPhone OS"|BSD|FreeMiNT) |
| 1975 | boot=$(sysctl -n kern.boottime) |
| 1976 | boot=${boot/\{ sec = } |
| 1977 | boot=${boot/,*} |
| 1978 | |
| 1979 | # Get current date in seconds. |
| 1980 | now=$(date +%s) |
| 1981 | s=$((now - boot)) |
| 1982 | ;; |
| 1983 | |
| 1984 | Solaris|illumos) |
| 1985 | boot=$(kstat -p unix:0:system_misc:boot_time | awk '{print $2}') |
| 1986 | now=$(date +%s) |
| 1987 | |
| 1988 | s=$((now - boot)) |
| 1989 | ;; |
| 1990 | |
| 1991 | AIX|IRIX) |
| 1992 | t=$(LC_ALL=POSIX ps -o etime= -p 1) |
| 1993 | |
| 1994 | [[ $t == *-* ]] && { d=${t%%-*}; t=${t#*-}; } |
| 1995 | [[ $t == *:*:* ]] && { h=${t%%:*}; t=${t#*:}; } |
| 1996 | |
| 1997 | h=${h#0} |
| 1998 | t=${t#0} |
| 1999 | |
| 2000 | s=$((${d:-0}*86400 + ${h:-0}*3600 + ${t%%:*}*60 + ${t#*:})) |
| 2001 | ;; |
| 2002 | |
| 2003 | Interix) |
| 2004 | t="$(LC_ALL=POSIX ps -o etime= -p 0)" |
| 2005 | t="${t%%.*}" |
| 2006 | |
| 2007 | [[ $t == *-* ]] && { d=${t%%-*}; t=${t#*-}; } |
| 2008 | [[ $t == *:*:* ]] && { h=${t%%:*}; t=${t#*:}; } |
| 2009 | |
| 2010 | h="${h#0}" |
| 2011 | t="${t#0}" |
| 2012 | |
| 2013 | s="$((${d:-0}*86400 + ${h:-0}*3600 + ${t%%:*}*60 + ${t#*:}))" |
| 2014 | ;; |
| 2015 | |
| 2016 | Haiku) |
| 2017 | s=$(($(system_time) / 1000000)) |
| 2018 | ;; |
| 2019 | esac |
| 2020 | |
| 2021 | d="$((s / 60 / 60 / 24)) days" |
| 2022 | h="$((s / 60 / 60 % 24)) hours" |
| 2023 | m="$((s / 60 % 60)) minutes" |
| 2024 | |
| 2025 | # Remove plural if < 2. |
| 2026 | ((${d/ *} == 1)) && d=${d/s} |
| 2027 | ((${h/ *} == 1)) && h=${h/s} |
| 2028 | ((${m/ *} == 1)) && m=${m/s} |
| 2029 | |
| 2030 | # Hide empty fields. |
| 2031 | ((${d/ *} == 0)) && unset d |
| 2032 | ((${h/ *} == 0)) && unset h |
| 2033 | ((${m/ *} == 0)) && unset m |
| 2034 | |
| 2035 | # Add "(!)" if more than 100 days |
| 2036 | ((${d/ *} > 100)) && d="${d}(!)" |
| 2037 | |
| 2038 | uptime=${d:+$d, }${h:+$h, }$m |
| 2039 | uptime=${uptime%', '} |
| 2040 | uptime=${uptime:-$s seconds} |
| 2041 | |
| 2042 | # Make the output of uptime smaller. |
| 2043 | case $uptime_shorthand in |
| 2044 | on) |
| 2045 | uptime=${uptime/ minutes/ mins} |
| 2046 | uptime=${uptime/ minute/ min} |
| 2047 | uptime=${uptime/ seconds/ secs} |
| 2048 | ;; |
| 2049 | |
| 2050 | tiny) |
| 2051 | uptime=${uptime/ days/d} |
| 2052 | uptime=${uptime/ day/d} |
| 2053 | uptime=${uptime/ hours/h} |
| 2054 | uptime=${uptime/ hour/h} |
| 2055 | uptime=${uptime/ minutes/m} |
| 2056 | uptime=${uptime/ minute/m} |
| 2057 | uptime=${uptime/ seconds/s} |
| 2058 | uptime=${uptime//,} |
| 2059 | ;; |
| 2060 | esac |
| 2061 | } |
| 2062 | |
| 2063 | get_packages() { |
| 2064 | # to adjust the number of pkgs per pkg manager |
| 2065 | pkgs_h=0 |
| 2066 | |
| 2067 | # has: Check if package manager installed. |
| 2068 | # dir: Count files or dirs in a glob. |
| 2069 | # pac: If packages > 0, log package manager name. |
| 2070 | # tot: Count lines in command output. |
| 2071 | has() { type -p "$1" >/dev/null && manager=$1; } |
| 2072 | # globbing is intentional here |
| 2073 | # shellcheck disable=SC2206 |
| 2074 | dir() { pkgs=($@); [[ ! -e ${pkgs[0]} ]] && return; ((packages+=${#pkgs[@]})); pac "$((${#pkgs[@]}-pkgs_h))"; } |
| 2075 | pac() { (($1 > 0)) && { managers+=("$1 (${manager})"); manager_string+="${manager}, "; }; } |
| 2076 | tot() { |
| 2077 | IFS=$'\n' read -d "" -ra pkgs <<< "$("$@")"; |
| 2078 | ((packages+=${#pkgs[@]})); |
| 2079 | pac "$((${#pkgs[@]}-pkgs_h))"; |
| 2080 | } |
| 2081 | # Similar with tot but do nothing if the command fails |
| 2082 | tot-safe() { |
| 2083 | if pkgs="$("$@")"; then |
| 2084 | pkgs=$(echo "$pkgs" | wc -l) |
| 2085 | ((packages+=pkgs)) |
| 2086 | pac "$((pkgs-pkgs_h))"; |
| 2087 | fi |
| 2088 | } |
| 2089 | |
| 2090 | # Redefine tot() and dir() for Bedrock Linux. |
| 2091 | [[ -f /bedrock/etc/bedrock-release && $PATH == */bedrock/cross/* ]] && { |
| 2092 | br_strata=$(brl list) |
| 2093 | tot() { |
| 2094 | IFS=$'\n' read -d "" -ra pkgs <<< "$(for s in ${br_strata}; do strat -r "$s" "$@"; done)" |
| 2095 | ((packages+="${#pkgs[@]}")) |
| 2096 | pac "$((${#pkgs[@]}-pkgs_h))"; |
| 2097 | } |
| 2098 | dir() { |
| 2099 | local pkgs=() |
| 2100 | # globbing is intentional here |
| 2101 | # shellcheck disable=SC2206 |
| 2102 | for s in ${br_strata}; do pkgs+=(/bedrock/strata/$s/$@); done |
| 2103 | ((packages+=${#pkgs[@]})) |
| 2104 | pac "$((${#pkgs[@]}-pkgs_h))" |
| 2105 | } |
| 2106 | } |
| 2107 | |
| 2108 | # Programming language package managers. |
| 2109 | if [[ -z "$package_minimal" ]]; then |
| 2110 | has pipx && tot pipx list --short |
| 2111 | has pip && tot pip freeze |
| 2112 | has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs" |
| 2113 | |
| 2114 | # Special case for npm: If has npm, we should list folders under node_modules instead of using npm list. |
| 2115 | # This is because npm list is very slow (2s) |
| 2116 | if has npm; then |
| 2117 | # Try to apply heuristics to find the global directory. |
| 2118 | if [[ -d /usr/lib/node_modules ]]; then |
| 2119 | dir /usr/lib/node_modules/*/ |
| 2120 | elif [[ -d /usr/local/lib/node_modules ]]; then |
| 2121 | dir /usr/local/lib/node_modules/*/ |
| 2122 | else |
| 2123 | # If neither exist, use npm root -g to get the global directory. |
| 2124 | # (still ~10x faster than npm list) |
| 2125 | npm_global="$(npm root -g)" |
| 2126 | [[ -d "$npm_global" ]] && dir "$npm_global"/*/ |
| 2127 | |
| 2128 | # This may not work in WSL2 (if npm is installed on Windows, not WSL). |
| 2129 | # However, if npm is not installed on this WSL subsystem, it doesn't really count |
| 2130 | # as a package manager for this subsystem, so let's ignore this case. |
| 2131 | fi |
| 2132 | fi |
| 2133 | |
| 2134 | # Relatively the same for pnpm |
| 2135 | if has pnpm; then |
| 2136 | # Try to apply heuristics to find the global directory. |
| 2137 | PNPM_P="local/share/pnpm/global/5/node_modules" |
| 2138 | if [[ -d "$HOME/.$PNPM_P" ]]; then |
| 2139 | dir "$HOME/.$PNPM_P"/*/ |
| 2140 | elif [[ -d "/usr/$PNPM_P" ]]; then |
| 2141 | dir "/usr/$PNPM"/*/ |
| 2142 | else |
| 2143 | # If neither exist, use pnpm root -g to get the global directory. |
| 2144 | pnpm_global="$(pnpm root -g)" |
| 2145 | [[ -d "$pnpm_global" ]] && dir "$pnpm_global"/*/ |
| 2146 | fi |
| 2147 | fi |
| 2148 | fi |
| 2149 | |
| 2150 | if has pkgx && [[ -d "$HOME/.local/bin" ]]; then |
| 2151 | # https://github.com/pkgxdev/pkgx/issues/985#issuecomment-2080999008 |
| 2152 | _pkgxpkgs="$(grep -rIhoP 'exec pkgx \+\K[^ ]+' "$HOME/.local/bin" | sort -u)" |
| 2153 | tot echo "$_pkgxpkgs" |
| 2154 | unset _pkgxpkgs |
| 2155 | fi |
| 2156 | |
| 2157 | # OS-specific package managers. |
| 2158 | case $os in |
| 2159 | Linux|BSD|"iPhone OS"|Solaris|illumos|Interix) |
| 2160 | # Package Manager Programs. |
| 2161 | has kiss && tot kiss l |
| 2162 | has cpt-list && tot cpt-list |
| 2163 | has pacman-key && tot pacman -Qq --color never |
| 2164 | has click && tot click list |
| 2165 | has dpkg && tot dpkg-query -f '.\n' -W |
| 2166 | has xbps-query && tot xbps-query -l |
| 2167 | has apk && tot apk info |
| 2168 | has opkg && tot opkg list-installed |
| 2169 | has pacman-g2 && tot pacman-g2 -Q |
| 2170 | has lvu && tot lvu installed |
| 2171 | has tce-status && tot tce-status -i |
| 2172 | has pkg_info && tot pkg_info |
| 2173 | has pkgin && tot pkgin list |
| 2174 | has tazpkg && pkgs_h=6 tot tazpkg list && ((packages-=6)) |
| 2175 | has sorcery && tot gaze installed |
| 2176 | has alps && tot alps showinstalled |
| 2177 | has butch && tot butch list |
| 2178 | has swupd && tot swupd bundle-list --quiet |
| 2179 | has pisi && tot pisi li |
| 2180 | has pacstall && tot pacstall -L |
| 2181 | has bulge && tot bulge list |
| 2182 | has pm && tot-safe pm list packages |
| 2183 | has evox && tot cat /var/evox/packages/DB |
| 2184 | has squirrel && tot ls -w 1 /var/packages |
| 2185 | has anise && tot anise s --installed |
| 2186 | has am && pac "$(am -f --less)" |
| 2187 | # Bonsai refers to the now archived repo https://github.com/mitchweaver/bonsai |
| 2188 | has bonsai && tot bonsai list |
| 2189 | # Rad refers to https://github.com/glaucuslinux/rad |
| 2190 | has rad && tot rad -cl |
| 2191 | # Rad was previously called 'Radula', some systems may still have the old name. |
| 2192 | has radula && tot radula -cl |
| 2193 | # https://github.com/birb-linux/birb |
| 2194 | has birb && tot birb --list-installed |
| 2195 | |
| 2196 | has port && pkgs_h=1 tot port installed && ((packages-=1)) |
| 2197 | |
| 2198 | # Using the dnf package cache is much faster than rpm. |
| 2199 | if has dnf && type -p sqlite3 >/dev/null && [[ -f /var/cache/dnf/packages.db ]]; then |
| 2200 | pac "$(sqlite3 /var/cache/dnf/packages.db "SELECT count(pkg) FROM installed")" |
| 2201 | else |
| 2202 | has rpm && tot rpm -qa |
| 2203 | fi |
| 2204 | |
| 2205 | # 'mine' conflicts with minesweeper games. |
| 2206 | [[ -f /etc/SDE-VERSION ]] && |
| 2207 | has mine && tot mine -q |
| 2208 | |
| 2209 | # Counting files/dirs. |
| 2210 | # Variables need to be unquoted here. Only Bedrock Linux is affected. |
| 2211 | # $br_prefix is fixed and won't change based on user input so this is safe either way. |
| 2212 | # shellcheck disable=SC2086 |
| 2213 | { |
| 2214 | shopt -s nullglob |
| 2215 | has brew && dir "$(brew --cellar)/* $(brew --caskroom)/*" |
| 2216 | has emerge && dir "/var/db/pkg/*/*" |
| 2217 | has Compile && dir "/Programs/*/" |
| 2218 | has eopkg && dir "/var/lib/eopkg/package/*" |
| 2219 | has inary && dir "/var/lib/inary/package/*" |
| 2220 | has tekel && dir "/data/app/$USER/* /data/app/system/*" |
| 2221 | has crew && dir "${CREW_PREFIX:-/usr/local}/etc/crew/meta/*.filelist" |
| 2222 | has pkgtool && dir "/var/log/packages/*" |
| 2223 | has scratch && dir "/var/lib/scratchpkg/db/*" |
| 2224 | has kagami && dir "/var/lib/kagami/pkgs/*" |
| 2225 | has cave && dir "/var/db/paludis/repositories/cross-installed/*/data/*/ \ |
| 2226 | /var/db/paludis/repositories/installed/data/*/" |
| 2227 | has hardman && dir "/var/hpkg/packages/*" |
| 2228 | shopt -u nullglob |
| 2229 | } |
| 2230 | |
| 2231 | if [[ -z "$package_minimal" ]]; then |
| 2232 | # Steam games |
| 2233 | STEAM_P=".local/share/Steam/steamapps/common" |
| 2234 | if [[ -d "$HOME/$STEAM_P" ]]; then |
| 2235 | manager=steam && dir "$HOME/$STEAM_P/*/" |
| 2236 | elif [[ -d "$HOME/.var/app/com.valvesoftware.Steam/$STEAM_P" ]]; then |
| 2237 | manager=steam && dir "$HOME/.var/app/com.valvesoftware.Steam/$STEAM_P/*/" |
| 2238 | elif [[ -d "$HOME/.steam/steam/steamapps/common" ]]; then |
| 2239 | manager=steam && dir "$HOME/.steam/steam/steamapps/common/*/" |
| 2240 | fi |
| 2241 | fi |
| 2242 | |
| 2243 | # Other (Needs complex command) |
| 2244 | has kpm-pkg && ((packages+=$(kpm --get-selections | grep -cv deinstall$))) |
| 2245 | |
| 2246 | nix-user-pkgs() { |
| 2247 | if [ -d ~/.nix-profile ]; then |
| 2248 | nix-store -qR ~/.nix-profile |
| 2249 | elif [ -d "$XDG_STATE_HOME/nix/profile" ]; then |
| 2250 | nix-store -qR "$XDG_STATE_HOME/nix/profile" |
| 2251 | fi |
| 2252 | nix-store -qR /etc/profiles/per-user/"$USER" |
| 2253 | } |
| 2254 | |
| 2255 | # Separate system and user packages |
| 2256 | if [[ $package_separate == on ]]; then |
| 2257 | has guix && { |
| 2258 | manager=guix-system && tot guix package -p /run/current-system/profile -I |
| 2259 | manager=guix-user && tot guix package -I |
| 2260 | manager=guix-home && tot guix package -p ~/.guix-home/profile -I |
| 2261 | } |
| 2262 | |
| 2263 | has nix-store && { |
| 2264 | manager=nix-system && tot nix-store -qR /run/current-system/sw |
| 2265 | manager=nix-user && tot nix-user-pkgs |
| 2266 | manager=nix-default && tot nix-store -qR /nix/var/nix/profiles/default |
| 2267 | } |
| 2268 | |
| 2269 | has flatpak && { |
| 2270 | manager=flatpak-system && tot flatpak list --system |
| 2271 | manager=flatpak-user && tot flatpak list --user |
| 2272 | } |
| 2273 | else |
| 2274 | has guix && { |
| 2275 | guix-all() { |
| 2276 | guix package -p /run/current-system/profile -I |
| 2277 | guix package -I |
| 2278 | guix package -p ~/.guix-home/profile -I |
| 2279 | } |
| 2280 | manager=guix && tot guix-all |
| 2281 | } |
| 2282 | |
| 2283 | has nix-store && { |
| 2284 | nix-all() { |
| 2285 | nix-user-pkgs |
| 2286 | nix-store -qR /run/current-system/sw |
| 2287 | nix-store -qR /nix/var/nix/profiles/default |
| 2288 | } |
| 2289 | manager=nix && tot nix-all |
| 2290 | } |
| 2291 | |
| 2292 | has flatpak && { |
| 2293 | manager=flatpak && tot flatpak list |
| 2294 | } |
| 2295 | fi |
| 2296 | |
| 2297 | # pkginfo is also the name of a python package manager which is painfully slow. |
| 2298 | # TODO: Fix this somehow. |
| 2299 | has pkginfo && tot pkginfo -i |
| 2300 | |
| 2301 | case $os-$kernel_name in |
| 2302 | BSD-FreeBSD|BSD-DragonFly) |
| 2303 | has pkg && tot pkg info </dev/null |
| 2304 | ;; |
| 2305 | |
| 2306 | BSD-*) |
| 2307 | has pkg && dir /var/db/pkg/* |
| 2308 | |
| 2309 | ((packages == 0)) && |
| 2310 | has pkg && tot pkg list |
| 2311 | ;; |
| 2312 | |
| 2313 | illumos-*) |
| 2314 | has pkg && tot pkg list |
| 2315 | ;; |
| 2316 | esac |
| 2317 | |
| 2318 | # List these last as they accompany regular package managers. |
| 2319 | has spm && tot spm list -i |
| 2320 | has puyo && dir ~/.puyo/installed |
| 2321 | |
| 2322 | # Snap hangs if the command is run without the daemon running. |
| 2323 | # Only run snap if the daemon is also running. |
| 2324 | has snap && ps -e | grep -qFm 1 snapd >/dev/null && \ |
| 2325 | pkgs_h=1 tot snap list && ((packages-=1)) |
| 2326 | |
| 2327 | # Get AppImageLauncher Application directory, |
| 2328 | # See: https://github.com/TheAssassin/AppImageLauncher/wiki/Configuration#settings-file |
| 2329 | manager=appimage && has appimaged || [ -f "$HOME"/.config/appimagelauncher.cfg ] && |
| 2330 | if [ -f "$HOME"/.config/appimagelauncher.cfg ]; then |
| 2331 | ALDIR=$(grep "destination" "$HOME/.config/appimagelauncher.cfg" --color=never | sed 's/^.*= //') |
| 2332 | # shellcheck disable=SC2010 |
| 2333 | [ "$(ls -w 1 "$ALDIR" | grep -ic "AppImage")" = "0" ] && unset ALDIR |
| 2334 | fi && |
| 2335 | if find "$HOME"/.local/bin/ -type f -name '*.[Aa]pp[Ii]mage' -print -quit | grep -q .; then |
| 2336 | AIDIR="$HOME/.local/bin" |
| 2337 | fi && |
| 2338 | dir "$AIDIR/*.[Aa]pp[Ii]mage \ |
| 2339 | $ALDIR/*.[Aa]pp[Ii]mage" |
| 2340 | |
| 2341 | # Has devbox & is initialized |
| 2342 | has devbox && [[ "$(devbox global list)" != *"not activated"* ]] && tot devbox global list |
| 2343 | ;; |
| 2344 | |
| 2345 | "Mac OS X"|"macOS"|MINIX) |
| 2346 | has port && pkgs_h=1 tot port installed && ((packages-=1)) |
| 2347 | has brew && dir "$(brew --cellar)/* $(brew --caskroom)/*" |
| 2348 | has pkgin && tot pkgin list |
| 2349 | has dpkg && tot dpkg-query -f '.\n' -W |
| 2350 | |
| 2351 | has nix-store && { |
| 2352 | nix-user-pkgs() { |
| 2353 | nix-store -qR ~/.nix-profile |
| 2354 | nix-store -qR /etc/profiles/per-user/"$USER" |
| 2355 | } |
| 2356 | manager=nix-system && tot nix-store -qR /run/current-system/sw |
| 2357 | manager=nix-user && tot nix-user-pkgs |
| 2358 | } |
| 2359 | ;; |
| 2360 | |
| 2361 | AIX|FreeMiNT) |
| 2362 | has lslpp && ((packages+=$(lslpp -J -l -q | grep -cv '^#'))) |
| 2363 | has rpm && tot rpm -qa |
| 2364 | ;; |
| 2365 | |
| 2366 | Windows) |
| 2367 | case $kernel_name in |
| 2368 | CYGWIN*) has cygcheck && tot cygcheck -cd ;; |
| 2369 | MSYS*) has pacman && tot pacman -Qq --color never ;; |
| 2370 | esac |
| 2371 | |
| 2372 | ProgramData=$(cygpath --folder 0x0023 2>/dev/null) |
| 2373 | if [[ -z "$ProgramData" ]]; then |
| 2374 | mount=$(awk '/^C:\s/ {print $2}' /proc/mounts 2>/dev/null) |
| 2375 | ProgramData="${mount:-/cygdrive/c}/ProgramData" |
| 2376 | fi |
| 2377 | |
| 2378 | # scoop list adds a few extra lines to be fancy, an easy fix is to just remove the first 4 lines. I dont know a better way to do this. |
| 2379 | has scoop && pkgs_h=4 tot scoop list |
| 2380 | |
| 2381 | # Count chocolatey packages. |
| 2382 | # [[ -d /c/ProgramData/chocolatey/lib ]] && \ |
| 2383 | # dir /c/ProgramData/chocolatey/lib/* |
| 2384 | # has choco && tot choco list --localonly |
| 2385 | has choco && dir "$ProgramData"/chocolatey/lib/* |
| 2386 | |
| 2387 | # Count winget |
| 2388 | has winget && tot winget list --accept-source-agreements |
| 2389 | ;; |
| 2390 | |
| 2391 | Haiku) |
| 2392 | has pkgman && dir /boot/system/package-links/* |
| 2393 | packages=${packages/pkgman/depot} |
| 2394 | ;; |
| 2395 | |
| 2396 | IRIX) |
| 2397 | manager=swpkg |
| 2398 | pkgs_h=3 tot versions -b && ((packages-=3)) |
| 2399 | ;; |
| 2400 | esac |
| 2401 | |
| 2402 | # Count the total number of packages. |
| 2403 | total_packages=0 |
| 2404 | for manager_info in "${managers[@]}"; do |
| 2405 | count=$(echo "$manager_info" | awk '{print $1}') |
| 2406 | total_packages=$((total_packages + count)) |
| 2407 | done |
| 2408 | |
| 2409 | if ((packages == 0)); then |
| 2410 | unset packages |
| 2411 | elif [[ $package_managers == on ]]; then |
| 2412 | # List individual package manager counts |
| 2413 | printf -v packages '%s, ' "${managers[@]}" |
| 2414 | packages=${packages%,*} |
| 2415 | elif [[ $package_managers == tiny ]]; then |
| 2416 | # Show total count with package manager names |
| 2417 | packages="$total_packages (${manager_string%,*})" |
| 2418 | else |
| 2419 | # Default to showing just the total count |
| 2420 | packages="$total_packages" |
| 2421 | fi |
| 2422 | |
| 2423 | packages=${packages/pacman-key/pacman} |
| 2424 | } |
| 2425 | |
| 2426 | get_shell() { |
| 2427 | case $shell_path in |
| 2428 | on) shell="$SHELL " ;; |
| 2429 | off) shell="${SHELL##*/} " ;; |
| 2430 | esac |
| 2431 | |
| 2432 | [[ $shell_version != on ]] && return |
| 2433 | |
| 2434 | case ${shell_name:=${SHELL##*/}} in |
| 2435 | bash) |
| 2436 | [[ $BASH_VERSION ]] || |
| 2437 | BASH_VERSION=$("$SHELL" -c "printf %s \"\$BASH_VERSION\"") |
| 2438 | |
| 2439 | shell+=${BASH_VERSION/-*} |
| 2440 | ;; |
| 2441 | |
| 2442 | sh|ash|dash|es) ;; |
| 2443 | |
| 2444 | *ksh) |
| 2445 | shell+=$("$SHELL" -c "printf %s \"\$KSH_VERSION\"") |
| 2446 | shell=${shell/ * KSH} |
| 2447 | shell=${shell/version} |
| 2448 | ;; |
| 2449 | |
| 2450 | osh) |
| 2451 | if [[ $OIL_VERSION ]]; then |
| 2452 | shell+=$OIL_VERSION |
| 2453 | else |
| 2454 | shell+=$("$SHELL" -c "printf %s \"\$OIL_VERSION\"") |
| 2455 | fi |
| 2456 | ;; |
| 2457 | |
| 2458 | tcsh) |
| 2459 | shell+=$("$SHELL" -c "printf %s \$tcsh") |
| 2460 | ;; |
| 2461 | |
| 2462 | yash) |
| 2463 | shell+=$("$SHELL" --version 2>&1) |
| 2464 | shell=${shell/ $shell_name} |
| 2465 | shell=${shell/ Yet another shell} |
| 2466 | shell=${shell/Copyright*} |
| 2467 | ;; |
| 2468 | |
| 2469 | nu) |
| 2470 | shell+=$("$SHELL" -c "version | get version") |
| 2471 | shell=${shell/ $shell_name} |
| 2472 | ;; |
| 2473 | |
| 2474 | |
| 2475 | *) |
| 2476 | shell+=$("$SHELL" --version 2>&1) |
| 2477 | shell=${shell/ $shell_name} |
| 2478 | ;; |
| 2479 | esac |
| 2480 | |
| 2481 | # Remove unwanted info. |
| 2482 | shell=${shell/, version} |
| 2483 | shell=${shell/xonsh\//xonsh } |
| 2484 | shell=${shell/options*} |
| 2485 | shell=${shell/\(*\)} |
| 2486 | } |
| 2487 | |
| 2488 | get_editor() { |
| 2489 | local editor_full_path="${VISUAL:-$EDITOR}" |
| 2490 | |
| 2491 | # in case neither is set just return |
| 2492 | [[ -z "$editor_full_path" ]] && return |
| 2493 | |
| 2494 | # Actually obtain the full path |
| 2495 | editor_full_path="$(command -v "${editor_full_path}" 2>/dev/null)" |
| 2496 | |
| 2497 | # Resolve symlink and get the original name |
| 2498 | [[ -L "$editor_full_path" ]] && editor_full_path="$(readlink -f "$editor_full_path")" |
| 2499 | |
| 2500 | case $editor_path in |
| 2501 | on) editor="${editor_full_path} " ;; |
| 2502 | off) editor="${editor_full_path##*/} " ;; |
| 2503 | esac |
| 2504 | |
| 2505 | # in case editor version is not demanded don't bother parsing it |
| 2506 | [[ $editor_version != on ]] && return |
| 2507 | |
| 2508 | # Obtain editor version |
| 2509 | case ${editor_name:=${editor_full_path##*/}} in |
| 2510 | nano|vim|nvim|micro|emacs) |
| 2511 | editor_v=$("$editor_full_path" --version 2>&1) |
| 2512 | ;; |
| 2513 | kak) |
| 2514 | editor_v=$("$editor_full_path" -version 2>&1) |
| 2515 | ;; |
| 2516 | ne) |
| 2517 | editor_v=$("$editor_full_path" -h 2>&1) |
| 2518 | ;; |
| 2519 | esac |
| 2520 | editor_v="${editor_v/$'\n'*}" |
| 2521 | editor_v="${editor_v/Version: }" |
| 2522 | |
| 2523 | # Only show editor name if the version string doesn't contain it |
| 2524 | echo "$editor_v" | grep -i "$editor_name" &> /dev/null && editor_name="" |
| 2525 | editor=${editor_name}${editor_v:+ }${editor_v} |
| 2526 | |
| 2527 | # remove some common unwanted info from version strings |
| 2528 | editor=${editor/, version} |
| 2529 | editor=${editor/options*} |
| 2530 | editor=${editor/\(*\)} |
| 2531 | } |
| 2532 | |
| 2533 | get_de() { |
| 2534 | # If function was run, stop here. |
| 2535 | ((de_run == 1)) && return |
| 2536 | |
| 2537 | case $os in |
| 2538 | "Mac OS X"|"macOS") de=Aqua ;; |
| 2539 | |
| 2540 | "ravynOS") de=Magma ;; |
| 2541 | |
| 2542 | Windows) |
| 2543 | case $distro in |
| 2544 | *"Windows 10"*|*"Windows 11"*) |
| 2545 | de=Fluent |
| 2546 | ;; |
| 2547 | |
| 2548 | *"Windows 8"*) |
| 2549 | de=Metro |
| 2550 | ;; |
| 2551 | |
| 2552 | *) |
| 2553 | de=Aero |
| 2554 | ;; |
| 2555 | esac |
| 2556 | ;; |
| 2557 | |
| 2558 | FreeMiNT) |
| 2559 | freemint_wm=(/proc/*) |
| 2560 | |
| 2561 | case ${freemint_wm[*]} in |
| 2562 | *thing*) de=Thing ;; |
| 2563 | *jinnee*) de=Jinnee ;; |
| 2564 | *tera*) de=Teradesk ;; |
| 2565 | *neod*) de=NeoDesk ;; |
| 2566 | *zdesk*) de=zDesk ;; |
| 2567 | *mdesk*) de=mDesk ;; |
| 2568 | esac |
| 2569 | ;; |
| 2570 | |
| 2571 | *) |
| 2572 | ((wm_run != 1)) && get_wm |
| 2573 | |
| 2574 | # Temporary support for Regolith Linux |
| 2575 | if [[ $DESKTOP_SESSION == *regolith ]]; then |
| 2576 | de=Regolith |
| 2577 | |
| 2578 | # Added support Fly for Astra Linux |
| 2579 | elif [[ $DESKTOP_SESSION == fly ]]; then |
| 2580 | de=Fly |
| 2581 | |
| 2582 | elif [[ $XDG_CURRENT_DESKTOP ]]; then |
| 2583 | de=${XDG_CURRENT_DESKTOP/X\-} |
| 2584 | de=${de/Budgie:GNOME/Budgie} |
| 2585 | de=${de/:Unity7:ubuntu} |
| 2586 | |
| 2587 | elif [[ $DESKTOP_SESSION ]]; then |
| 2588 | de=${DESKTOP_SESSION##*/} |
| 2589 | de=${de/trinity/Trinity} |
| 2590 | |
| 2591 | elif [[ $GNOME_DESKTOP_SESSION_ID ]]; then |
| 2592 | de=GNOME |
| 2593 | |
| 2594 | elif [[ $MATE_DESKTOP_SESSION_ID ]]; then |
| 2595 | de=MATE |
| 2596 | |
| 2597 | elif [[ $TDE_FULL_SESSION ]]; then |
| 2598 | de=Trinity |
| 2599 | fi |
| 2600 | |
| 2601 | # When a window manager is started from a display manager |
| 2602 | # the desktop variables are sometimes also set to the |
| 2603 | # window manager name. This checks to see if WM == DE |
| 2604 | # and discards the DE value. |
| 2605 | [[ $de == "$wm" ]] && { unset -v de; return; } |
| 2606 | ;; |
| 2607 | esac |
| 2608 | |
| 2609 | # Fallback to using xprop. |
| 2610 | [[ $DISPLAY && -z $de ]] && type -p xprop &>/dev/null && \ |
| 2611 | de=$(xprop -root | awk '/KDE_SESSION_VERSION|^_MUFFIN|xfce4|xfce5/') |
| 2612 | |
| 2613 | # Format strings. |
| 2614 | case $de in |
| 2615 | KDE_SESSION_VERSION*) de=KDE${de/* = } ;; |
| 2616 | *xfce4*) de=Xfce4 ;; |
| 2617 | *xfce5*) de=Xfce5 ;; |
| 2618 | *xfce*) de=Xfce ;; |
| 2619 | *mate*) de=MATE ;; |
| 2620 | *GNOME*) de=GNOME ;; |
| 2621 | *MUFFIN*) de=Cinnamon ;; |
| 2622 | esac |
| 2623 | |
| 2624 | ((${KDE_SESSION_VERSION:-0} >= 4)) && de=${de/KDE/Plasma} |
| 2625 | ((${KDE_SESSION_VERSION:-0} >= 6)) && de=${de/Plasma/Plasma6} |
| 2626 | |
| 2627 | if [[ $de_version == on && $de ]]; then |
| 2628 | case $de in |
| 2629 | Plasma6*) |
| 2630 | de_ver=$(plasmashell --version) |
| 2631 | kf_ver=$(kinfo) |
| 2632 | qt_ver=${kf_ver/Kernel*} |
| 2633 | qt_ver=${qt_ver/*:} |
| 2634 | qt_ver=$(trim "$qt_ver") |
| 2635 | kf_ver=${kf_ver/Qt*} |
| 2636 | kf_ver=${kf_ver/*:} |
| 2637 | kf_ver=$(trim "$kf_ver") |
| 2638 | ;; |
| 2639 | Plasma*) |
| 2640 | de_ver=$(plasmashell --version) |
| 2641 | kf_ver=$(kf5-config --version) |
| 2642 | qt_ver=${kf_ver/KDE*} |
| 2643 | qt_ver=${qt_ver/Qt:} |
| 2644 | qt_ver=$(trim "$qt_ver") |
| 2645 | kf_ver=${kf_ver/kf5*} |
| 2646 | kf_ver=${kf_ver/*:} |
| 2647 | kf_ver=$(trim "$kf_ver") |
| 2648 | ;; |
| 2649 | MATE*) de_ver=$(mate-session --version) ;; |
| 2650 | Xfce*) de_ver=$(xfce4-session --version) ;; |
| 2651 | GNOME*) de_ver=$(gnome-shell --version) ;; |
| 2652 | Cinnamon*) de_ver=$(cinnamon --version) ;; |
| 2653 | Deepin*) de_ver=$(awk -F'=' '/MajorVersion/ {print $2}' /etc/os-version) ;; |
| 2654 | Budgie*) de_ver=$(budgie-desktop --version) ;; |
| 2655 | Cutefish*) de_ver=$(awk -F'=' '/Version/ {print $2}' /etc/cutefish) ;; |
| 2656 | LXQt*) de_ver=$(lxqt-session --version) ;; |
| 2657 | Lumina*) de_ver=$(lumina-desktop --version 2>&1) ;; |
| 2658 | Trinity*) de_ver=$(tde-config --version) ;; |
| 2659 | Unity*) de_ver=$(unity --version) ;; |
| 2660 | esac |
| 2661 | |
| 2662 | de_ver=${de_ver/*TDE:} |
| 2663 | de_ver=${de_ver/tde-config*} |
| 2664 | de_ver=${de_ver/liblxqt*} |
| 2665 | de_ver=${de_ver/Copyright*} |
| 2666 | de_ver=${de_ver/)*} |
| 2667 | de_ver=${de_ver/* } |
| 2668 | de_ver=${de_ver//\"} |
| 2669 | |
| 2670 | de+=" $de_ver" |
| 2671 | |
| 2672 | [[ $de == "Plasma"* ]] && de="Plasma $de_ver [KF $kf_ver] [Qt $qt_ver]" |
| 2673 | fi |
| 2674 | |
| 2675 | # TODO: |
| 2676 | # - New config option + flag: --de_display_server on/off ? |
| 2677 | # - Add display of X11, Arcan and anything else relevant. |
| 2678 | [[ $de ]] && [[ -n $XDG_SESSION_TYPE ]] && |
| 2679 | de+=" (${XDG_SESSION_TYPE})" |
| 2680 | |
| 2681 | de_run=1 |
| 2682 | } |
| 2683 | |
| 2684 | get_wm() { |
| 2685 | # If function was run, stop here. |
| 2686 | ((wm_run == 1)) && return |
| 2687 | |
| 2688 | case $kernel_name in |
| 2689 | *OpenBSD*) ps_flags=(x -c) ;; |
| 2690 | *) ps_flags=(-e) ;; |
| 2691 | esac |
| 2692 | |
| 2693 | if [[ -O "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY:-wayland-0}" ]]; then |
| 2694 | if tmp_pid="$(lsof -t "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY:-wayland-0}" 2>&1)" || |
| 2695 | tmp_pid="$(fuser "${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY:-wayland-0}" 2>&1)"; then |
| 2696 | tmp_pid="$(trim "${tmp_pid##*:}")" |
| 2697 | wm="$(ps -p "${tmp_pid}" -ho comm=)" |
| 2698 | else |
| 2699 | # lsof may not exist, or may need root on some systems. Similarly fuser. |
| 2700 | # On those systems we search for a list of known window managers, this can mistakenly |
| 2701 | # match processes for another user or session and will miss unlisted window managers. |
| 2702 | wm=$(ps "${ps_flags[@]}" | grep -m 1 -o -F \ |
| 2703 | -e ^arcan$ \ |
| 2704 | -e ^asc$ \ |
| 2705 | -e ^clayland$ \ |
| 2706 | -e ^dwc$ \ |
| 2707 | -e ^dwl$ \ |
| 2708 | -e ^fireplace$ \ |
| 2709 | -e ^gnome-shell$ \ |
| 2710 | -e ^greenfield$ \ |
| 2711 | -e ^grefsen$ \ |
| 2712 | -e ^hikari$ \ |
| 2713 | -e ^Hyprland$ \ |
| 2714 | -e ^kwin$ \ |
| 2715 | -e ^lipstick$ \ |
| 2716 | -e ^maynard$ \ |
| 2717 | -e ^mazecompositor$ \ |
| 2718 | -e ^motorcar$ \ |
| 2719 | -e ^orbital$ \ |
| 2720 | -e ^orbment$ \ |
| 2721 | -e ^perceptia$ \ |
| 2722 | -e ^river$ \ |
| 2723 | -e ^rustland$ \ |
| 2724 | -e ^sway$ \ |
| 2725 | -e ^ulubis$ \ |
| 2726 | -e ^velox$ \ |
| 2727 | -e ^wavy$ \ |
| 2728 | -e ^way-cooler$ \ |
| 2729 | -e ^wayfire$ \ |
| 2730 | -e ^wayhouse$ \ |
| 2731 | -e ^westeros$ \ |
| 2732 | -e ^westford$ \ |
| 2733 | -e ^weston$ ) |
| 2734 | fi |
| 2735 | |
| 2736 | elif [[ $DISPLAY && $os != "Mac OS X" && $os != "macOS" && $os != FreeMiNT ]]; then |
| 2737 | # non-EWMH WMs. |
| 2738 | wm=$(ps "${ps_flags[@]}" | grep -m 1 -o \ |
| 2739 | -e "[s]owm" \ |
| 2740 | -e "[c]atwm" \ |
| 2741 | -e "[f]vwm" \ |
| 2742 | -e "[d]wm" \ |
| 2743 | -e "[2]bwm" \ |
| 2744 | -e "[m]onsterwm" \ |
| 2745 | -e "[t]inywm" \ |
| 2746 | -e "[x]11fs" \ |
| 2747 | -e "[x]monad") |
| 2748 | |
| 2749 | [[ -z $wm ]] && type -p xprop &>/dev/null && { |
| 2750 | id=$(xprop -root -notype _NET_SUPPORTING_WM_CHECK) |
| 2751 | id=${id##* } |
| 2752 | wm=$(xprop -id "$id" -notype -len 100 -f _NET_WM_NAME 8t) |
| 2753 | wm=${wm/*WM_NAME = } |
| 2754 | wm=${wm/\"} |
| 2755 | wm=${wm/\"*} |
| 2756 | } |
| 2757 | |
| 2758 | else |
| 2759 | case $os in |
| 2760 | "Mac OS X"|"macOS") |
| 2761 | ps_line=$(ps -e | grep -o \ |
| 2762 | -e "[S]pectacle" \ |
| 2763 | -e "[A]methyst" \ |
| 2764 | -e "[k]wm" \ |
| 2765 | -e "[c]hun[k]wm" \ |
| 2766 | -e "[y]abai" \ |
| 2767 | -e "[R]ectangle") |
| 2768 | |
| 2769 | case $ps_line in |
| 2770 | *chunkwm*) wm=chunkwm ;; |
| 2771 | *kwm*) wm=Kwm ;; |
| 2772 | *yabai*) wm=yabai ;; |
| 2773 | *Amethyst*) wm=Amethyst ;; |
| 2774 | *Spectacle*) wm=Spectacle ;; |
| 2775 | *Rectangle*) wm=Rectangle ;; |
| 2776 | *) wm="Quartz Compositor" ;; |
| 2777 | esac |
| 2778 | ;; |
| 2779 | |
| 2780 | Windows) |
| 2781 | wm=$( |
| 2782 | tasklist | |
| 2783 | |
| 2784 | grep -Fom 1 \ |
| 2785 | -e bugn \ |
| 2786 | -e Windawesome \ |
| 2787 | -e blackbox \ |
| 2788 | -e emerge \ |
| 2789 | -e litestep |
| 2790 | ) |
| 2791 | |
| 2792 | [[ $wm == blackbox ]] && |
| 2793 | wm="bbLean (Blackbox)" |
| 2794 | |
| 2795 | wm=${wm:+$wm, }DWM.exe |
| 2796 | ;; |
| 2797 | |
| 2798 | FreeMiNT) |
| 2799 | freemint_wm=(/proc/*) |
| 2800 | |
| 2801 | case ${freemint_wm[*]} in |
| 2802 | *xaaes* | *xaloader*) wm=XaAES ;; |
| 2803 | *myaes*) wm=MyAES ;; |
| 2804 | *naes*) wm=N.AES ;; |
| 2805 | geneva) wm=Geneva ;; |
| 2806 | *) wm="Atari AES" ;; |
| 2807 | esac |
| 2808 | ;; |
| 2809 | esac |
| 2810 | fi |
| 2811 | |
| 2812 | # Rename window managers to their proper values. |
| 2813 | [[ $wm == *WINDOWMAKER* ]] && wm=wmaker |
| 2814 | [[ $wm == *GNOME*Shell* ]] && wm=Mutter |
| 2815 | |
| 2816 | wm_run=1 |
| 2817 | } |
| 2818 | |
| 2819 | get_wm_theme() { |
| 2820 | ((wm_run != 1)) && get_wm |
| 2821 | ((de_run != 1)) && get_de |
| 2822 | |
| 2823 | case $wm in |
| 2824 | E16) |
| 2825 | wm_theme=$(awk -F "= " '/theme.name/ {print $2}' "${HOME}/.e16/e_config--0.0.cfg") |
| 2826 | ;; |
| 2827 | |
| 2828 | Sawfish) |
| 2829 | wm_theme=$(awk -F '\\(quote|\\)' '/default-frame-style/ {print $(NF-4)}' \ |
| 2830 | "$HOME/.sawfish/custom") |
| 2831 | ;; |
| 2832 | |
| 2833 | Cinnamon|Muffin|"Mutter (Muffin)") |
| 2834 | detheme=$(gsettings get org.cinnamon.theme name) |
| 2835 | wm_theme=$(gsettings get org.cinnamon.desktop.wm.preferences theme) |
| 2836 | wm_theme="$detheme ($wm_theme)" |
| 2837 | ;; |
| 2838 | |
| 2839 | Compiz|Mutter|Gala) |
| 2840 | if type -p gsettings >/dev/null; then |
| 2841 | wm_theme=$(gsettings get org.gnome.shell.extensions.user-theme name) |
| 2842 | |
| 2843 | [[ ${wm_theme//\'} ]] || \ |
| 2844 | wm_theme=$(gsettings get org.gnome.desktop.wm.preferences theme) |
| 2845 | |
| 2846 | elif type -p gconftool-2 >/dev/null; then |
| 2847 | wm_theme=$(gconftool-2 -g /apps/metacity/general/theme) |
| 2848 | fi |
| 2849 | ;; |
| 2850 | |
| 2851 | Metacity*) |
| 2852 | if [[ $de == Deepin ]]; then |
| 2853 | wm_theme=$(gsettings get com.deepin.wrap.gnome.desktop.wm.preferences theme) |
| 2854 | |
| 2855 | elif [[ $de == MATE ]]; then |
| 2856 | wm_theme=$(gsettings get org.mate.Marco.general theme) |
| 2857 | |
| 2858 | else |
| 2859 | wm_theme=$(gconftool-2 -g /apps/metacity/general/theme) |
| 2860 | fi |
| 2861 | ;; |
| 2862 | |
| 2863 | E17|Enlightenment) |
| 2864 | if type -p eet >/dev/null; then |
| 2865 | wm_theme=$(eet -d "$HOME/.e/e/config/standard/e.cfg" config |\ |
| 2866 | awk '/value \"file\" string.*.edj/ {print $4}') |
| 2867 | wm_theme=${wm_theme##*/} |
| 2868 | wm_theme=${wm_theme%.*} |
| 2869 | fi |
| 2870 | ;; |
| 2871 | |
| 2872 | Fluxbox) |
| 2873 | [[ -f $HOME/.fluxbox/init ]] && |
| 2874 | wm_theme=$(awk -F "/" '/styleFile/ {print $NF}' "$HOME/.fluxbox/init") |
| 2875 | ;; |
| 2876 | |
| 2877 | IceWM*) |
| 2878 | [[ -f $HOME/.icewm/theme ]] && |
| 2879 | wm_theme=$(awk -F "[\",/]" '!/#/ {print $2}' "$HOME/.icewm/theme") |
| 2880 | ;; |
| 2881 | |
| 2882 | Openbox) |
| 2883 | case $de in |
| 2884 | LXDE*) ob_file="lxde-rc" ;; |
| 2885 | LXQt*) ob_file="lxqt-rc" ;; |
| 2886 | *) ob_file="rc" ;; |
| 2887 | esac |
| 2888 | |
| 2889 | ob_file=$XDG_CONFIG_HOME/openbox/$ob_file.xml |
| 2890 | |
| 2891 | [[ -f $ob_file ]] && |
| 2892 | wm_theme=$(awk '/<theme>/ {while (getline n) {if (match(n, /<name>/)) |
| 2893 | {l=n; exit}}} END {split(l, a, "[<>]"); print a[3]}' "$ob_file") |
| 2894 | ;; |
| 2895 | |
| 2896 | PekWM) |
| 2897 | [[ -f $HOME/.pekwm/config ]] && |
| 2898 | wm_theme=$(awk -F "/" '/Theme/{gsub(/\"/,""); print $NF}' "$HOME/.pekwm/config") |
| 2899 | ;; |
| 2900 | |
| 2901 | Xfwm4) |
| 2902 | [[ -f $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml ]] && |
| 2903 | wm_theme=$(xfconf-query -c xfwm4 -p /general/theme) |
| 2904 | ;; |
| 2905 | |
| 2906 | KWin*) |
| 2907 | kde_config_dir |
| 2908 | kwinrc=$kde_config_dir/kwinrc |
| 2909 | kdebugrc=$kde_config_dir/kdebugrc |
| 2910 | |
| 2911 | if [[ -f $kwinrc ]]; then |
| 2912 | wm_theme=$(awk '/theme=/ { |
| 2913 | gsub(/theme=.*qml_|theme=.*svg__/,"",$0); |
| 2914 | print $0; |
| 2915 | exit |
| 2916 | }' "$kwinrc") |
| 2917 | |
| 2918 | [[ "$wm_theme" ]] || |
| 2919 | wm_theme=$(awk '/library=org.kde/ { |
| 2920 | gsub(/library=org.kde./,"",$0); |
| 2921 | print $0; |
| 2922 | exit |
| 2923 | }' "$kwinrc") |
| 2924 | |
| 2925 | [[ $wm_theme ]] || |
| 2926 | wm_theme=$(awk '/PluginLib=kwin3_/ { |
| 2927 | gsub(/PluginLib=kwin3_/,"",$0); |
| 2928 | print $0; |
| 2929 | exit |
| 2930 | }' "$kwinrc") |
| 2931 | |
| 2932 | elif [[ -f $kdebugrc ]]; then |
| 2933 | wm_theme=$(awk '/(decoration)/ {gsub(/\[/,"",$1); print $1; exit}' "$kdebugrc") |
| 2934 | fi |
| 2935 | |
| 2936 | wm_theme=${wm_theme/theme=} |
| 2937 | ;; |
| 2938 | |
| 2939 | "Quartz Compositor") |
| 2940 | global_preferences=$HOME/Library/Preferences/.GlobalPreferences.plist |
| 2941 | wm_theme=$(PlistBuddy -c "Print AppleInterfaceStyle" "$global_preferences") |
| 2942 | wm_theme_color=$(PlistBuddy -c "Print AppleAccentColor" "$global_preferences") |
| 2943 | |
| 2944 | [[ "$wm_theme" ]] || |
| 2945 | wm_theme=Light |
| 2946 | |
| 2947 | case $wm_theme_color in |
| 2948 | -1) wm_theme_color=Graphite ;; |
| 2949 | 0) wm_theme_color=Red ;; |
| 2950 | 1) wm_theme_color=Orange ;; |
| 2951 | 2) wm_theme_color=Yellow ;; |
| 2952 | 3) wm_theme_color=Green ;; |
| 2953 | 5) wm_theme_color=Purple ;; |
| 2954 | 6) wm_theme_color=Pink ;; |
| 2955 | *) wm_theme_color=Blue ;; |
| 2956 | esac |
| 2957 | |
| 2958 | wm_theme="$wm_theme_color ($wm_theme)" |
| 2959 | ;; |
| 2960 | |
| 2961 | *Explorer) |
| 2962 | path=/proc/registry/HKEY_CURRENT_USER/Software/Microsoft |
| 2963 | path+=/Windows/CurrentVersion/Themes/CurrentTheme |
| 2964 | |
| 2965 | wm_theme=$(head -n1 "$path") |
| 2966 | wm_theme=${wm_theme##*\\} |
| 2967 | wm_theme=${wm_theme%.*} |
| 2968 | ;; |
| 2969 | |
| 2970 | Blackbox|bbLean*) |
| 2971 | path=$(wmic process get ExecutablePath | grep -F "blackbox") |
| 2972 | path=${path//\\/\/} |
| 2973 | |
| 2974 | wm_theme=$(grep '^session\.styleFile:' "${path/\.exe/.rc}") |
| 2975 | wm_theme=${wm_theme/session\.styleFile: } |
| 2976 | wm_theme=${wm_theme##*\\} |
| 2977 | wm_theme=${wm_theme%.*} |
| 2978 | ;; |
| 2979 | |
| 2980 | LeftWM*) |
| 2981 | if command -v leftwm-theme &> /dev/null |
| 2982 | then |
| 2983 | wm_theme=$(leftwm-theme status | grep "Your current theme" | sed -e 's/Your current theme is //g' -e 's/\,.*$//g') |
| 2984 | fi |
| 2985 | ;; |
| 2986 | |
| 2987 | fly-wm) |
| 2988 | fly_config_file |
| 2989 | if grep -q 'DecorTheme' "${fly_config_file}" 2>/dev/null; then |
| 2990 | wm_theme=$(awk -F'=' '/^DecorTheme/{print $2}' "${fly_config_file}") |
| 2991 | fi |
| 2992 | if [ -z "$wm_theme" ] || [ "$wm_theme" = "Not Found" ]; then |
| 2993 | wm_theme=Default |
| 2994 | fi |
| 2995 | ;; |
| 2996 | esac |
| 2997 | |
| 2998 | wm_theme=$(trim_quotes "$wm_theme") |
| 2999 | } |
| 3000 | |
| 3001 | get_cpu() { |
| 3002 | case $os in |
| 3003 | "Ironclad") |
| 3004 | cpu="$(cpuinfo -n) ($(cpuinfo -c)) @ $(cpuinfo -f)" |
| 3005 | ;; |
| 3006 | "Linux" | "MINIX" | "Windows") |
| 3007 | # Get CPU name. |
| 3008 | cpu_file="/proc/cpuinfo" |
| 3009 | |
| 3010 | case $kernel_machine in |
| 3011 | "frv" | "hppa" | "m68k" | "openrisc" | "or"* | "powerpc" | "ppc"* | "sparc"*) |
| 3012 | cpu="$(awk -F':' '/^cpu\t|^CPU/ {printf $2; exit}' "$cpu_file")" |
| 3013 | ;; |
| 3014 | |
| 3015 | "s390"*) |
| 3016 | cpu="$(awk -F'=' '/machine/ {print $4; exit}' "$cpu_file")" |
| 3017 | ;; |
| 3018 | |
| 3019 | "ia64" | "m32r") |
| 3020 | cpu="$(awk -F':' '/model/ {print $2; exit}' "$cpu_file")" |
| 3021 | [[ -z "$cpu" ]] && cpu="$(awk -F':' '/family/ {printf $2; exit}' "$cpu_file")" |
| 3022 | ;; |
| 3023 | |
| 3024 | "riscv"* | "rv"*) |
| 3025 | cpu_uarch="$(awk -F':' '/uarch/ {print $2; exit}' "$cpu_file")" |
| 3026 | # RISC-V ISA string example: "rv64imafdch_zicsr_zifencei". |
| 3027 | cpu_isa="$(awk -F':' '/isa/ {print $2; exit}' "$cpu_file")" |
| 3028 | # The _z parts are not important for CPU showcasing, so we remove them. |
| 3029 | cpu_isa="${cpu_isa%%_*}" |
| 3030 | # Then we replace "imafd" with "g" since "g" is a shorthand. |
| 3031 | cpu_isa="${cpu_isa/imafd/g}" |
| 3032 | # The final ISA output of the above example is "rv64gch". |
| 3033 | cpu="$cpu_uarch $cpu_isa" |
| 3034 | ;; |
| 3035 | |
| 3036 | "arm"* | "aarch64") |
| 3037 | if [[ $(trim "$distro") == Android* ]]; then |
| 3038 | # Android roms have modified cpuinfo that shows CPU model as a string |
| 3039 | cpu="$(awk -F':' '/Hardware/ {print $2; exit}' "$cpu_file")" |
| 3040 | else |
| 3041 | # ARM linux displays binary model code in cpuinfo, which needs to be decoded with lscpu |
| 3042 | if ! command -v python3 &> /dev/null; then |
| 3043 | cpu="$(lscpu | awk -F': ' '/Vendor ID/ {print $2; exit}' ) $(lscpu | awk -F': ' '/Model name/ {print $2; exit}')" |
| 3044 | else |
| 3045 | # Sometimes there are multiple CPU models (e.g. RK3399 has 4 A53 and 2 A72 cores) |
| 3046 | # However, I don't know how to implement this in awk, so I'll use python for now |
| 3047 | read -r -d '' py_script << END |
| 3048 | from subprocess import check_output |
| 3049 | |
| 3050 | |
| 3051 | def find(lines, label): |
| 3052 | for ln in lines: |
| 3053 | if ln.strip().startswith(label): |
| 3054 | t = ln.split(label)[-1].strip() |
| 3055 | return None if t == '-' else t |
| 3056 | |
| 3057 | return None |
| 3058 | |
| 3059 | |
| 3060 | if __name__ == '__main__': |
| 3061 | lscpu = check_output('lscpu').decode() |
| 3062 | |
| 3063 | vendor_id = find(lscpu.split('\n'), 'Vendor ID:') or None |
| 3064 | |
| 3065 | cpus = [] |
| 3066 | |
| 3067 | for model_desc in lscpu.split('Model name:'): |
| 3068 | lines = model_desc.split('\n') |
| 3069 | model = lines[0].strip() |
| 3070 | |
| 3071 | cores = find(lines, 'Core(s) per socket:') or find(lines, 'Core(s) per cluster:') |
| 3072 | if cores is None: |
| 3073 | continue |
| 3074 | |
| 3075 | cores = int(cores) |
| 3076 | cores *= int(find(lines, 'Socket(s):') or find(lines, 'Cluster(s):') or "1") |
| 3077 | if cores == -1: |
| 3078 | continue |
| 3079 | |
| 3080 | mhz = float(find(lines, 'CPU max MHz:') or find(lines, 'CPU min MHz:') or "0") |
| 3081 | speed = f'@ {mhz / 1000:.2f} GHz' if mhz > 0 else '' |
| 3082 | |
| 3083 | cpus.append(f'{vendor_id} {model} ({cores}) {speed}') |
| 3084 | |
| 3085 | print('\n'.join(cpus)) |
| 3086 | END |
| 3087 | tmp_cpus=$(python3 -c "$py_script") |
| 3088 | while IFS= read -r line; do |
| 3089 | prin "${subtitle:+${subtitle}}" "$line" |
| 3090 | done <<< "$tmp_cpus" |
| 3091 | |
| 3092 | return |
| 3093 | fi |
| 3094 | fi |
| 3095 | ;; |
| 3096 | esac |
| 3097 | |
| 3098 | # If cpu is not detected on a platform-specific bases, fallback to cpuinfo method |
| 3099 | [[ -z "$cpu" ]] && cpu="$(awk -F '\\s*: | @' '/model name|Model|uarch|Hardware|Processor|^cpu model|chip type|^cpu type/ { print $2; exit}' "$cpu_file")" |
| 3100 | [[ -z "$cpu" ]] && cpu="$(awk -F '\\s*: | @' '/Hardware/ {print $2; exit}' "$cpu_file")" |
| 3101 | |
| 3102 | speed_dir="/sys/devices/system/cpu/cpu0/cpufreq" |
| 3103 | |
| 3104 | # Select the right temperature file. |
| 3105 | for temp_dir in /sys/class/hwmon/*; do |
| 3106 | [[ "$(< "${temp_dir}/name")" =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]] && { |
| 3107 | temp_dirs=("$temp_dir"/temp*_input) |
| 3108 | temp_dir=${temp_dirs[0]} |
| 3109 | break |
| 3110 | } |
| 3111 | done |
| 3112 | |
| 3113 | # If on a Raspberry Pi... |
| 3114 | if grep -q "Raspberry Pi" /proc/device-tree/model; then |
| 3115 | temp_dir=/sys/class/thermal/thermal_zone0/temp |
| 3116 | fi |
| 3117 | |
| 3118 | # Get CPU speed. |
| 3119 | if [[ -d "$speed_dir" ]]; then |
| 3120 | # Fallback to bios_limit if $speed_type fails. |
| 3121 | speed="$(< "${speed_dir}/${speed_type}")" ||\ |
| 3122 | speed="$(< "${speed_dir}/bios_limit")" ||\ |
| 3123 | speed="$(< "${speed_dir}/scaling_max_freq")" ||\ |
| 3124 | speed="$(< "${speed_dir}/cpuinfo_max_freq")" |
| 3125 | speed="$((speed / 1000))" |
| 3126 | |
| 3127 | else |
| 3128 | case $kernel_machine in |
| 3129 | "sparc"*) |
| 3130 | # SPARC systems use a different file to expose clock speed information. |
| 3131 | speed_file="/sys/devices/system/cpu/cpu0/clock_tick" |
| 3132 | speed="$(($(< "$speed_file") / 1000000))" |
| 3133 | ;; |
| 3134 | |
| 3135 | *) |
| 3136 | speed="$(awk -F ': |\\.' '/cpu MHz|^clock/ {printf $2; exit}' "$cpu_file")" |
| 3137 | speed="${speed/MHz}" |
| 3138 | ;; |
| 3139 | esac |
| 3140 | fi |
| 3141 | |
| 3142 | # Get CPU temp. |
| 3143 | [[ -f "$temp_dir" ]] && deg="$(($(< "$temp_dir") * 100 / 10000))" |
| 3144 | |
| 3145 | # Get CPU cores. |
| 3146 | case $kernel_machine in |
| 3147 | "sparc"*) |
| 3148 | case $cpu_cores in |
| 3149 | # SPARC systems doesn't expose detailed topology information in |
| 3150 | # /proc/cpuinfo so I have to use lscpu here. |
| 3151 | "logical" | "on") |
| 3152 | cores="$(lscpu | awk -F ': *' '/^CPU\(s\)/ {print $2}')" |
| 3153 | ;; |
| 3154 | "physical") |
| 3155 | cores="$(lscpu | awk -F ': *' '/^Core\(s\) per socket/ {print $2}')" |
| 3156 | sockets="$(lscpu | awk -F ': *' '/^Socket\(s\)/ {print $2}')" |
| 3157 | cores="$((sockets * cores))" |
| 3158 | ;; |
| 3159 | esac |
| 3160 | ;; |
| 3161 | |
| 3162 | *) |
| 3163 | sockets="$(grep "physical id" /proc/cpuinfo | sort -u | wc -l)" |
| 3164 | |
| 3165 | case $cpu_cores in |
| 3166 | "logical" | "on") |
| 3167 | cores="$(grep -c "^processor" "$cpu_file")" |
| 3168 | ;; |
| 3169 | "physical") |
| 3170 | cores="$(awk '/^core id/&&!a[$0]++{++i} END {print i}' "$cpu_file")" |
| 3171 | ;; |
| 3172 | esac |
| 3173 | ;; |
| 3174 | esac |
| 3175 | ;; |
| 3176 | |
| 3177 | "Mac OS X"|"macOS") |
| 3178 | if [[ $osx_version == 10.[4-5]* ]]; then |
| 3179 | cpu="$(system_profiler SPHardwareDataType | grep CPU\ Type)" |
| 3180 | cpu="${cpu/CPU\ Type\:/}" |
| 3181 | |
| 3182 | speed="$(system_profiler SPHardwareDataType | grep CPU\ Speed)" |
| 3183 | speed="${speed/CPU\ Speed\:/}" |
| 3184 | speed="${speed/ MHz/}" |
| 3185 | speed="${speed/ GHz/}" |
| 3186 | |
| 3187 | cores="$(system_profiler SPHardwareDataType | grep Number\ Of\ CPUs)" |
| 3188 | cores="${cores/Number\ Of\ CPUs\:/}" |
| 3189 | else |
| 3190 | cpu="$(sysctl -n machdep.cpu.brand_string)" |
| 3191 | fi |
| 3192 | |
| 3193 | # Get CPU cores. |
| 3194 | case $cpu_cores in |
| 3195 | "logical" | "on") cores="$(sysctl -n hw.logicalcpu_max)" ;; |
| 3196 | "physical") cores="$(sysctl -n hw.physicalcpu_max)" ;; |
| 3197 | esac |
| 3198 | ;; |
| 3199 | |
| 3200 | "iPhone OS") |
| 3201 | case $kernel_machine in |
| 3202 | "iPhone1,"[1-2] | "iPod1,1"): "Samsung S5L8900 (1) @ 412MHz" ;; |
| 3203 | "iPhone2,1"): "Samsung S5PC100 (1) @ 600MHz" ;; |
| 3204 | "iPhone3,"[1-3] | "iPod4,1"): "Apple A4 (1) @ 800MHz" ;; |
| 3205 | "iPhone4,1" | "iPod5,1"): "Apple A5 (2) @ 800MHz" ;; |
| 3206 | "iPhone5,"[1-4]): "Apple A6 (2) @ 1.3GHz" ;; |
| 3207 | "iPhone6,"[1-2]): "Apple A7 (2) @ 1.3GHz" ;; |
| 3208 | "iPhone7,"[1-2]): "Apple A8 (2) @ 1.4GHz" ;; |
| 3209 | "iPhone8,"[1-4] | "iPad6,1"[12]): "Apple A9 (2) @ 1.85GHz" ;; |
| 3210 | "iPhone9,"[1-4] | "iPad7,"[5-6] | "iPad7,1"[1-2]): |
| 3211 | "Apple A10 Fusion (4) @ 2.34GHz" |
| 3212 | ;; |
| 3213 | "iPhone10,"[1-6]): "Apple A11 Bionic (6) @ 2.39GHz" ;; |
| 3214 | "iPhone11,"[2468] | "iPad11,"[1-4] | "iPad11,"[6-7]): "Apple A12 Bionic (6) @ 2.49GHz" ;; |
| 3215 | "iPhone12,"[1358]): "Apple A13 Bionic (6) @ 2.65GHz" ;; |
| 3216 | "iPhone13,"[1-4] | "iPad13,"[1-2]): "Apple A14 Bionic (6) @ 3.00GHz" ;; |
| 3217 | "iPhone14,"[2-8]): "Apple A15 Bionic (6) @ 3.23GHz" ;; |
| 3218 | "iPhone15,"[2-3]): "Apple A16 Bionic (6) @ 3.46GHz" ;; |
| 3219 | "iPad12,"[1-2]): "Apple A13 Bionic (6) @ 2.65GHz" ;; |
| 3220 | "iPad13,"[4-9]): "Apple M1 (8) @ 3.19GHz" ;; |
| 3221 | "iPad13,1"[0-1]): "Apple M1 (8) @ 3.19GHz" ;; |
| 3222 | "iPad13,1"[6-7]): "Apple M1 (8) @ 3.19GHz" ;; |
| 3223 | "iPad13,1"[8-9]): "Apple A14 Bionic (6) @ 3.00GHz" ;; |
| 3224 | "iPad14,"[1-2]): "Apple A15 Bionic (6) @ 3.23GHz" ;; |
| 3225 | "iPad14,"[3-6]): "Apple M2 (8) @ 3.49GHz" ;; |
| 3226 | |
| 3227 | "iPod2,1"): "Samsung S5L8720 (1) @ 533MHz" ;; |
| 3228 | "iPod3,1"): "Samsung S5L8922 (1) @ 600MHz" ;; |
| 3229 | "iPod7,1"): "Apple A8 (2) @ 1.1GHz" ;; |
| 3230 | "iPod9,1"): "Apple A10 Fusion (4) @ 1.64GHz" ;; |
| 3231 | "iPad1,"[1-2]): "Apple A4 (1) @ 1GHz" ;; |
| 3232 | "iPad2,"[1-7]): "Apple A5 (2) @ 1GHz" ;; |
| 3233 | "iPad3,"[1-3]): "Apple A5X (2) @ 1GHz" ;; |
| 3234 | "iPad3,"[4-6]): "Apple A6X (2) @ 1.4GHz" ;; |
| 3235 | "iPad4,"[1-3]): "Apple A7 (2) @ 1.4GHz" ;; |
| 3236 | "iPad4,"[4-9]): "Apple A7 (2) @ 1.4GHz" ;; |
| 3237 | "iPad5,"[1-2]): "Apple A8 (2) @ 1.5GHz" ;; |
| 3238 | "iPad5,"[3-4]): "Apple A8X (3) @ 1.5GHz" ;; |
| 3239 | "iPad6,"[3-4]): "Apple A9X (2) @ 2.16GHz" ;; |
| 3240 | "iPad6,"[7-8]): "Apple A9X (2) @ 2.26GHz" ;; |
| 3241 | "iPad7,"[1-4]): "Apple A10X Fusion (6) @ 2.39GHz" ;; |
| 3242 | "iPad8,"[1-8]): "Apple A12X Bionic (8) @ 2.49GHz" ;; |
| 3243 | "iPad8,9" | "iPad8,1"[0-2]): "Apple A12Z Bionic (8) @ 2.49GHz" ;; |
| 3244 | esac |
| 3245 | cpu="$_" |
| 3246 | ;; |
| 3247 | |
| 3248 | "BSD") |
| 3249 | # Get CPU name. |
| 3250 | cpu="$(sysctl -n hw.model)" |
| 3251 | cpu="${cpu/[0-9]\.*}" |
| 3252 | cpu="${cpu/ @*}" |
| 3253 | |
| 3254 | # Get CPU speed. |
| 3255 | speed="$(sysctl -n hw.cpuspeed)" |
| 3256 | [[ -z "$speed" ]] && speed="$(sysctl -n hw.clockrate)" |
| 3257 | |
| 3258 | # Get CPU cores. |
| 3259 | case $kernel_name in |
| 3260 | "OpenBSD"*) |
| 3261 | [[ "$(sysctl -n hw.smt)" == "1" ]] && smt="on" || smt="off" |
| 3262 | ncpufound="$(sysctl -n hw.ncpufound)" |
| 3263 | ncpuonline="$(sysctl -n hw.ncpuonline)" |
| 3264 | cores="${ncpuonline}/${ncpufound},\\xc2\\xa0SMT\\xc2\\xa0${smt}" |
| 3265 | ;; |
| 3266 | *) |
| 3267 | cores="$(sysctl -n hw.ncpu)" |
| 3268 | ;; |
| 3269 | esac |
| 3270 | |
| 3271 | # Get CPU temp. |
| 3272 | case $kernel_name in |
| 3273 | "FreeBSD"* | "DragonFly"* | "NetBSD"*) |
| 3274 | deg="$(sysctl -n dev.cpu.0.temperature)" |
| 3275 | deg="${deg/C}" |
| 3276 | ;; |
| 3277 | "OpenBSD"* | "Bitrig"*) |
| 3278 | deg="$(sysctl hw.sensors | \ |
| 3279 | awk -F'=|degC' '/(ksmn|adt|lm|cpu)0.temp0/ {printf("%2.1f", $2); exit}')" |
| 3280 | ;; |
| 3281 | esac |
| 3282 | ;; |
| 3283 | |
| 3284 | "Solaris" | "illumos") |
| 3285 | # Get CPU name. |
| 3286 | cpu="$(psrinfo -pv)" |
| 3287 | cpu="${cpu//*$'\n'}" |
| 3288 | cpu="${cpu/[0-9]\.*}" |
| 3289 | cpu="${cpu/ @*}" |
| 3290 | cpu="${cpu/\(portid*}" |
| 3291 | |
| 3292 | # Get CPU speed. |
| 3293 | speed="$(psrinfo -v | awk '/operates at/ {print $6; exit}')" |
| 3294 | |
| 3295 | # Get CPU cores. |
| 3296 | case $cpu_cores in |
| 3297 | "logical" | "on") cores="$(kstat -m cpu_info | grep -c -F "chip_id")" ;; |
| 3298 | "physical") cores="$(psrinfo -p)" ;; |
| 3299 | esac |
| 3300 | ;; |
| 3301 | |
| 3302 | "Haiku") |
| 3303 | # Get CPU name. |
| 3304 | cpu="$(sysinfo -cpu | awk -F '\\"' '/CPU #0/ {print $2}')" |
| 3305 | cpu="${cpu/@*}" |
| 3306 | |
| 3307 | # Get CPU speed. |
| 3308 | speed="$(sysinfo -cpu | awk '/running at/ {print $NF; exit}')" |
| 3309 | speed="${speed/MHz}" |
| 3310 | |
| 3311 | # Get CPU cores. |
| 3312 | cores="$(sysinfo -cpu | grep -c -F 'CPU #')" |
| 3313 | ;; |
| 3314 | |
| 3315 | "AIX") |
| 3316 | # Get CPU name. |
| 3317 | cpu="$(lsattr -El proc0 -a type | awk '{printf $2}')" |
| 3318 | |
| 3319 | # Get CPU speed. |
| 3320 | speed="$(prtconf -s | awk -F':' '{printf $2}')" |
| 3321 | speed="${speed/MHz}" |
| 3322 | |
| 3323 | # Get CPU cores. |
| 3324 | case $cpu_cores in |
| 3325 | "logical" | "on") |
| 3326 | cores="$(lparstat -i | awk -F':' '/Online Virtual CPUs/ {printf $2}')" |
| 3327 | ;; |
| 3328 | |
| 3329 | "physical") |
| 3330 | cores="$(lparstat -i | awk -F':' '/Active Physical CPUs/ {printf $2}')" |
| 3331 | ;; |
| 3332 | esac |
| 3333 | ;; |
| 3334 | |
| 3335 | "IRIX") |
| 3336 | # Get CPU name. |
| 3337 | cpu="$(hinv -c processor | awk -F':' '/CPU:/ {printf $2}')" |
| 3338 | |
| 3339 | # Get CPU speed. |
| 3340 | speed="$(hinv -c processor | awk '/MHZ/ {printf $2}')" |
| 3341 | |
| 3342 | # Get CPU cores. |
| 3343 | cores="$(sysconf NPROC_ONLN)" |
| 3344 | ;; |
| 3345 | |
| 3346 | "FreeMiNT") |
| 3347 | cpu="$(awk -F':' '/CPU:/ {printf $2}' /kern/cpuinfo)" |
| 3348 | speed="$(awk -F '[:.M]' '/Clocking:/ {printf $2}' /kern/cpuinfo)" |
| 3349 | ;; |
| 3350 | |
| 3351 | "Interix") |
| 3352 | cpu="$(/dev/fs/C/Windows/System32/wbem/WMIC.exe cpu get Name)" |
| 3353 | cpu="${cpu/Name}" |
| 3354 | |
| 3355 | speed="$(/dev/fs/C/Windows/System32/wbem/WMIC.exe cpu get CurrentClockSpeed)" |
| 3356 | speed="${speed/CurrentClockSpeed}" |
| 3357 | |
| 3358 | cores="$(/dev/fs/C/Windows/System32/wbem/WMIC.exe cpu get NumberOfCores)" |
| 3359 | cores="${cores/NumberOfCores}" |
| 3360 | ;; |
| 3361 | esac |
| 3362 | |
| 3363 | # Remove un-needed patterns from cpu output. |
| 3364 | cpu="${cpu//(TM)}" |
| 3365 | cpu="${cpu//(tm)}" |
| 3366 | cpu="${cpu//(R)}" |
| 3367 | cpu="${cpu//(r)}" |
| 3368 | cpu="${cpu//CPU}" |
| 3369 | cpu="${cpu//Processor}" |
| 3370 | cpu="${cpu//Dual-Core}" |
| 3371 | cpu="${cpu//Quad-Core}" |
| 3372 | cpu="${cpu//Six-Core}" |
| 3373 | cpu="${cpu//Eight-Core}" |
| 3374 | cpu="${cpu//[1-9][0-9]-Core}" |
| 3375 | cpu="${cpu//[0-9]-Core}" |
| 3376 | cpu="${cpu//, * Compute Cores}" |
| 3377 | cpu="${cpu//Core / }" |
| 3378 | cpu="${cpu//(\"AuthenticAMD\"*)}" |
| 3379 | cpu="${cpu//with Radeon*Graphics}" |
| 3380 | cpu="${cpu//, altivec supported}" |
| 3381 | cpu="${cpu//FPU*}" |
| 3382 | cpu="${cpu//Chip Revision*}" |
| 3383 | cpu="${cpu//Technologies, Inc}" |
| 3384 | cpu="${cpu//Core2/Core 2}" |
| 3385 | |
| 3386 | # Trim spaces from core and speed output |
| 3387 | cores="${cores//[[:space:]]}" |
| 3388 | speed="${speed//[[:space:]]}" |
| 3389 | |
| 3390 | # Remove CPU brand from the output. |
| 3391 | if [[ "$cpu_brand" == "off" ]]; then |
| 3392 | cpu="${cpu/AMD }" |
| 3393 | cpu="${cpu/Intel }" |
| 3394 | cpu="${cpu/Core? Duo }" |
| 3395 | cpu="${cpu/Qualcomm }" |
| 3396 | fi |
| 3397 | |
| 3398 | # Add CPU cores to the output. |
| 3399 | [[ "$cpu_cores" != "off" && "$cores" ]] && \ |
| 3400 | case $os in |
| 3401 | "Mac OS X"|"macOS") |
| 3402 | if [[ $(uname -m) == 'arm64' ]]; then |
| 3403 | cpu="$cpu ($cores)" |
| 3404 | else |
| 3405 | cpu="${cpu/@/(${cores}) @}" |
| 3406 | fi |
| 3407 | ;; |
| 3408 | *) |
| 3409 | # If socket information is present and more than 1, display cpu count first |
| 3410 | if [[ $sockets ]] && [[ $sockets -gt 1 ]]; then |
| 3411 | cpu="${sockets}x $cpu ($((cores / sockets)))" |
| 3412 | else |
| 3413 | cpu="$cpu ($cores)" |
| 3414 | fi |
| 3415 | ;; |
| 3416 | esac |
| 3417 | |
| 3418 | # Add CPU speed to the output. |
| 3419 | if [[ "$cpu_speed" != "off" && "$speed" ]]; then |
| 3420 | if (( speed < 1000 )); then |
| 3421 | cpu="$cpu @ ${speed}MHz" |
| 3422 | else |
| 3423 | [[ "$speed_shorthand" == "on" ]] && speed="$((speed / 100))" |
| 3424 | speed="${speed:0:1}.${speed:1}" |
| 3425 | cpu="$cpu @ ${speed}GHz" |
| 3426 | fi |
| 3427 | fi |
| 3428 | |
| 3429 | # Add CPU temp to the output. |
| 3430 | if [[ "$cpu_temp" != "off" && "$deg" ]]; then |
| 3431 | deg="${deg//.}" |
| 3432 | |
| 3433 | # Convert to Fahrenheit if enabled |
| 3434 | [[ "$cpu_temp" == "F" ]] && deg="$((deg * 90 / 50 + 320))" |
| 3435 | |
| 3436 | # Format the output |
| 3437 | deg="[${deg/${deg: -1}}.${deg: -1}°${cpu_temp:-C}]" |
| 3438 | cpu="$cpu $deg" |
| 3439 | fi |
| 3440 | } |
| 3441 | |
| 3442 | get_gpu() { |
| 3443 | case $os in |
| 3444 | "Linux") |
| 3445 | # Read GPUs into array. |
| 3446 | gpu_cmd="$(lspci -mm | |
| 3447 | awk -F '\"|\" \"|\\(' \ |
| 3448 | '/"Display|"3D|"VGA/ { |
| 3449 | a[$0] = $1 " " $3 " " ($(NF-1) ~ /^$|^Device [[:xdigit:]]+$/ ? $4 : $(NF-1)) |
| 3450 | } |
| 3451 | END { for (i in a) { |
| 3452 | if (!seen[a[i]]++) { |
| 3453 | sub("^[^ ]+ ", "", a[i]); |
| 3454 | print a[i] |
| 3455 | } |
| 3456 | }}')" |
| 3457 | |
| 3458 | if [[ "$gpu_cmd" == "" ]]; then |
| 3459 | gpu_cmd="$(glxinfo -B | grep -F 'OpenGL renderer string')" |
| 3460 | gpu_cmd="${gpu_cmd/OpenGL renderer string: }" |
| 3461 | fi |
| 3462 | |
| 3463 | IFS=$'\n' read -d "" -ra gpus <<< "$gpu_cmd" |
| 3464 | |
| 3465 | for gpu in "${gpus[@]}"; do |
| 3466 | # GPU shorthand tests. |
| 3467 | [[ "$gpu_type" == "dedicated" && "$gpu" == *Intel* ]] || \ |
| 3468 | [[ "$gpu_type" == "integrated" && ! "$gpu" == *Intel* ]] && \ |
| 3469 | { unset -v gpu; continue; } |
| 3470 | |
| 3471 | case $gpu in |
| 3472 | *"Advanced"*) |
| 3473 | brand="${gpu/*AMD*ATI*/AMD ATI}" |
| 3474 | brand="${brand:-${gpu/*AMD*/AMD}}" |
| 3475 | brand="${brand:-${gpu/*ATI*/ATi}}" |
| 3476 | |
| 3477 | gpu="${gpu/\[AMD\/ATI\] }" |
| 3478 | gpu="${gpu/\[AMD\] }" |
| 3479 | gpu="${gpu/OEM }" |
| 3480 | gpu="${gpu/Advanced Micro Devices, Inc.}" |
| 3481 | gpu="${gpu/*\[}" |
| 3482 | gpu="${gpu/\]*}" |
| 3483 | gpu="$brand $gpu" |
| 3484 | ;; |
| 3485 | |
| 3486 | *"NVIDIA"*) |
| 3487 | gpu="${gpu/*NVIDIA}" |
| 3488 | gpu="${gpu/*\[}" |
| 3489 | gpu="${gpu/\]*}" |
| 3490 | gpu="NVIDIA $gpu" |
| 3491 | ;; |
| 3492 | |
| 3493 | *"Intel"*) |
| 3494 | gpu="${gpu/*Intel/Intel}" |
| 3495 | gpu="${gpu/\(R\)}" |
| 3496 | gpu="${gpu/Corporation}" |
| 3497 | gpu="${gpu/ \(*}" |
| 3498 | gpu="${gpu/Integrated Graphics Controller}" |
| 3499 | gpu="${gpu/*Xeon*/Intel HD Graphics}" |
| 3500 | |
| 3501 | [[ -z "$(trim "$gpu")" ]] && gpu="Intel Integrated Graphics" |
| 3502 | ;; |
| 3503 | |
| 3504 | *"MCST"*) |
| 3505 | gpu="${gpu/*MCST*MGA2*/MCST MGA2}" |
| 3506 | ;; |
| 3507 | |
| 3508 | *"VirtualBox"*) |
| 3509 | gpu="VirtualBox Graphics Adapter" |
| 3510 | ;; |
| 3511 | |
| 3512 | *) continue ;; |
| 3513 | esac |
| 3514 | |
| 3515 | if [[ "$gpu_brand" == "off" ]]; then |
| 3516 | gpu="${gpu/AMD }" |
| 3517 | gpu="${gpu/NVIDIA }" |
| 3518 | gpu="${gpu/Intel }" |
| 3519 | fi |
| 3520 | |
| 3521 | prin "${subtitle:+${subtitle}${gpu_name}}" "$gpu" |
| 3522 | done |
| 3523 | |
| 3524 | return |
| 3525 | ;; |
| 3526 | |
| 3527 | "Mac OS X"|"macOS") |
| 3528 | if [[ -f "${cache_dir}/neowofetch/gpu" ]]; then |
| 3529 | source "${cache_dir}/neowofetch/gpu" |
| 3530 | |
| 3531 | else |
| 3532 | if [[ $(uname -m) == 'arm64' ]]; then |
| 3533 | chipset=$(system_profiler SPDisplaysDataType | awk '/Chipset Model/ { printf "%s %s %s", $3, $4, $5 }') |
| 3534 | cores=$(system_profiler SPDisplaysDataType | awk '/Total Number of Cores/ { printf "%d", $5 }') |
| 3535 | gpu="${chipset} (${cores})" |
| 3536 | else |
| 3537 | gpu="$(system_profiler SPDisplaysDataType |\ |
| 3538 | awk -F': ' '/^\ *Chipset Model:/ {printf $2 ", "}')" |
| 3539 | gpu="${gpu//\/ \$}" |
| 3540 | gpu="${gpu%,*}" |
| 3541 | fi |
| 3542 | |
| 3543 | cache "gpu" "$gpu" |
| 3544 | fi |
| 3545 | ;; |
| 3546 | |
| 3547 | "iPhone OS") |
| 3548 | case $kernel_machine in |
| 3549 | "iPhone1,"[1-2]): "PowerVR MBX Lite 3D" ;; |
| 3550 | "iPhone2,1" | "iPhone3,"[1-3] | "iPod3,1" | "iPod4,1" | "iPad1,"[1-2]): |
| 3551 | "PowerVR SGX535" |
| 3552 | ;; |
| 3553 | "iPhone4,1" | "iPad2,"[1-7] | "iPod5,1"): "PowerVR SGX543MP2" ;; |
| 3554 | "iPhone5,"[1-4]): "PowerVR SGX543MP3" ;; |
| 3555 | "iPhone6,"[1-2] | "iPad4,"[1-9]): "PowerVR G6430" ;; |
| 3556 | "iPhone7,"[1-2] | "iPod7,1" | "iPad5,"[1-2]): "PowerVR GX6450" ;; |
| 3557 | "iPhone8,"[1-4] | "iPad6,1"[12]): "PowerVR GT7600" ;; |
| 3558 | "iPhone9,"[1-4] | "iPad7,"[5-6]): "PowerVR GT7600 Plus" ;; |
| 3559 | "iPhone10,"[1-6]): "Apple Designed GPU (A11)" ;; |
| 3560 | "iPhone11,"[2468] | "iPad11,"[123467]): "Apple Designed GPU (A12)" ;; |
| 3561 | "iPhone12,"[1358] | "iPad12,"[12]): "Apple Designed GPU (A13)" ;; |
| 3562 | "iPhone13,"[1234] | "iPad13,"[12]): "Apple Designed GPU (A14)" ;; |
| 3563 | |
| 3564 | "iPad3,"[1-3]): "PowerVR SGX534MP4" ;; |
| 3565 | "iPad3,"[4-6]): "PowerVR SGX554MP4" ;; |
| 3566 | "iPad5,"[3-4]): "PowerVR GXA6850" ;; |
| 3567 | "iPad6,"[3-8]): "PowerVR 7XT" ;; |
| 3568 | "iPad8,"[1-8]): "Apple Designed GPU (A12X)" ;; |
| 3569 | "iPad8,9" | "iPad8,1"[0-2]): "Apple Designed GPU (A12Z)" ;; |
| 3570 | "iPad13,"[4-9] | "iPad13,1"[0-1]): "Apple Designed GPU (M1)" ;; |
| 3571 | "iPad14,"[1-2]): "Apple Designed GPU (A15)" ;; |
| 3572 | "iPad14,"[3-6]): "Apple Designed GPU (M2)" ;; |
| 3573 | |
| 3574 | "iPod1,1" | "iPod2,1") |
| 3575 | : "PowerVR MBX Lite" |
| 3576 | ;; |
| 3577 | esac |
| 3578 | gpu="$_" |
| 3579 | ;; |
| 3580 | |
| 3581 | "Windows") |
| 3582 | wmic path Win32_VideoController get caption | while read -r line; do |
| 3583 | line=$(trim "$line") |
| 3584 | |
| 3585 | case $line in |
| 3586 | *Caption*|'') |
| 3587 | continue |
| 3588 | ;; |
| 3589 | |
| 3590 | *) |
| 3591 | prin "${subtitle:+${subtitle}${gpu_name}}" "$line" |
| 3592 | ;; |
| 3593 | esac |
| 3594 | done |
| 3595 | ;; |
| 3596 | |
| 3597 | "Interix") |
| 3598 | /dev/fs/C/Windows/System32/wbem/WMIC.exe path Win32_VideoController get caption | while read -r line; do |
| 3599 | line=$(trim "$line") |
| 3600 | |
| 3601 | case $line in |
| 3602 | *Caption*|'') |
| 3603 | continue |
| 3604 | ;; |
| 3605 | |
| 3606 | *) |
| 3607 | prin "${subtitle:+${subtitle}${gpu_name}}" "$line" |
| 3608 | ;; |
| 3609 | esac |
| 3610 | done |
| 3611 | ;; |
| 3612 | |
| 3613 | "Haiku") |
| 3614 | gpu="$(listdev | grep -A2 -F 'device Display controller' |\ |
| 3615 | awk -F':' '/device [^D]/ {print $2}')" |
| 3616 | ;; |
| 3617 | |
| 3618 | *) |
| 3619 | case $kernel_name in |
| 3620 | "FreeBSD"* | "DragonFly"*) |
| 3621 | gpu="$(pciconf -lv | grep -B 4 -F "VGA" | grep -F "device")" |
| 3622 | gpu="${gpu/*device*= }" |
| 3623 | gpu="$(trim_quotes "$gpu")" |
| 3624 | ;; |
| 3625 | |
| 3626 | *) |
| 3627 | gpu="$(glxinfo -B | grep -F 'OpenGL renderer string')" |
| 3628 | gpu="${gpu/OpenGL renderer string: }" |
| 3629 | ;; |
| 3630 | esac |
| 3631 | ;; |
| 3632 | esac |
| 3633 | |
| 3634 | if [[ "$gpu_brand" == "off" ]]; then |
| 3635 | gpu="${gpu/AMD}" |
| 3636 | gpu="${gpu/NVIDIA}" |
| 3637 | gpu="${gpu/Intel}" |
| 3638 | fi |
| 3639 | } |
| 3640 | |
| 3641 | get_memory() { |
| 3642 | case $os in |
| 3643 | "Linux" | "Windows") |
| 3644 | # MemUsed = Memtotal + Shmem - MemFree - Buffers - Cached - SReclaimable |
| 3645 | # Source: https://github.com/KittyKatt/screenFetch/issues/386#issuecomment-249312716 |
| 3646 | while IFS=":" read -r a b; do |
| 3647 | case $a in |
| 3648 | "MemTotal") ((mem_used+=${b/kB})); mem_total="${b/kB}" ;; |
| 3649 | "Shmem") ((mem_used+=${b/kB})) ;; |
| 3650 | "MemFree" | "Buffers" | "Cached" | "SReclaimable") |
| 3651 | mem_used="$((mem_used-${b/kB}))" |
| 3652 | ;; |
| 3653 | |
| 3654 | # Available since Linux 3.14rc (34e431b0ae398fc54ea69ff85ec700722c9da773). |
| 3655 | # If detected this will be used over the above calculation for mem_used. |
| 3656 | "MemAvailable") |
| 3657 | mem_avail=${b/kB} |
| 3658 | ;; |
| 3659 | esac |
| 3660 | done < /proc/meminfo |
| 3661 | |
| 3662 | [[ $mem_avail ]] && mem_used=$((mem_total - mem_avail)) |
| 3663 | ;; |
| 3664 | |
| 3665 | "Mac OS X" | "macOS" | "iPhone OS") |
| 3666 | hw_pagesize="$(sysctl -n hw.pagesize)" |
| 3667 | mem_total="$(($(sysctl -n hw.memsize) / 1024))" |
| 3668 | pages_app="$(($(sysctl -n vm.page_pageable_internal_count) - $(sysctl -n vm.page_purgeable_count)))" |
| 3669 | pages_wired="$(vm_stat | awk '/ wired/ { print $4 }')" |
| 3670 | pages_compressed="$(vm_stat | awk '/ occupied/ { printf $5 }')" |
| 3671 | pages_compressed="${pages_compressed:-0}" |
| 3672 | mem_used="$(((pages_app + ${pages_wired//.} + ${pages_compressed//.}) * hw_pagesize / 1024))" |
| 3673 | ;; |
| 3674 | |
| 3675 | "BSD" | "MINIX" | "ravynOS") |
| 3676 | # Mem total. |
| 3677 | case $kernel_name in |
| 3678 | "NetBSD"*) mem_total="$(($(sysctl -n hw.physmem64) / 1024))" ;; |
| 3679 | *) mem_total="$(($(sysctl -n hw.physmem) / 1024))" ;; |
| 3680 | esac |
| 3681 | |
| 3682 | # Mem free. |
| 3683 | case $kernel_name in |
| 3684 | "NetBSD"*) |
| 3685 | mem_free="$(awk -F ':|kB' '/MemFree:/ {printf $2}' /proc/meminfo)" |
| 3686 | ;; |
| 3687 | |
| 3688 | "FreeBSD"* | "DragonFly"*) |
| 3689 | hw_pagesize="$(sysctl -n hw.pagesize)" |
| 3690 | mem_inactive="$(($(sysctl -n vm.stats.vm.v_inactive_count) * hw_pagesize))" |
| 3691 | mem_unused="$(($(sysctl -n vm.stats.vm.v_free_count) * hw_pagesize))" |
| 3692 | mem_cache="$(($(sysctl -n vm.stats.vm.v_cache_count) * hw_pagesize))" |
| 3693 | mem_free="$(((mem_inactive + mem_unused + mem_cache) / 1024))" |
| 3694 | ;; |
| 3695 | |
| 3696 | "MINIX") |
| 3697 | mem_free="$(top -d 1 | awk -F ',' '/^Memory:/ {print $2}')" |
| 3698 | mem_free=$(("${mem_free/M Free}" * 1024)) |
| 3699 | ;; |
| 3700 | |
| 3701 | "OpenBSD"*) ;; |
| 3702 | *) mem_free="$(vmstat | awk 'END {printf $5}')" ;; |
| 3703 | esac |
| 3704 | |
| 3705 | # Mem used. |
| 3706 | case $kernel_name in |
| 3707 | "OpenBSD"*) |
| 3708 | mem_used="$(vmstat | awk 'END {printf $3}')" |
| 3709 | mem_used=$(("${mem_used/M}" * 1024)) |
| 3710 | ;; |
| 3711 | |
| 3712 | *) mem_used="$((mem_total - mem_free))" ;; |
| 3713 | esac |
| 3714 | ;; |
| 3715 | |
| 3716 | "Solaris" | "illumos" | "AIX") |
| 3717 | hw_pagesize="$(pagesize)" |
| 3718 | case $os in |
| 3719 | "Solaris" | "illumos") |
| 3720 | pages_total="$(kstat -p unix:0:system_pages:pagestotal | awk '{print $2}')" |
| 3721 | pages_free="$(kstat -p unix:0:system_pages:pagesfree | awk '{print $2}')" |
| 3722 | ;; |
| 3723 | |
| 3724 | "AIX") |
| 3725 | IFS=$'\n'"| " read -d "" -ra mem_stat <<< "$(svmon -G -O unit=page)" |
| 3726 | pages_total="${mem_stat[11]}" |
| 3727 | pages_free="${mem_stat[16]}" |
| 3728 | ;; |
| 3729 | esac |
| 3730 | mem_total="$((pages_total * hw_pagesize / 1024))" |
| 3731 | mem_free="$((pages_free * hw_pagesize / 1024))" |
| 3732 | mem_used="$((mem_total - mem_free))" |
| 3733 | ;; |
| 3734 | |
| 3735 | "Haiku") |
| 3736 | mem_total="$(($(sysinfo -mem | awk -F '\\/ |)' '{print $2; exit}') / 1024))" |
| 3737 | mem_used="$(sysinfo -mem | awk -F '\\/|)' '{print $2; exit}')" |
| 3738 | mem_used="$((${mem_used/max} / 1024))" |
| 3739 | ;; |
| 3740 | |
| 3741 | "IRIX") |
| 3742 | IFS=$'\n' read -d "" -ra mem_cmd <<< "$(pmem)" |
| 3743 | IFS=" " read -ra mem_stat <<< "${mem_cmd[0]}" |
| 3744 | |
| 3745 | mem_total="${mem_stat[3]}" |
| 3746 | mem_free="${mem_stat[5]}" |
| 3747 | mem_used="$((mem_total - mem_free))" |
| 3748 | ;; |
| 3749 | |
| 3750 | "FreeMiNT") |
| 3751 | mem="$(awk -F ':|kB' '/MemTotal:|MemFree:/ {printf $2, " "}' /kern/meminfo)" |
| 3752 | mem_free="${mem/* }" |
| 3753 | mem_total="${mem/$mem_free}" |
| 3754 | mem_used="$((mem_total - mem_free))" |
| 3755 | ;; |
| 3756 | |
| 3757 | "Interix") |
| 3758 | mem_total="$(/dev/fs/C/Windows/System32/wbem/WMIC.exe computersystem get TotalPhysicalMemory)" |
| 3759 | mem_total="${mem_total//[[:space:]]}" |
| 3760 | mem_total="${mem_total/TotalPhysicalMemory}" |
| 3761 | mem_total="$((mem_total / 1024 / 1024))" |
| 3762 | |
| 3763 | mem_free="$(/dev/fs/C/Windows/System32/wbem/WMIC.exe os get FreePhysicalMemory)" |
| 3764 | mem_free="${mem_free//[[:space:]]}" |
| 3765 | mem_free="${mem_free/FreePhysicalMemory}" |
| 3766 | mem_free="$((mem_free / 1024))" |
| 3767 | |
| 3768 | mem_used="$((mem_total - mem_free))" |
| 3769 | ;; |
| 3770 | |
| 3771 | "Ironclad") |
| 3772 | mem_free="$(( $(showmem -f) * 1000 ))" |
| 3773 | mem_used="$(( $(showmem -u) * 1000 ))" |
| 3774 | mem_total="$(( $(showmem -t) * 1000 ))" |
| 3775 | esac |
| 3776 | |
| 3777 | [[ "$memory_percent" == "on" ]] && ((mem_perc=mem_used * 100 / mem_total)) |
| 3778 | |
| 3779 | # Creates temp variables: mem_unit_divider, mem_unit_multiplier |
| 3780 | mem_unit_divider=1 |
| 3781 | mem_unit_multiplier=$((10 ** mem_precision)) |
| 3782 | |
| 3783 | # Keep a copy of the original kibibyte values because progress bar needs them |
| 3784 | mu_kib="$mem_used" |
| 3785 | mt_kib="$mem_total" |
| 3786 | |
| 3787 | case $memory_unit in |
| 3788 | tib) |
| 3789 | mem_label=TiB |
| 3790 | mem_unit_divider=$((1024 * 1024 * 1024)) |
| 3791 | ;; |
| 3792 | |
| 3793 | gib) |
| 3794 | mem_label=GiB |
| 3795 | mem_unit_divider=$((1024 * 1024)) |
| 3796 | ;; |
| 3797 | |
| 3798 | kib) |
| 3799 | ;; |
| 3800 | |
| 3801 | *) |
| 3802 | mem_label=MiB |
| 3803 | mem_unit_divider=1024 |
| 3804 | ;; |
| 3805 | esac |
| 3806 | |
| 3807 | # Uses temp variables from above: mem_unit_divider, mem_unit_multiplier |
| 3808 | if test "$mem_unit_divider" -ge 1; then |
| 3809 | case ${mem_precision} in |
| 3810 | 0) |
| 3811 | mem_used="$((mem_used / mem_unit_divider))" |
| 3812 | mem_total="$((mem_total / mem_unit_divider))" |
| 3813 | ;; |
| 3814 | |
| 3815 | *) |
| 3816 | mem_used="$((mem_used / mem_unit_divider)).$(printf "%0*d" "${mem_precision}" \ |
| 3817 | $((mem_used % mem_unit_divider * mem_unit_multiplier / mem_unit_divider)))" |
| 3818 | mem_total="$((mem_total / mem_unit_divider)).$(printf "%0*d" "${mem_precision}" \ |
| 3819 | $((mem_total % mem_unit_divider * mem_unit_multiplier / mem_unit_divider)))" |
| 3820 | ;; |
| 3821 | esac |
| 3822 | fi |
| 3823 | |
| 3824 | memory="${mem_used} ${mem_label:-KiB} / ${mem_total} ${mem_label:-KiB} ${mem_perc:+(${mem_perc}%)}" |
| 3825 | |
| 3826 | # Bars. |
| 3827 | case $memory_display in |
| 3828 | "bar") memory="$(bar "${mu_kib}" "${mt_kib}")" ;; |
| 3829 | "infobar") memory="${memory} $(bar "${mu_kib}" "${mt_kib}")" ;; |
| 3830 | "barinfo") memory="$(bar "${mu_kib}" "${mt_kib}")${info_color} ${memory}" ;; |
| 3831 | esac |
| 3832 | } |
| 3833 | |
| 3834 | get_network() { |
| 3835 | case $os in |
| 3836 | "Linux") |
| 3837 | while IFS= read -r i; do |
| 3838 | # List all operational, physical devices |
| 3839 | if [ "$(cat "$i/operstate")" = "up" ] && [ -e "$i/device" ]; then |
| 3840 | if [ ! -e "$i/phy80211" ]; then |
| 3841 | networks+="$(cat "$i/speed")" |
| 3842 | else |
| 3843 | networks+="Wifi" |
| 3844 | phy="$(cat "$i/phy80211/name")" |
| 3845 | (iw "$phy" info | grep -qF 'VHT Capabilities') && networks+='6' |
| 3846 | fi |
| 3847 | networks+=$'\n' |
| 3848 | fi |
| 3849 | done < <(find /sys/class/net/ -type l) |
| 3850 | ;; |
| 3851 | "Mac OS X"|"macOS") |
| 3852 | ActiveNetwork=$(route get default | grep interface | awk '{print $2}') |
| 3853 | ActiveNetworkName=$(networksetup -listallhardwareports | grep -B 1 "$ActiveNetwork" | awk '/Hardware Port/{print}'| awk '{print $3}') |
| 3854 | if [[ $ActiveNetworkName == "Wi-Fi" ]]; then |
| 3855 | temp_plist="/tmp/neowofetch_system_profiler_SPAirPortDataType.xml" # PlistBuddy doesn't support reading from /dev/stdin |
| 3856 | system_profiler -detailLevel basic -xml SPAirPortDataType > "$temp_plist" |
| 3857 | |
| 3858 | PhyMode="$(PlistBuddy -c "Print 0:_items:0:spairport_airport_interfaces:0:spairport_current_network_information:spairport_network_phymode" "$temp_plist")" 2>/dev/null |
| 3859 | LinkSpeed="$(PlistBuddy -c "Print 0:_items:0:spairport_airport_interfaces:0:spairport_current_network_information:spairport_network_rate" "$temp_plist")" 2>/dev/null |
| 3860 | [ -n "$LinkSpeed" ] && LinkSpeed="$LinkSpeed Mbps" |
| 3861 | else |
| 3862 | LinkSpeed="$(ifconfig "$ActiveNetwork" | awk '/media/{print}' | sed -E "s/.*\((.*)\).*/\1/")" |
| 3863 | fi |
| 3864 | network="$ActiveNetwork: $ActiveNetworkName" |
| 3865 | [ -n "$PhyMode" ] && network+=" ($PhyMode)" |
| 3866 | [ -n "$LinkSpeed" ] && network+=" @ $LinkSpeed" |
| 3867 | ;; |
| 3868 | esac |
| 3869 | while IFS=' ' read -r n i; do |
| 3870 | if [ -n "$i" ]; then |
| 3871 | [ "$n" -gt 1 ] && network+="${n}x " |
| 3872 | if [ "$i" = "Wifi" ]; then |
| 3873 | network+="Wifi; " |
| 3874 | elif [ "$i" = "Wifi6" ]; then |
| 3875 | network+="Wifi6; " |
| 3876 | elif [ "$i" = "-1" ]; then |
| 3877 | network+="Unknown; " |
| 3878 | elif [ "${i%000}" = "$i" ]; then |
| 3879 | network+="$i Mbps; " |
| 3880 | elif [ "$i" = "2500" ]; then |
| 3881 | network+="2.5 Gbps; " |
| 3882 | else |
| 3883 | network+="${i%000} Gbps; " |
| 3884 | fi |
| 3885 | fi |
| 3886 | done < <(sort -rn <<<"$networks" | uniq -c) |
| 3887 | if [ -n "$network" ]; then |
| 3888 | network="${network%; }" |
| 3889 | fi |
| 3890 | } |
| 3891 | |
| 3892 | get_bluetooth() { |
| 3893 | # Find bluetooth using lsusb |
| 3894 | if command -v lsusb &> /dev/null; then |
| 3895 | bluetooth="$(lsusb | cut -c34- | grep -i bluetooth)" |
| 3896 | fi |
| 3897 | |
| 3898 | # Remove "Bluetooth" suffix |
| 3899 | bluetooth="${bluetooth%[Bb]luetooth}" |
| 3900 | } |
| 3901 | |
| 3902 | get_song() { |
| 3903 | players=( |
| 3904 | "amarok" |
| 3905 | "audacious" |
| 3906 | "banshee" |
| 3907 | "bluemindo" |
| 3908 | "cider" |
| 3909 | "clementine" |
| 3910 | "cmus" |
| 3911 | "deadbeef" |
| 3912 | "deepin-music" |
| 3913 | "dragon" |
| 3914 | "elisa" |
| 3915 | "exaile" |
| 3916 | "gnome-music" |
| 3917 | "gmusicbrowser" |
| 3918 | "gogglesmm" |
| 3919 | "guayadeque" |
| 3920 | "io.elementary.music" |
| 3921 | "iTunes" |
| 3922 | "Music" |
| 3923 | "juk" |
| 3924 | "lollypop" |
| 3925 | "MellowPlayer" |
| 3926 | "mocp" |
| 3927 | "mopidy" |
| 3928 | "mpd" |
| 3929 | "muine" |
| 3930 | "netease-cloud-music" |
| 3931 | "olivia" |
| 3932 | "plasma-browser-integration" |
| 3933 | "playerctl" |
| 3934 | "pogo" |
| 3935 | "pragha" |
| 3936 | "qmmp" |
| 3937 | "quodlibet" |
| 3938 | "rhythmbox" |
| 3939 | "sayonara" |
| 3940 | "smplayer" |
| 3941 | "spotify" |
| 3942 | "Spotify" |
| 3943 | "strawberry" |
| 3944 | "tauonmb" |
| 3945 | "tomahawk" |
| 3946 | "tidal-hifi" |
| 3947 | "vlc" |
| 3948 | "xmms2d" |
| 3949 | "xnoise" |
| 3950 | "yarock" |
| 3951 | ) |
| 3952 | |
| 3953 | printf -v players "|%s" "${players[@]}" |
| 3954 | player="$(ps aux | awk -v pattern="(${players:1})" \ |
| 3955 | '!/ awk / && !/iTunesHelper/ && match($0,pattern){print substr($0,RSTART,RLENGTH); exit}')" |
| 3956 | |
| 3957 | [[ "$music_player" && "$music_player" != "auto" ]] && player="$music_player" |
| 3958 | |
| 3959 | get_song_dbus() { |
| 3960 | # Multiple players use an almost identical dbus command to get the information. |
| 3961 | # This function saves us using the same command throughout the function. |
| 3962 | song="$(\ |
| 3963 | dbus-send --print-reply --dest=org.mpris.MediaPlayer2."${1}" /org/mpris/MediaPlayer2 \ |
| 3964 | org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' \ |
| 3965 | string:'Metadata' |\ |
| 3966 | awk -F '"' 'BEGIN {RS=" entry"}; /"xesam:artist"/ {a = $4} /"xesam:album"/ {b = $4} |
| 3967 | /"xesam:title"/ {t = $4} END {print a " \n" b " \n" t}' |
| 3968 | )" |
| 3969 | } |
| 3970 | |
| 3971 | case ${player/*\/} in |
| 3972 | "mocp"*) song="$(mocp -Q '%artist \n%album \n%song')" ;; |
| 3973 | "deadbeef"*) song="$(deadbeef --nowplaying-tf '%artist% \\n%album% \\n%title%')" ;; |
| 3974 | "qmmp"*) song="$(qmmp --nowplaying '%p \n%a \n%t')" ;; |
| 3975 | "gnome-music"*) get_song_dbus "GnomeMusic" ;; |
| 3976 | "lollypop"*) get_song_dbus "Lollypop" ;; |
| 3977 | "clementine"*) get_song_dbus "clementine" ;; |
| 3978 | |
| 3979 | "juk"*) get_song_dbus "juk" ;; |
| 3980 | "bluemindo"*) get_song_dbus "Bluemindo" ;; |
| 3981 | "guayadeque"*) get_song_dbus "guayadeque" ;; |
| 3982 | "yarock"*) get_song_dbus "yarock" ;; |
| 3983 | "deepin-music"*) get_song_dbus "DeepinMusic" ;; |
| 3984 | "tomahawk"*) get_song_dbus "tomahawk" ;; |
| 3985 | "elisa"*) get_song_dbus "elisa" ;; |
| 3986 | "sayonara"*) get_song_dbus "sayonara" ;; |
| 3987 | "audacious"*) get_song_dbus "audacious" ;; |
| 3988 | "vlc"*) get_song_dbus "vlc" ;; |
| 3989 | "gmusicbrowser"*) get_song_dbus "gmusicbrowser" ;; |
| 3990 | "pragha"*) get_song_dbus "pragha" ;; |
| 3991 | "amarok"*) get_song_dbus "amarok" ;; |
| 3992 | "dragon"*) get_song_dbus "dragonplayer" ;; |
| 3993 | "smplayer"*) get_song_dbus "smplayer" ;; |
| 3994 | "rhythmbox"*) get_song_dbus "rhythmbox" ;; |
| 3995 | "strawberry"*) get_song_dbus "strawberry" ;; |
| 3996 | "gogglesmm"*) get_song_dbus "gogglesmm" ;; |
| 3997 | "xnoise"*) get_song_dbus "xnoise" ;; |
| 3998 | "tauonmb"*) get_song_dbus "tauon" ;; |
| 3999 | "tidal-hifi"*) get_song_dbus "tidal-hifi" ;; |
| 4000 | "olivia"*) get_song_dbus "olivia" ;; |
| 4001 | "exaile"*) get_song_dbus "exaile" ;; |
| 4002 | "cider"*) get_song_dbus "cider2" ;; |
| 4003 | "netease-cloud-music"*) get_song_dbus "netease-cloud-music" ;; |
| 4004 | "plasma-browser-integration"*) get_song_dbus "plasma-browser-integration" ;; |
| 4005 | "io.elementary.music"*) get_song_dbus "Music" ;; |
| 4006 | "MellowPlayer"*) get_song_dbus "MellowPlayer3" ;; |
| 4007 | |
| 4008 | "mpd"* | "mopidy"*) |
| 4009 | song="$(mpc -f '%artist% \n%album% \n%title%' current "${mpc_args[@]}")" |
| 4010 | ;; |
| 4011 | |
| 4012 | "xmms2d"*) |
| 4013 | song="$(xmms2 current -f "\${artist}"$' \n'"\${album}"$' \n'"\${title}")" |
| 4014 | ;; |
| 4015 | |
| 4016 | "cmus"*) |
| 4017 | # NOTE: cmus >= 2.8.0 supports mpris2 |
| 4018 | song="$(cmus-remote -Q | awk '/tag artist/ {$1=$2=""; a=$0} |
| 4019 | /tag album / {$1=$2=""; b=$0} |
| 4020 | /tag title/ {$1=$2=""; t=$0} |
| 4021 | END {print a " \n" b " \n" t}')" |
| 4022 | ;; |
| 4023 | |
| 4024 | "spotify"*) |
| 4025 | case $os in |
| 4026 | "Linux") get_song_dbus "spotify" ;; |
| 4027 | |
| 4028 | "Mac OS X"|"macOS") |
| 4029 | song="$(osascript -e 'tell application "Spotify" to artist of current track as¬ |
| 4030 | string & "\n" & album of current track as¬ |
| 4031 | string & "\n" & name of current track as string')" |
| 4032 | ;; |
| 4033 | esac |
| 4034 | ;; |
| 4035 | |
| 4036 | "itunes"*) |
| 4037 | song="$(osascript -e 'tell application "iTunes" to artist of current track as¬ |
| 4038 | string & "\n" & album of current track as¬ |
| 4039 | string & "\n" & name of current track as string')" |
| 4040 | ;; |
| 4041 | |
| 4042 | "music"*) |
| 4043 | song="$(osascript -e 'tell application "Music" to artist of current track as¬ |
| 4044 | string & "\n" & album of current track as¬ |
| 4045 | string & "\n" & name of current track as string')" |
| 4046 | ;; |
| 4047 | |
| 4048 | "banshee"*) |
| 4049 | song="$(banshee --query-artist --query-album --query-title |\ |
| 4050 | awk -F':' '/^artist/ {a=$2} /^album/ {b=$2} /^title/ {t=$2} |
| 4051 | END {print a " \n" b " \n"t}')" |
| 4052 | ;; |
| 4053 | |
| 4054 | "muine"*) |
| 4055 | song="$(dbus-send --print-reply --dest=org.gnome.Muine /org/gnome/Muine/Player \ |
| 4056 | org.gnome.Muine.Player.GetCurrentSong | |
| 4057 | awk -F':' '/^artist/ {a=$2} /^album/ {b=$2} /^title/ {t=$2} |
| 4058 | END {print a " \n" b " \n" t}')" |
| 4059 | ;; |
| 4060 | |
| 4061 | "quodlibet"*) |
| 4062 | song="$(dbus-send --print-reply --dest=net.sacredchao.QuodLibet \ |
| 4063 | /net/sacredchao/QuodLibet net.sacredchao.QuodLibet.CurrentSong |\ |
| 4064 | awk -F'"' 'BEGIN {RS=" entry"}; /"artist"/ {a=$4} /"album"/ {b=$4} |
| 4065 | /"title"/ {t=$4} END {print a " \n" b " \n" t}')" |
| 4066 | ;; |
| 4067 | |
| 4068 | "pogo"*) |
| 4069 | song="$(dbus-send --print-reply --dest=org.mpris.pogo /Player \ |
| 4070 | org.freedesktop.MediaPlayer.GetMetadata | |
| 4071 | awk -F'"' 'BEGIN {RS=" entry"}; /"artist"/ {a=$4} /"album"/ {b=$4} |
| 4072 | /"title"/ {t=$4} END {print a " \n" b " \n" t}')" |
| 4073 | ;; |
| 4074 | |
| 4075 | "playerctl"*) |
| 4076 | song="$(playerctl metadata --format '{{ artist }} \n{{ album }} \n{{ title }}')" |
| 4077 | ;; |
| 4078 | |
| 4079 | *) mpc &>/dev/null && song="$(mpc -f '%artist% \n%album% \n%title%' current)" || return ;; |
| 4080 | esac |
| 4081 | |
| 4082 | IFS=$'\n' read -d "" -r artist album title <<< "${song//'\n'/$'\n'}" |
| 4083 | |
| 4084 | # Make sure empty tags are truly empty. |
| 4085 | artist="$(trim "$artist")" |
| 4086 | album="$(trim "$album")" |
| 4087 | title="$(trim "$title")" |
| 4088 | |
| 4089 | # Set default values if no tags were found. |
| 4090 | : "${artist:=Unknown Artist}" "${album:=Unknown Album}" "${title:=Unknown Song}" |
| 4091 | |
| 4092 | # Display Artist, Album and Title on separate lines. |
| 4093 | if [[ "$song_shorthand" == "on" ]]; then |
| 4094 | prin "Artist" "$artist" |
| 4095 | prin "Album" "$album" |
| 4096 | prin "Song" "$title" |
| 4097 | else |
| 4098 | song="${song_format/\%artist\%/$artist}" |
| 4099 | song="${song/\%album\%/$album}" |
| 4100 | song="${song/\%title\%/$title}" |
| 4101 | fi |
| 4102 | } |
| 4103 | |
| 4104 | get_resolution() { |
| 4105 | case $os in |
| 4106 | "Mac OS X"|"macOS") |
| 4107 | resolution="" |
| 4108 | temp_plist="/tmp/neowofetch_system_profiler_SPDisplaysDataType.xml" # PlistBuddy doesn't support reading from /dev/stdin |
| 4109 | if system_profiler SPDisplaysDataType -xml > $temp_plist; then |
| 4110 | for ((gpu=0; gpu<999; gpu++)); do |
| 4111 | if PlistBuddy -c "print 0:_items:${gpu}" $temp_plist &> /dev/null; then |
| 4112 | for ((display=0; display<999; display++)); do |
| 4113 | if spdisplays_resolution="$(PlistBuddy -c "print 0:_items:${gpu}:spdisplays_ndrvs:${display}:_spdisplays_resolution" $temp_plist)" 2>/dev/null; then |
| 4114 | spdisplays_resolution="${spdisplays_resolution//.[0-9][0-9]/}" |
| 4115 | if spdisplays_pixels="$(PlistBuddy -c "print 0:_items:${gpu}:spdisplays_ndrvs:${display}:_spdisplays_pixels" $temp_plist)" 2>/dev/null; then |
| 4116 | scaled_x="$(echo "$spdisplays_resolution" | awk '{print $1}')" |
| 4117 | output_x="$(echo "$spdisplays_pixels" | awk '{print $1}')" |
| 4118 | (( scale_factor=output_x/scaled_x )) |
| 4119 | if [[ $scale_factor -gt 1 ]]; then |
| 4120 | if [[ "$spdisplays_resolution" == *"@"* ]]; then |
| 4121 | spdisplays_resolution="${spdisplays_resolution// @/ @${scale_factor}x @}" |
| 4122 | else |
| 4123 | spdisplays_resolution="${spdisplays_resolution} @ ${scale_factor}x" |
| 4124 | fi |
| 4125 | fi |
| 4126 | fi |
| 4127 | spdisplays_resolution="${spdisplays_resolution// x /x}" |
| 4128 | [[ $gpu -gt 0 || $display -gt 0 ]] && resolution+=", " |
| 4129 | resolution+="${spdisplays_resolution}" |
| 4130 | else |
| 4131 | break |
| 4132 | fi |
| 4133 | done |
| 4134 | else |
| 4135 | break |
| 4136 | fi |
| 4137 | done |
| 4138 | |
| 4139 | if [[ "$refresh_rate" == "off" ]]; then |
| 4140 | resolution="${resolution/ @ [0-9][0-9][0.9]Hz}" |
| 4141 | resolution="${resolution/ @ [0-9][0.9]Hz}" |
| 4142 | resolution="${resolution/ @ [0-9]Hz}" |
| 4143 | else |
| 4144 | resolution="${resolution// @ 0Hz}" |
| 4145 | fi |
| 4146 | |
| 4147 | rm $temp_plist |
| 4148 | fi |
| 4149 | ;; |
| 4150 | |
| 4151 | "iPhone OS") |
| 4152 | case $kernel_machine in |
| 4153 | "iPhone1,"[1-2] | "iPhone2,1" | "iPod"[1-3]",1"): "320x480" ;; |
| 4154 | "iPhone3,"[1-3] | "iPhone4,1" | "iPod4,1"): "640x960" ;; |
| 4155 | "iPhone5,"[1-4] | "iPhone6,"[1-2] | "iPhone8,4" | "iPod"[5-7]",1" | "iPod9,1"): "640x1136" ;; |
| 4156 | "iPad1,"[1-2] | "iPad2,"[1-7]): "768x1024" ;; |
| 4157 | "iPhone10,1" | "iPhone10,4" | "iPhone9,1" | "iPhone9,3" | "iPhone8,1" | "iPhone7,2" | "iPhone12,8" | "iPhone14,6"): "750x1334" ;; |
| 4158 | "iPhone11,8" | "iPhone12,1"): "828x1792" ;; |
| 4159 | "iPhone7,1" | "iPhone8,2" | "iPhone9,2" | "iPhone9,4" | "iPhone10,2"): "1080x1920" ;; |
| 4160 | "iPhone13,1" | "iPhone14,4"): "1080x2340" ;; |
| 4161 | "iPhone10,3" | "iPhone10,6" | "iPhone11,2" | "iPhone12,3"): "1125x2436" ;; |
| 4162 | "iPhone13,"[2-3] | "iPhone14,2" | "iPhone14,5" | "iPhone14,7"): "1170x2532" ;; |
| 4163 | "iPhone15,2"): "1179x2556" ;; |
| 4164 | "iPad4,"[1-9] | "iPad3,"[1-6] | "iPad6,"[3-4] | "iPad6,1"[1-2] | "iPad5,"[1-4] | "iPad7,"[5-6] | "iPad11,"[1-2]): "1536x2048" ;; |
| 4165 | "iPhone11,4" | "iPhone11,6" | "iPhone12,5"): "1242x2688" ;; |
| 4166 | "iPad14,"[1-2]): "1488x2266" ;; |
| 4167 | "iPad7,1"[1-2] | "iPad11,"[6-7] | "iPad12,"[1-2]): "1620x2160" ;; |
| 4168 | "iPhone13,4" | "iPhone14,3" | "iPhone14,8"): "1284x2778" ;; |
| 4169 | "iPhone15,3"): "1290x2796" ;; |
| 4170 | "iPad11,"[3-4] | "iPad7,"[3-4]): "1668x2224" ;; |
| 4171 | "iPad13,"[1-2] | "iPad13,1"[6-9]): "1640x2360" ;; |
| 4172 | "iPad8,"[1-4] | "iPad8,"[9-10] | "iPad13,"[4-7] | "iPad14,"[3-6]): "1668x2388" ;; |
| 4173 | "iPad6,"[7-8] | "iPad7,"[1-2] | "iPad8,"[5-8] | "iPad8,1"[1-2] | "iPad13,"[8-9] | "iPad13,1"[0-1] | "iPad14,"[5-6]): "2048x2732" ;; |
| 4174 | esac |
| 4175 | resolution="$_" |
| 4176 | ;; |
| 4177 | |
| 4178 | "Windows") |
| 4179 | IFS=$'\n' read -d "" -ra sw \ |
| 4180 | <<< "$(wmic path Win32_VideoController get CurrentHorizontalResolution)" |
| 4181 | |
| 4182 | IFS=$'\n' read -d "" -ra sh \ |
| 4183 | <<< "$(wmic path Win32_VideoController get CurrentVerticalResolution)" |
| 4184 | |
| 4185 | sw=("${sw[@]//CurrentHorizontalResolution}") |
| 4186 | sh=("${sh[@]//CurrentVerticalResolution}") |
| 4187 | |
| 4188 | for ((mn = 0; mn < ${#sw[@]}; mn++)) { |
| 4189 | [[ ${sw[mn]//[[:space:]]} && ${sh[mn]//[[:space:]]} ]] && |
| 4190 | resolution+="${sw[mn]//[[:space:]]}x${sh[mn]//[[:space:]]}, " |
| 4191 | } |
| 4192 | |
| 4193 | resolution=${resolution%,} |
| 4194 | ;; |
| 4195 | |
| 4196 | "Haiku") |
| 4197 | resolution="$(screenmode | awk -F ' |, ' 'END{printf $2 "x" $3 " @ " $6 $7}')" |
| 4198 | |
| 4199 | [[ "$refresh_rate" == "off" ]] && resolution="${resolution/ @*}" |
| 4200 | ;; |
| 4201 | |
| 4202 | "FreeMiNT") |
| 4203 | # Need to block X11 queries |
| 4204 | ;; |
| 4205 | |
| 4206 | *) |
| 4207 | if type -p xrandr >/dev/null && [[ $DISPLAY && -z $WAYLAND_DISPLAY ]]; then |
| 4208 | case $refresh_rate in |
| 4209 | "on") |
| 4210 | resolution="$(xrandr --nograb --current |\ |
| 4211 | awk 'match($0,/[0-9]*\.[0-9]*\*/) { |
| 4212 | printf $1 " @ " substr($0,RSTART,RLENGTH) "Hz, "}')" |
| 4213 | ;; |
| 4214 | |
| 4215 | "off") |
| 4216 | resolution="$(xrandr --nograb --current |\ |
| 4217 | awk -F 'connected |\\+|\\(' \ |
| 4218 | '/ connected.*[0-9]+x[0-9]+\+/ && $2 {printf $2 ", "}')" |
| 4219 | |
| 4220 | resolution="${resolution/primary, }" |
| 4221 | resolution="${resolution/primary }" |
| 4222 | ;; |
| 4223 | esac |
| 4224 | resolution="${resolution//\*}" |
| 4225 | |
| 4226 | elif type -p xwininfo >/dev/null && [[ $DISPLAY && -z $WAYLAND_DISPLAY ]]; then |
| 4227 | read -r w h \ |
| 4228 | <<< "$(xwininfo -root | awk -F':' '/Width|Height/ {printf $2}')" |
| 4229 | resolution="${w}x${h}" |
| 4230 | |
| 4231 | elif type -p xdpyinfo >/dev/null && [[ $DISPLAY && -z $WAYLAND_DISPLAY ]]; then |
| 4232 | resolution="$(xdpyinfo | awk '/dimensions:/ {printf $2}')" |
| 4233 | |
| 4234 | elif [[ -d /sys/class/drm ]]; then |
| 4235 | for dev in /sys/class/drm/*/modes; do |
| 4236 | read -r single_resolution _ < "$dev" |
| 4237 | |
| 4238 | [[ $single_resolution ]] && resolution="${single_resolution}, ${resolution}" |
| 4239 | done |
| 4240 | fi |
| 4241 | ;; |
| 4242 | esac |
| 4243 | |
| 4244 | resolution="${resolution%%,}" |
| 4245 | resolution="${resolution%%, }" |
| 4246 | [[ -z "${resolution/x}" ]] && resolution= |
| 4247 | } |
| 4248 | |
| 4249 | get_style() { |
| 4250 | # Fix weird output when the function is run multiple times. |
| 4251 | unset qt_theme gtk2_theme gtk3_theme theme path |
| 4252 | |
| 4253 | if [[ "$DISPLAY" && $os != "Mac OS X" && $os != "macOS" ]]; then |
| 4254 | # Get DE if user has disabled the function. |
| 4255 | ((de_run != 1)) && get_de |
| 4256 | |
| 4257 | # Remove version from '$de'. |
| 4258 | [[ $de_version == on ]] && de=${de/ *} |
| 4259 | |
| 4260 | # Check for DE Theme. |
| 4261 | case $de in |
| 4262 | "KDE"* | "Plasma"*) |
| 4263 | kde_config_dir |
| 4264 | |
| 4265 | if [[ -f "${kde_config_dir}/kdeglobals" ]]; then |
| 4266 | kde_config_file="${kde_config_dir}/kdeglobals" |
| 4267 | qt_theme="$(grep "^${kde}" "$kde_config_file")" |
| 4268 | qt_theme="${qt_theme/*=}" |
| 4269 | |
| 4270 | if [[ "$kde" == "widgetStyle" ]] && grep -q "\[Theme\]" "$HOME/.config/plasmarc"; then |
| 4271 | kde_theme="$(awk '/name=/ {gsub(/name=/,"",$0);print $0;exit}' "$HOME/.config/plasmarc")" |
| 4272 | else |
| 4273 | kde_theme="$(grep "^${kde}" "$kde_config_file")" |
| 4274 | kde_theme="${kde_theme/*=}" |
| 4275 | fi |
| 4276 | |
| 4277 | if [[ "$kde" == "font" ]]; then |
| 4278 | kde_font_size="${kde_theme#*,}" |
| 4279 | kde_font_size="${kde_font_size/,*}" |
| 4280 | kde_theme="${kde_theme/,*} ${kde_theme/*,} ${kde_font_size}" |
| 4281 | fi |
| 4282 | |
| 4283 | if [[ "$kde" == "cursorTheme" ]]; then |
| 4284 | if [[ -f "${kde_config_dir}/kcminputrc" ]]; then |
| 4285 | kde_config_file="${kde_config_dir}/kcminputrc" |
| 4286 | elif [[ -f "${kde_config_dir}/startupconfig" ]]; then |
| 4287 | kde="cursortheme" |
| 4288 | kde_config_file="${kde_config_dir}/startupconfig" |
| 4289 | fi |
| 4290 | kde_theme="$(grep "${kde}" "$kde_config_file")" |
| 4291 | kde_theme="${kde_theme/*=}" |
| 4292 | fi |
| 4293 | #kde_theme="$kde_theme [KDE], " |
| 4294 | else |
| 4295 | err "Theme: KDE config files not found, skipping." |
| 4296 | fi |
| 4297 | ;; |
| 4298 | |
| 4299 | *"Cinnamon"*) |
| 4300 | if type -p gsettings >/dev/null; then |
| 4301 | gtk3_theme="$(gsettings get org.cinnamon.desktop.interface "$gsettings")" |
| 4302 | gtk2_theme="$gtk3_theme" |
| 4303 | fi |
| 4304 | ;; |
| 4305 | |
| 4306 | "Gnome"* | "Unity"* | "Budgie"*) |
| 4307 | if type -p gsettings >/dev/null; then |
| 4308 | gtk3_theme="$(gsettings get org.gnome.desktop.interface "$gsettings")" |
| 4309 | gtk2_theme="$gtk3_theme" |
| 4310 | |
| 4311 | elif type -p gconftool-2 >/dev/null; then |
| 4312 | gtk2_theme="$(gconftool-2 -g /desktop/gnome/interface/"$gconf")" |
| 4313 | fi |
| 4314 | ;; |
| 4315 | |
| 4316 | "Mate"*) |
| 4317 | gtk3_theme="$(gsettings get org.mate.interface "$gsettings")" |
| 4318 | gtk2_theme="$gtk3_theme" |
| 4319 | ;; |
| 4320 | |
| 4321 | "Xfce"*) |
| 4322 | type -p xfconf-query >/dev/null && \ |
| 4323 | gtk2_theme="$(xfconf-query -c xsettings -p "$xfconf")" |
| 4324 | ;; |
| 4325 | |
| 4326 | "Trinity") |
| 4327 | tde_config_dir |
| 4328 | |
| 4329 | if [[ -f "${tde_config_dir}/kdeglobals" ]]; then |
| 4330 | tde_config_file="${tde_config_dir}/kdeglobals" |
| 4331 | qt_theme="$(grep "^${kde}" "$tde_config_file")" |
| 4332 | qt_theme="${qt_theme/*=}" |
| 4333 | |
| 4334 | else |
| 4335 | err "Theme: TDE config files not found, skipping." |
| 4336 | fi |
| 4337 | ;; |
| 4338 | |
| 4339 | "LXQt"*) |
| 4340 | shopt -s nullglob |
| 4341 | if ! qt_theme=$(awk -F "=" -v r="^$lxqt" ' |
| 4342 | $1~r { theme=$2 } |
| 4343 | END { print theme } |
| 4344 | ' {/etc/xdg,/etc/xdg/*,"$XDG_CONFIG_HOME"}/lxqt/lxqt.con?); then |
| 4345 | err "Theme: Can't read LXQt config files. Unsetting Qt theme." |
| 4346 | unset qt_theme |
| 4347 | fi |
| 4348 | shopt -u nullglob |
| 4349 | ;; |
| 4350 | |
| 4351 | "Fly") |
| 4352 | fly_config_file |
| 4353 | if [[ $fly == "ColorScheme" ]]; then |
| 4354 | fly_theme="$( |
| 4355 | basename "$( |
| 4356 | awk -F '=' '/^'"${fly}"'/{print $2}' "${HOME}/.fly/paletterc" |
| 4357 | )" |
| 4358 | )" |
| 4359 | if [[ $wm_theme == "Default" && $fly_theme != *"FlyDefault"* ]]; then |
| 4360 | fly_theme=$(awk -F '=' '/^'"${fly}"'/{print $2}'\ |
| 4361 | "${HOME}/.config/fly-admin-themerc") |
| 4362 | fi |
| 4363 | elif [[ $fly == "IconTheme" ]]; then |
| 4364 | fly_theme=$(awk -F '=' '/^'"${fly}"'/{print $2}' "${fly_config_file}") |
| 4365 | elif [[ $fly == "DefaultFont" ]]; then |
| 4366 | fly_theme=$(awk -F'=' '/^'"${fly}"'/\ |
| 4367 | {gsub(/"/, "", $2); \ |
| 4368 | sub(/-.*/, "", $2); \ |
| 4369 | print $2}' "${fly_config_file}") |
| 4370 | fi |
| 4371 | fly_theme+=" [$de], " |
| 4372 | ;; |
| 4373 | esac |
| 4374 | |
| 4375 | # Check for general GTK2 Theme. |
| 4376 | if [[ -z "$gtk2_theme" ]]; then |
| 4377 | if [[ -n "$GTK2_RC_FILES" ]]; then |
| 4378 | IFS=: read -ra rc_files <<< "$GTK2_RC_FILES" |
| 4379 | gtk2_theme="$(grep "^[^#]*${name}" "${rc_files[@]}")" |
| 4380 | elif [[ -f "${HOME}/.gtkrc-2.0" ]]; then |
| 4381 | gtk2_theme="$(grep "^[^#]*${name}" "${HOME}/.gtkrc-2.0")" |
| 4382 | |
| 4383 | elif [[ -f "/etc/gtk-2.0/gtkrc" ]]; then |
| 4384 | gtk2_theme="$(grep "^[^#]*${name}" /etc/gtk-2.0/gtkrc)" |
| 4385 | |
| 4386 | elif [[ -f "/usr/share/gtk-2.0/gtkrc" ]]; then |
| 4387 | gtk2_theme="$(grep "^[^#]*${name}" /usr/share/gtk-2.0/gtkrc)" |
| 4388 | |
| 4389 | fi |
| 4390 | |
| 4391 | gtk2_theme="${gtk2_theme/*${name}*=}" |
| 4392 | fi |
| 4393 | |
| 4394 | # Check for general GTK3 Theme. |
| 4395 | if [[ -z "$gtk3_theme" ]] && type -p dump_xsettings >/dev/null; then |
| 4396 | gtk3_theme="$(dump_xsettings | sed -n "s,^${xfconf#/} ,,p")" |
| 4397 | fi |
| 4398 | if [[ -z "$gtk3_theme" ]]; then |
| 4399 | if [[ -f "${XDG_CONFIG_HOME}/gtk-3.0/settings.ini" ]]; then |
| 4400 | gtk3_theme="$(grep "^[^#]*$name" "${XDG_CONFIG_HOME}/gtk-3.0/settings.ini")" |
| 4401 | |
| 4402 | elif type -p gsettings >/dev/null; then |
| 4403 | gtk3_theme="$(gsettings get org.gnome.desktop.interface "$gsettings")" |
| 4404 | |
| 4405 | elif [[ -f "/etc/gtk-3.0/settings.ini" ]]; then |
| 4406 | gtk3_theme="$(grep "^[^#]*$name" /etc/gtk-3.0/settings.ini)" |
| 4407 | |
| 4408 | elif [[ -f "/usr/share/gtk-3.0/settings.ini" ]]; then |
| 4409 | gtk3_theme="$(grep "^[^#]*$name" /usr/share/gtk-3.0/settings.ini)" |
| 4410 | fi |
| 4411 | |
| 4412 | gtk3_theme="${gtk3_theme/${name}*=}" |
| 4413 | fi |
| 4414 | |
| 4415 | # Handle Qt5ct platform theme |
| 4416 | if [[ "$QT_QPA_PLATFORMTHEME" == 'qt5ct' && -f "${XDG_CONFIG_HOME}/qt5ct/qt5ct.conf" ]]; then |
| 4417 | qt_theme="$(grep "^${qt5ct}" "${XDG_CONFIG_HOME}/qt5ct/qt5ct.conf")" |
| 4418 | qt_theme="${qt_theme/*=}" |
| 4419 | # Reformat font, since qt5ct stores fonts in binary format |
| 4420 | if [[ "$qt5ct" == "general" ]]; then |
| 4421 | # Trim quotes and parentheses |
| 4422 | qt_theme="${qt_theme#'"'}" |
| 4423 | qt_theme="${qt_theme%'"'}" |
| 4424 | qt_theme="${qt_theme#@Variant(}" |
| 4425 | qt_theme="${qt_theme%)}" |
| 4426 | |
| 4427 | # Read font name |
| 4428 | qt5ct_font_name="${qt_theme#*@}" |
| 4429 | qt5ct_font_name="${qt5ct_font_name%%@*}" |
| 4430 | # Interpret backslashes |
| 4431 | qt5ct_font_name="$(printf "%b" "$qt5ct_font_name")" |
| 4432 | qt5ct_font_name="${qt5ct_font_name//[[:cntrl:]]}" # trim control characters |
| 4433 | |
| 4434 | # Get font size |
| 4435 | # Tread carefully, Qt sometimes uses @ in binary data |
| 4436 | local pre_size="${qt_theme#*@}" |
| 4437 | local pre_size="${pre_size#*@}" |
| 4438 | # Need to declare array and manually handle the second byte |
| 4439 | # (workaround for `od` without --endian) |
| 4440 | IFS=' ' local raw_size=( "$(printf "%b" "${pre_size}" | od -An -tu1 -N2)" ) |
| 4441 | # Split the upper 4 bits (exponent) the lower 12. |
| 4442 | local lowers=$(( ((raw_size[0]%16)<<8) + (raw_size[1]) )) |
| 4443 | local upper4=$((raw_size[0]>>4 )) |
| 4444 | qt5ct_font_size=$(( (2**(upper4+1)) + (lowers>>(11-upper4)) )) |
| 4445 | |
| 4446 | qt_theme="$qt5ct_font_name, $qt5ct_font_size" |
| 4447 | fi |
| 4448 | fi |
| 4449 | |
| 4450 | # Forced Qt theme through environment variables - Apply only if handling widget style! |
| 4451 | [[ "$kde" == "widgetStyle" && "$qt_theme" ]] && qt_theme="${QT_STYLE_OVERRIDE:-"$qt_theme"}" |
| 4452 | |
| 4453 | # Reformat Qt fonts |
| 4454 | if [[ "$kde" == "font" && "$qt_theme" ]]; then |
| 4455 | qt_font_size="${qt_theme#*,}" |
| 4456 | qt_font_size="${qt_font_size/,*}" |
| 4457 | qt_theme="${qt_theme/,*}, ${qt_font_size}" |
| 4458 | fi |
| 4459 | |
| 4460 | # Trim whitespace. |
| 4461 | gtk2_theme="$(trim "$gtk2_theme")" |
| 4462 | gtk3_theme="$(trim "$gtk3_theme")" |
| 4463 | qt_theme="$(trim "$qt_theme")" |
| 4464 | kde_theme="$(trim "$kde_theme")" |
| 4465 | |
| 4466 | # Remove quotes. |
| 4467 | gtk2_theme="$(trim_quotes "$gtk2_theme")" |
| 4468 | gtk3_theme="$(trim_quotes "$gtk3_theme")" |
| 4469 | qt_theme="$(trim_quotes "$qt_theme")" |
| 4470 | kde_theme="$(trim_quotes "$kde_theme")" |
| 4471 | |
| 4472 | # Handle Qt theme engines that load external themes |
| 4473 | case "$qt_theme" in |
| 4474 | 'Kvantum') |
| 4475 | if kvantum_theme="$(grep '^theme' "${XDG_CONFIG_HOME}/Kvantum/kvantum.kvconfig")"; then |
| 4476 | qt_theme="$kvantum_theme" |
| 4477 | qt_theme="${qt_theme/*=}" |
| 4478 | fi |
| 4479 | ;; |
| 4480 | *'gtk2') |
| 4481 | qt_theme="$gtk2_theme" |
| 4482 | ;; |
| 4483 | esac |
| 4484 | |
| 4485 | # Toggle visibility of GTK themes. |
| 4486 | [[ "$gtk2" == "off" ]] && unset gtk2_theme |
| 4487 | [[ "$gtk3" == "off" ]] && unset gtk3_theme |
| 4488 | [[ "$qt" == "off" ]] && unset qt_theme |
| 4489 | # TODO: kde theme visibility |
| 4490 | |
| 4491 | # Format the string based on which themes exist. |
| 4492 | # append_theme theme toolkit |
| 4493 | append_theme() { |
| 4494 | if [[ "$1" ]]; then |
| 4495 | if [[ "$1" == "$cur_theme" ]]; then |
| 4496 | theme+="/$2" |
| 4497 | else |
| 4498 | theme+="], $1 [$2" |
| 4499 | cur_theme="$1" |
| 4500 | fi |
| 4501 | fi |
| 4502 | } |
| 4503 | theme='' |
| 4504 | local cur_theme='' |
| 4505 | append_theme "$kde_theme" 'KDE' |
| 4506 | append_theme "$fly_theme" 'Fly' |
| 4507 | append_theme "$qt_theme" 'Qt' |
| 4508 | append_theme "$gtk2_theme" 'GTK2' |
| 4509 | append_theme "$gtk3_theme" 'GTK3' |
| 4510 | |
| 4511 | # Final string. |
| 4512 | if [[ -n "$theme" ]]; then |
| 4513 | theme+=']' |
| 4514 | theme="${theme#'], '}" |
| 4515 | theme="${theme/'GTK2/GTK3'/'GTK2/3'}" |
| 4516 | theme="${theme%, }" |
| 4517 | fi |
| 4518 | |
| 4519 | # Make the output shorter by removing "[GTKX]" from the string. |
| 4520 | if [[ "$gtk_shorthand" == "on" ]]; then |
| 4521 | theme="${theme// '['*']'}" |
| 4522 | fi |
| 4523 | fi |
| 4524 | } |
| 4525 | |
| 4526 | get_theme() { |
| 4527 | name="gtk-theme-name" |
| 4528 | gsettings="gtk-theme" |
| 4529 | gconf="gtk_theme" |
| 4530 | xfconf="/Net/ThemeName" |
| 4531 | kde="widgetStyle" |
| 4532 | lxqt="style" |
| 4533 | qt5ct="style=" # There is a property called 'stylesheets'. |
| 4534 | fly="ColorScheme" |
| 4535 | |
| 4536 | get_style |
| 4537 | } |
| 4538 | |
| 4539 | get_icons() { |
| 4540 | name="gtk-icon-theme-name" |
| 4541 | gsettings="icon-theme" |
| 4542 | gconf="icon_theme" |
| 4543 | xfconf="/Net/IconThemeName" |
| 4544 | kde="Theme" |
| 4545 | lxqt="icon_theme" |
| 4546 | qt5ct="icon_theme" |
| 4547 | fly="IconTheme" |
| 4548 | |
| 4549 | get_style |
| 4550 | icons="$theme" |
| 4551 | } |
| 4552 | |
| 4553 | get_font() { |
| 4554 | name="gtk-font-name" |
| 4555 | gsettings="font-name" |
| 4556 | gconf="font_theme" |
| 4557 | xfconf="/Gtk/FontName" |
| 4558 | kde="font" |
| 4559 | lxqt="font" |
| 4560 | qt5ct="general" |
| 4561 | fly="DefaultFont" |
| 4562 | |
| 4563 | get_style |
| 4564 | font="$theme" |
| 4565 | } |
| 4566 | |
| 4567 | get_cursor() { |
| 4568 | name="gtk-cursor-theme-name" |
| 4569 | gsettings="cursor-theme" |
| 4570 | gconf="cursor_theme" |
| 4571 | xfconf="/Gtk/CursorThemeName" |
| 4572 | kde="cursorTheme" |
| 4573 | |
| 4574 | get_style |
| 4575 | cursor="$theme" |
| 4576 | } |
| 4577 | |
| 4578 | get_java_ver() { |
| 4579 | if command -v java &> /dev/null; then |
| 4580 | java_ver=$(java -version 2>&1) |
| 4581 | java_ver=${java_ver%\"*} |
| 4582 | java_ver=${java_ver#*\"} |
| 4583 | fi |
| 4584 | } |
| 4585 | |
| 4586 | get_python_ver() { |
| 4587 | if command -v python &> /dev/null; then |
| 4588 | python_ver=$(python -VVV) |
| 4589 | python_ver=${python_ver//$'\n'/} |
| 4590 | python_ver=${python_ver//\(+([^\)])\)} |
| 4591 | python_ver=$(echo "$python_ver" | awk '$1=$1') |
| 4592 | fi |
| 4593 | } |
| 4594 | |
| 4595 | get_node_ver() { |
| 4596 | if command -v node &> /dev/null; then |
| 4597 | node_ver=$(node --version) |
| 4598 | node_ver=${node_ver#v} |
| 4599 | fi |
| 4600 | } |
| 4601 | |
| 4602 | get_term() { |
| 4603 | # If function was run, stop here. |
| 4604 | ((term_run == 1)) && return |
| 4605 | |
| 4606 | # Workaround for macOS systems that |
| 4607 | # don't support the block below. |
| 4608 | case $TERM_PROGRAM in |
| 4609 | "iTerm.app") term="iTerm2" ;; |
| 4610 | "Terminal.app"|"Apple_Terminal") term="Apple Terminal" ;; |
| 4611 | "Hyper") term="HyperTerm" ;; |
| 4612 | *) term="${TERM_PROGRAM/\.app}" ;; |
| 4613 | esac |
| 4614 | |
| 4615 | # Most likely TosWin2 on FreeMiNT - quick check |
| 4616 | [[ "$TERM" == "tw52" || "$TERM" == "tw100" ]] && term="TosWin2" |
| 4617 | [[ "$SSH_CONNECTION" ]] && term="$SSH_TTY" |
| 4618 | [[ "$WT_SESSION" ]] && term="Windows Terminal" |
| 4619 | |
| 4620 | # Check $PPID for terminal emulator. |
| 4621 | while [[ -z "$term" ]]; do |
| 4622 | parent="$(get_ppid "$parent")" |
| 4623 | [[ -z "$parent" ]] && break |
| 4624 | name="$(get_process_name "$parent")" |
| 4625 | |
| 4626 | case ${name##*/} in |
| 4627 | "${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp"|"hyfetch") ;; |
| 4628 | |
| 4629 | "login"*|*"Login"*|"init"|"(init)") |
| 4630 | term="$(tty)" |
| 4631 | ;; |
| 4632 | |
| 4633 | "ruby"|"1"|"tmux"*|"systemd"|"sshd"*|"python"*|\ |
| 4634 | "USER"*"PID"*|"kdeinit"*|"launchd"*|"bwrap") |
| 4635 | break |
| 4636 | ;; |
| 4637 | |
| 4638 | "."*"-wrap"*) |
| 4639 | [[ $name =~ \.(.*)-wrap.* ]] && term=${BASH_REMATCH[1]} |
| 4640 | ;; |
| 4641 | |
| 4642 | "gnome-terminal-"*) term="gnome-terminal" ;; |
| 4643 | "kgx") term="gnome-console" ;; |
| 4644 | "cutefish-terminal"*) term="cutefish-terminal" ;; |
| 4645 | "urxvtd") term="urxvt" ;; |
| 4646 | *"nvim") term="Neovim Terminal" ;; |
| 4647 | *"NeoVimServer"*) term="VimR Terminal" ;; |
| 4648 | |
| 4649 | *) |
| 4650 | # Fix issues with long process names on Linux. |
| 4651 | [[ $os == Linux ]] && term=$(realpath "/proc/$parent/exe") |
| 4652 | |
| 4653 | term="${name##*/}" |
| 4654 | |
| 4655 | # Fix wrapper names in Nix. |
| 4656 | [[ $term == .*-wrapped ]] && { |
| 4657 | term="${term#.}" |
| 4658 | term="${term%-wrapped}" |
| 4659 | } |
| 4660 | ;; |
| 4661 | esac |
| 4662 | done |
| 4663 | |
| 4664 | [[ $FIG_TERM == "1" ]] && term="$term + Fig" |
| 4665 | |
| 4666 | # Termux sets TERMUX_VERSION. Put this after the PPID check because this is |
| 4667 | # also set if using a terminal on an X server. |
| 4668 | [[ (-z "$term" && "$TERMUX_VERSION") || $term == "com.termux" ]] && term="Termux ${TERMUX_VERSION}" |
| 4669 | |
| 4670 | # Log that the function was run. |
| 4671 | term_run=1 |
| 4672 | } |
| 4673 | |
| 4674 | get_term_font() { |
| 4675 | ((term_run != 1)) && get_term |
| 4676 | |
| 4677 | case $term in |
| 4678 | "alacritty"*) |
| 4679 | # Alacritty switched to TOML for it's config the first version |
| 4680 | # with that will take a long time to be in repos and gain adoption. |
| 4681 | |
| 4682 | shopt -s nullglob |
| 4683 | confs_yaml=({$XDG_CONFIG_HOME,$HOME}/{alacritty,}/{.,}alacritty.ym?) |
| 4684 | confs_toml=({$XDG_CONFIG_HOME,$HOME}/{alacritty,}/{.,}alacritty.tom?) |
| 4685 | shopt -u nullglob |
| 4686 | |
| 4687 | if [[ -f "${confs_toml[0]}" ]]; then |
| 4688 | term_font="$(awk -F' *= *' '/^\[.*\]$/{section=substr($0, 2, length-2)} |
| 4689 | section == "font.normal" && $1 == "family"{sub(/^"/,"", $2); |
| 4690 | sub(/"$/, "", $2); print $2}' "${confs_toml[0]}")" |
| 4691 | elif [[ -f "${confs_yaml[0]}" ]]; then |
| 4692 | term_font="$(awk '/normal:/ {while (!/family:/ || /#/) |
| 4693 | {if (!getline) {exit}} print; exit}' "${confs_yaml[0]}")" |
| 4694 | else |
| 4695 | return |
| 4696 | fi |
| 4697 | term_font="${term_font/*family:}" |
| 4698 | term_font="${term_font/$'\n'*}" |
| 4699 | term_font="${term_font/\#*}" |
| 4700 | term_font="${term_font//\"}" |
| 4701 | ;; |
| 4702 | |
| 4703 | "Apple_Terminal"*) |
| 4704 | term_font="$(osascript <<END |
| 4705 | tell application "Terminal" to font name of window frontmost \ |
| 4706 | & " " & font size of window frontmost |
| 4707 | END |
| 4708 | )" |
| 4709 | ;; |
| 4710 | |
| 4711 | "cutefish-terminal") |
| 4712 | term_font="$(awk -F '=' '/fontName=/ {a=$2} /fontPointSize=/ {b=$2} END {print a,b}' \ |
| 4713 | "${XDG_CONFIG_HOME}/cutefishos/cutefish-terminal.conf")" |
| 4714 | ;; |
| 4715 | |
| 4716 | "iTerm2"*) |
| 4717 | # Unfortunately the profile name is not unique, but it seems to be the only thing |
| 4718 | # that identifies an active profile. There is the "id of current session of current win- |
| 4719 | # dow" though, but that does not match to a guid in the plist. |
| 4720 | # So, be warned, collisions may occur! |
| 4721 | # See: https://groups.google.com/forum/#!topic/iterm2-discuss/0tO3xZ4Zlwg |
| 4722 | local current_profile_name profiles_count profile_name diff_font |
| 4723 | |
| 4724 | current_profile_name=$ITERM_PROFILE |
| 4725 | # Warning: Dynamic profiles are not taken into account here! |
| 4726 | # https://www.iterm2.com/documentation-dynamic-profiles.html |
| 4727 | font_file="${HOME}/Library/Preferences/com.googlecode.iterm2.plist" |
| 4728 | |
| 4729 | # Count Guids in "New Bookmarks"; they should be unique |
| 4730 | profiles_count="$(PlistBuddy -c "Print ':New Bookmarks:'" "$font_file" | \ |
| 4731 | grep -w -c "Guid")" |
| 4732 | |
| 4733 | for ((i=0; i<profiles_count; i++)); do |
| 4734 | profile_name="$(PlistBuddy -c "Print ':New Bookmarks:${i}:Name:'" "$font_file")" |
| 4735 | |
| 4736 | if [[ "$profile_name" == "$current_profile_name" ]]; then |
| 4737 | # "Normal Font" |
| 4738 | term_font="$(PlistBuddy -c "Print ':New Bookmarks:${i}:Normal Font:'" \ |
| 4739 | "$font_file")" |
| 4740 | |
| 4741 | # Font for non-ascii characters |
| 4742 | # Only check for a different non-ascii font, if the user checked |
| 4743 | # the "use a different font for non-ascii text" switch. |
| 4744 | diff_font="$(PlistBuddy -c "Print ':New Bookmarks:${i}:Use Non-ASCII Font:'" \ |
| 4745 | "$font_file")" |
| 4746 | |
| 4747 | if [[ "$diff_font" == "true" ]]; then |
| 4748 | non_ascii="$(PlistBuddy -c "Print ':New Bookmarks:${i}:Non Ascii Font:'" \ |
| 4749 | "$font_file")" |
| 4750 | |
| 4751 | [[ "$term_font" != "$non_ascii" ]] && \ |
| 4752 | term_font="$term_font (normal) / $non_ascii (non-ascii)" |
| 4753 | fi |
| 4754 | fi |
| 4755 | done |
| 4756 | ;; |
| 4757 | |
| 4758 | "deepin-terminal"*) |
| 4759 | term_font="$(awk -F '=' '/font=/ {a=$2} /font_size/ {b=$2} END {print a,b}' \ |
| 4760 | "${XDG_CONFIG_HOME}/deepin/deepin-terminal/config.conf")" |
| 4761 | ;; |
| 4762 | |
| 4763 | "GNUstep_Terminal") |
| 4764 | term_font="$(awk -F '>|<' '/>TerminalFont</ {getline; f=$3} |
| 4765 | />TerminalFontSize</ {getline; s=$3} END {print f,s}' \ |
| 4766 | "${HOME}/GNUstep/Defaults/Terminal.plist")" |
| 4767 | ;; |
| 4768 | |
| 4769 | "Hyper"*) |
| 4770 | term_font="$(awk -F':|,' '/fontFamily/ {print $2; exit}' "${HOME}/.hyper.js")" |
| 4771 | term_font="$(trim_quotes "$term_font")" |
| 4772 | ;; |
| 4773 | |
| 4774 | "kitty"*) |
| 4775 | term_font="from kitty.cli import *; o = create_default_opts(); \ |
| 4776 | print(f'{o.font_family} {o.font_size}')" |
| 4777 | term_font="$(kitty +runpy ''"$term_font"'')" |
| 4778 | term_font="${term_font//=}" |
| 4779 | term_font="${term_font//\'}" |
| 4780 | ;; |
| 4781 | |
| 4782 | "konsole" | "yakuake") |
| 4783 | # Get Process ID of current konsole window / tab |
| 4784 | child="$(get_ppid "$$")" |
| 4785 | |
| 4786 | # Loop while the process name is not "konsole"/"yakuake" |
| 4787 | while [[ "$(ps -p "$(get_ppid "$child")" -o comm=)" != "$term" ]]; do |
| 4788 | # Get the parent process ID |
| 4789 | child="$(get_ppid "$child")" |
| 4790 | |
| 4791 | # Exit the loop if the parent process ID is 1 (i.e., init) |
| 4792 | if [[ "$child" == "1" ]]; then |
| 4793 | break |
| 4794 | fi |
| 4795 | done |
| 4796 | |
| 4797 | QT_BINDIR="$(qtpaths --binaries-dir)" && PATH+=":$QT_BINDIR" |
| 4798 | |
| 4799 | IFS=$'\n' read -d "" -ra konsole_instances \ |
| 4800 | <<< "$(qdbus | awk '/org.kde.'"$term"'/ {print $1}')" |
| 4801 | |
| 4802 | for i in "${konsole_instances[@]}"; do |
| 4803 | IFS=$'\n' read -d "" -ra konsole_sessions <<< "$(qdbus "$i" | grep -F '/Sessions/')" |
| 4804 | |
| 4805 | for session in "${konsole_sessions[@]}"; do |
| 4806 | if ((child == "$(qdbus "$i" "$session" processId)")); then |
| 4807 | profile="$(qdbus "$i" "$session" environment |\ |
| 4808 | awk -F '=' '/KONSOLE_PROFILE_NAME/ {print $2}')" |
| 4809 | [[ $profile ]] || profile="$(qdbus "$i" "$session" profile)" |
| 4810 | break |
| 4811 | fi |
| 4812 | done |
| 4813 | [[ $profile ]] && break |
| 4814 | done |
| 4815 | |
| 4816 | [[ $profile ]] || return |
| 4817 | |
| 4818 | # We could have two profile files for the same profile name, take first match |
| 4819 | profile_filename="$(grep -l "Name=${profile}" "$HOME"/.local/share/konsole/*.profile)" |
| 4820 | profile_filename="${profile_filename/$'\n'*}" |
| 4821 | |
| 4822 | [[ $profile_filename ]] && \ |
| 4823 | term_font="$(awk -F '=|,' '/^Font=/ {print $2,$3}' "$profile_filename")" |
| 4824 | ;; |
| 4825 | |
| 4826 | "lxterminal"*) |
| 4827 | term_font="$(awk -F '=' '/fontname=/ {print $2; exit}' \ |
| 4828 | "${XDG_CONFIG_HOME}/lxterminal/lxterminal.conf")" |
| 4829 | ;; |
| 4830 | |
| 4831 | "mate-terminal") |
| 4832 | # To get the actual config we have to create a temporarily file with the |
| 4833 | # --save-config option. |
| 4834 | mateterm_config="/tmp/mateterm.cfg" |
| 4835 | |
| 4836 | # Ensure /tmp exists and we do not overwrite anything. |
| 4837 | if [[ -d "/tmp" && ! -f "$mateterm_config" ]]; then |
| 4838 | mate-terminal --save-config="$mateterm_config" |
| 4839 | |
| 4840 | role="$(xprop -id "${WINDOWID}" WM_WINDOW_ROLE)" |
| 4841 | role="${role##* }" |
| 4842 | role="${role//\"}" |
| 4843 | |
| 4844 | profile="$(awk -F '=' -v r="$role" \ |
| 4845 | '$0~r { |
| 4846 | getline; |
| 4847 | if(/Maximized/) getline; |
| 4848 | if(/Fullscreen/) getline; |
| 4849 | id=$2"]" |
| 4850 | } $0~id {if(id) {getline; print $2; exit}}' \ |
| 4851 | "$mateterm_config")" |
| 4852 | |
| 4853 | rm -f "$mateterm_config" |
| 4854 | |
| 4855 | mate_get() { |
| 4856 | gsettings get org.mate.terminal.profile:/org/mate/terminal/profiles/"$1"/ "$2" |
| 4857 | } |
| 4858 | |
| 4859 | if [[ "$(mate_get "$profile" "use-system-font")" == "true" ]]; then |
| 4860 | term_font="$(gsettings get org.mate.interface monospace-font-name)" |
| 4861 | else |
| 4862 | term_font="$(mate_get "$profile" "font")" |
| 4863 | fi |
| 4864 | term_font="$(trim_quotes "$term_font")" |
| 4865 | fi |
| 4866 | ;; |
| 4867 | |
| 4868 | "mintty") |
| 4869 | term_font="$(awk -F '=' '!/^($|#)/ && /^\\s*Font\\s*=/ {printf $2; exit}' "${HOME}/.minttyrc")" |
| 4870 | ;; |
| 4871 | |
| 4872 | "pantheon"*) |
| 4873 | term_font="$(gsettings get org.pantheon.terminal.settings font)" |
| 4874 | |
| 4875 | [[ -z "${term_font//\'}" ]] && \ |
| 4876 | term_font="$(gsettings get org.gnome.desktop.interface monospace-font-name)" |
| 4877 | |
| 4878 | term_font="$(trim_quotes "$term_font")" |
| 4879 | ;; |
| 4880 | |
| 4881 | "qterminal") |
| 4882 | term_font="$(awk -F '=' '/fontFamily=/ {a=$2} /fontSize=/ {b=$2} END {print a,b}' \ |
| 4883 | "${XDG_CONFIG_HOME}/qterminal.org/qterminal.ini")" |
| 4884 | ;; |
| 4885 | |
| 4886 | "sakura"*) |
| 4887 | term_font="$(awk -F '=' '/^font=/ {print $2; exit}' \ |
| 4888 | "${XDG_CONFIG_HOME}/sakura/sakura.conf")" |
| 4889 | ;; |
| 4890 | |
| 4891 | "st") |
| 4892 | term_font="$(ps -o command= -p "$parent" | grep -F -- "-f")" |
| 4893 | |
| 4894 | if [[ "$term_font" ]]; then |
| 4895 | term_font="${term_font/*-f/}" |
| 4896 | term_font="${term_font/ -*/}" |
| 4897 | |
| 4898 | else |
| 4899 | # On Linux we can get the exact path to the running binary through the procfs |
| 4900 | # (in case `st` is launched from outside of $PATH) on other systems we just |
| 4901 | # have to guess and assume `st` is invoked from somewhere in the users $PATH |
| 4902 | [[ -L "/proc/$parent/exe" ]] && binary="/proc/$parent/exe" || binary="$(type -p st)" |
| 4903 | |
| 4904 | # Grep the output of strings on the `st` binary for anything that looks vaguely |
| 4905 | # like a font definition. NOTE: There is a slight limitation in this approach. |
| 4906 | # Technically "Font Name" is a valid font. As it doesn't specify any font options |
| 4907 | # though it is hard to match it correctly amongst the rest of the noise. |
| 4908 | st_bin=$(strings "$binary") |
| 4909 | |
| 4910 | # Grab font information from strings in binary. |
| 4911 | term_font=${term_font:-"$( |
| 4912 | grep -F -m 1 \ |
| 4913 | -e "pixelsize=" \ |
| 4914 | -e "size=" \ |
| 4915 | -e "antialias=" \ |
| 4916 | -e "autohint=" <<< "$st_bin" |
| 4917 | )"} |
| 4918 | |
| 4919 | # Grab font information from Xresources. |
| 4920 | [[ $st_bin == *resource* ]] && { |
| 4921 | term_font=$(xrdb -query | grep -im 1 -e "^${term/d}"'\**\.*font:' -e '^\*font:' -e '^\*.font:') |
| 4922 | term_font=$(trim "${term_font/*[\*.]"font:"}") |
| 4923 | } |
| 4924 | fi |
| 4925 | |
| 4926 | term_font="${term_font/xft:}" |
| 4927 | term_font="${term_font/:*}" |
| 4928 | ;; |
| 4929 | |
| 4930 | "terminology") |
| 4931 | term_font="$(strings "${XDG_CONFIG_HOME}/terminology/config/standard/base.cfg" |\ |
| 4932 | awk '/^font\.name$/{print a}{a=$0}')" |
| 4933 | term_font="${term_font/.pcf}" |
| 4934 | term_font="${term_font/:*}" |
| 4935 | ;; |
| 4936 | |
| 4937 | "termite") |
| 4938 | [[ -f "${XDG_CONFIG_HOME}/termite/config" ]] && \ |
| 4939 | termite_config="${XDG_CONFIG_HOME}/termite/config" |
| 4940 | |
| 4941 | XDG_DIR="/etc/xdg" |
| 4942 | IFS=":" |
| 4943 | for directory in $XDG_CONFIG_DIRS; do |
| 4944 | if [[ -f "$directory/termite/config" ]]; then |
| 4945 | XDG_DIR="$directory" |
| 4946 | break |
| 4947 | fi |
| 4948 | done |
| 4949 | |
| 4950 | term_font="$(awk -F '= ' '/\[options\]/ { |
| 4951 | opt=1 |
| 4952 | } |
| 4953 | /^\s*font/ { |
| 4954 | if(opt==1) a=$2; |
| 4955 | opt=0 |
| 4956 | } END {print a}' "$XDG_DIR/termite/config" \ |
| 4957 | "$termite_config")" |
| 4958 | ;; |
| 4959 | |
| 4960 | "Termux $TERMUX_VERSION") |
| 4961 | term_font=$(fc-scan /data/data/com.termux/files/home/.termux/font.ttf|grep fullname:|cut -d '"' -f2) |
| 4962 | ;; |
| 4963 | |
| 4964 | urxvt|urxvtd|rxvt-unicode|xterm) |
| 4965 | xrdb=$(xrdb -query) |
| 4966 | term_font=$(grep -im 1 -e "^${term/d}"'\**\.*font:' -e '^\*font:' <<< "$xrdb") |
| 4967 | term_font=${term_font/*"*font:"} |
| 4968 | term_font=${term_font/*".font:"} |
| 4969 | term_font=${term_font/*"*.font:"} |
| 4970 | term_font=$(trim "$term_font") |
| 4971 | |
| 4972 | [[ -z $term_font && $term == xterm ]] && \ |
| 4973 | term_font=$(grep '^XTerm.vt100.faceName' <<< "$xrdb") |
| 4974 | |
| 4975 | term_font=$(trim "${term_font/*"faceName:"}") |
| 4976 | |
| 4977 | # xft: isn't required at the beginning so we prepend it if it's missing |
| 4978 | [[ ${term_font:0:1} != '-' && ${term_font:0:4} != xft: ]] && \ |
| 4979 | term_font=xft:$term_font |
| 4980 | |
| 4981 | # Xresources has two different font formats, this checks which |
| 4982 | # one is in use and formats it accordingly. |
| 4983 | case $term_font in |
| 4984 | *xft:*) |
| 4985 | term_font=${term_font/xft:} |
| 4986 | term_font=${term_font/:*} |
| 4987 | ;; |
| 4988 | |
| 4989 | -*) |
| 4990 | IFS=- read -r _ _ term_font _ <<< "$term_font" |
| 4991 | ;; |
| 4992 | esac |
| 4993 | ;; |
| 4994 | |
| 4995 | "xfce4-terminal") |
| 4996 | # xfce4-terminal is in the process of convertinf config methods |
| 4997 | # First check the new config, then the old one |
| 4998 | if [[ -f "${XDG_CONFIG_HOME}/xfce4/xfconf/xfce-perchannel-xml/xfce4-terminal.xml" ]]; then |
| 4999 | conf="${XDG_CONFIG_HOME}/xfce4/xfconf/xfce-perchannel-xml/xfce4-terminal.xml" |
| 5000 | if ! grep -q 'font-use-system" type="bool" value="true' "$conf"; then |
| 5001 | term_font="$(awk -F '=' '/font-name/{a=$4} END {print substr(a, 1, length(a)-2)}' "$conf")" |
| 5002 | else |
| 5003 | term_font="true" |
| 5004 | fi |
| 5005 | else |
| 5006 | term_font="$(awk -F '=' '/^FontName/{a=$2}/^FontUseSystem=TRUE/{a=$0} END {print a}' \ |
| 5007 | "${XDG_CONFIG_HOME}/xfce4/terminal/terminalrc")" |
| 5008 | fi |
| 5009 | |
| 5010 | # This section works for either config version |
| 5011 | [[ "{$term_font,,}" == *"true"* ]] && \ |
| 5012 | term_font="$(gsettings get org.gnome.desktop.interface monospace-font-name)" |
| 5013 | |
| 5014 | term_font="$(trim_quotes "$term_font")" |
| 5015 | |
| 5016 | # Default fallback font hardcoded in terminal-preferences.c |
| 5017 | [[ -z "$term_font" ]] && term_font="Monospace 12" |
| 5018 | ;; |
| 5019 | |
| 5020 | conemu-*) |
| 5021 | # Could have used `eval set -- "$ConEmuArgs"` instead for arg parsing. |
| 5022 | readarray -t ce_arg_list < <(xargs -n1 printf "%s\n" <<< "${ConEmuArgs-}") |
| 5023 | |
| 5024 | for ce_arg_idx in "${!ce_arg_list[@]}"; do |
| 5025 | # Search for "-LoadCfgFile" arg |
| 5026 | [[ "${ce_arg_list[$ce_arg_idx]}" == -LoadCfgFile ]] && { |
| 5027 | # Conf path is the next arg |
| 5028 | ce_conf=${ce_arg_list[++ce_arg_idx]} |
| 5029 | break |
| 5030 | } |
| 5031 | done |
| 5032 | |
| 5033 | # https://conemu.github.io/en/ConEmuXml.html#search-sequence |
| 5034 | for ce_conf in "$ce_conf" "${ConEmuDir-}\ConEmu.xml" "${ConEmuDir-}\.ConEmu.xml" \ |
| 5035 | "${ConEmuBaseDir-}\ConEmu.xml" "${ConEmuBaseDir-}\.ConEmu.xml" \ |
| 5036 | "$APPDATA\ConEmu.xml" "$APPDATA\.ConEmu.xml"; do |
| 5037 | # Search for first conf file available |
| 5038 | [[ -f "$ce_conf" ]] && { |
| 5039 | # Very basic XML parsing |
| 5040 | term_font="$(awk '/name="FontName"/ && match($0, /data="([^"]*)"/) { |
| 5041 | print substr($0, RSTART+6, RLENGTH-7)}' "$ce_conf")" |
| 5042 | break |
| 5043 | } |
| 5044 | done |
| 5045 | |
| 5046 | # Null-terminated contents in /proc/registry files triggers a Bash warning. |
| 5047 | [[ "$term_font" ]] || read -r term_font < \ |
| 5048 | /proc/registry/HKEY_CURRENT_USER/Software/ConEmu/.Vanilla/FontName |
| 5049 | ;; |
| 5050 | esac |
| 5051 | } |
| 5052 | |
| 5053 | get_disk() { |
| 5054 | type -p df &>/dev/null || |
| 5055 | { err "Disk requires 'df' to function. Install 'df' to get disk info."; return; } |
| 5056 | |
| 5057 | df_version=$(df --version 2>&1) |
| 5058 | |
| 5059 | case $df_version in |
| 5060 | *IMitv*) df_flags=(-P -g) ;; # AIX |
| 5061 | *befhikm*) df_flags=(-P -k) ;; # IRIX |
| 5062 | *hiklnP*) df_flags=(-h) ;; # OpenBSD |
| 5063 | |
| 5064 | *Tracker*) # Haiku |
| 5065 | err "Your version of df cannot be used due to the non-standard flags" |
| 5066 | return |
| 5067 | ;; |
| 5068 | |
| 5069 | *) df_flags=(-P -h) ;; |
| 5070 | esac |
| 5071 | |
| 5072 | # Create an array called 'disks' where each element is a separate line from |
| 5073 | # df's output. We then unset the first element which removes the column titles. |
| 5074 | IFS=$'\n' read -d "" -ra disks <<< "$(df "${df_flags[@]}" "${disk_show[@]:-/}")" |
| 5075 | unset "disks[0]" |
| 5076 | |
| 5077 | # Stop here if 'df' fails to print disk info. |
| 5078 | [[ ${disks[*]} ]] || { |
| 5079 | err "Disk: df failed to print the disks, make sure the disk_show array is set properly." |
| 5080 | return |
| 5081 | } |
| 5082 | |
| 5083 | for disk in "${disks[@]}"; do |
| 5084 | # Create a second array and make each element split at whitespace this time. |
| 5085 | IFS=" " read -ra disk_info <<< "$disk" |
| 5086 | disk_perc=${disk_info[${#disk_info[@]} - 2]/\%} |
| 5087 | |
| 5088 | case $disk_percent in |
| 5089 | off) disk_perc= |
| 5090 | esac |
| 5091 | |
| 5092 | case $df_version in |
| 5093 | *befhikm*) |
| 5094 | disk=$((disk_info[${#disk_info[@]} - 4] / 1024 / 1024))G |
| 5095 | disk+=" / " |
| 5096 | disk+=$((disk_info[${#disk_info[@]} - 5] / 1024/ 1024))G |
| 5097 | disk+=${disk_perc:+ ($disk_perc%)} |
| 5098 | ;; |
| 5099 | |
| 5100 | *) |
| 5101 | disk=${disk_info[${#disk_info[@]} - 4]/i} |
| 5102 | disk+=" / " |
| 5103 | disk+=${disk_info[${#disk_info[@]} - 5]/i} |
| 5104 | disk+=${disk_perc:+ ($disk_perc%)} |
| 5105 | ;; |
| 5106 | esac |
| 5107 | |
| 5108 | case $disk_subtitle in |
| 5109 | name) |
| 5110 | disk_sub=${disk_info[*]::${#disk_info[@]} - 5} |
| 5111 | ;; |
| 5112 | |
| 5113 | dir) |
| 5114 | disk_sub=${disk_info[${#disk_info[@]} - 1]/*\/} |
| 5115 | disk_sub=${disk_sub:-${disk_info[${#disk_info[@]} - 1]}} |
| 5116 | ;; |
| 5117 | |
| 5118 | none) ;; |
| 5119 | |
| 5120 | *) |
| 5121 | disk_sub=${disk_info[${#disk_info[@]} - 1]} |
| 5122 | ;; |
| 5123 | esac |
| 5124 | |
| 5125 | case $disk_display in |
| 5126 | bar) disk="$(bar "$disk_perc" "100")" ;; |
| 5127 | infobar) disk+=" $(bar "$disk_perc" "100")" ;; |
| 5128 | barinfo) disk="$(bar "$disk_perc" "100")${info_color} $disk" ;; |
| 5129 | perc) disk="${disk_perc}% $(bar "$disk_perc" "100")" ;; |
| 5130 | esac |
| 5131 | |
| 5132 | # Append '(disk mount point)' to the subtitle. |
| 5133 | if [[ "$subtitle" ]]; then |
| 5134 | prin "$subtitle${disk_sub:+ ($disk_sub)}" "$disk" |
| 5135 | else |
| 5136 | prin "$disk_sub" "$disk" |
| 5137 | fi |
| 5138 | done |
| 5139 | } |
| 5140 | |
| 5141 | get_power_adapter() { |
| 5142 | case $os in |
| 5143 | "Mac OS X"|"macOS") |
| 5144 | power_adapter="$(pmset -g ac | awk '/Wattage/ {print $3}')" |
| 5145 | [[ "$power_adapter" ]] || power_adapter="not connected" |
| 5146 | ;; |
| 5147 | *) |
| 5148 | power_adapter="unknown" |
| 5149 | ;; |
| 5150 | esac |
| 5151 | } |
| 5152 | |
| 5153 | get_battery() { |
| 5154 | case $os in |
| 5155 | "Linux") |
| 5156 | # We use 'prin' here so that we can do multi battery support |
| 5157 | # with a single battery per line. |
| 5158 | for bat in "/sys/class/power_supply/"{BAT,axp288_fuel_gauge,CMB}*; do |
| 5159 | [[ -f ${bat}/capacity && -f ${bat}/status ]] || continue |
| 5160 | capacity="$(< "${bat}/capacity")" |
| 5161 | status="$(< "${bat}/status")" |
| 5162 | |
| 5163 | if [[ "$capacity" ]]; then |
| 5164 | battery="${capacity}% [${status}]" |
| 5165 | |
| 5166 | case $battery_display in |
| 5167 | "bar") battery="$(bar "$capacity" 100)" ;; |
| 5168 | "infobar") battery+=" $(bar "$capacity" 100)" ;; |
| 5169 | "barinfo") battery="$(bar "$capacity" 100)${info_color} ${battery}" ;; |
| 5170 | esac |
| 5171 | |
| 5172 | bat="${bat/*axp288_fuel_gauge}" |
| 5173 | prin "${subtitle:+${subtitle}${bat: -1}}" "$battery" |
| 5174 | fi |
| 5175 | done |
| 5176 | return |
| 5177 | ;; |
| 5178 | |
| 5179 | "BSD") |
| 5180 | case $kernel_name in |
| 5181 | "FreeBSD"* | "DragonFly"*) |
| 5182 | battery="$(acpiconf -i 0 | awk -F ':\t' '/Remaining capacity/ {print $2}')" |
| 5183 | battery_state="$(acpiconf -i 0 | awk -F ':\t\t\t' '/State/ {print $2}')" |
| 5184 | ;; |
| 5185 | |
| 5186 | "NetBSD"*) |
| 5187 | battery="$(envstat | awk '\\(|\\)' '/charge:/ {print $2}')" |
| 5188 | battery="${battery/\.*/%}" |
| 5189 | ;; |
| 5190 | |
| 5191 | "OpenBSD"* | "Bitrig"*) |
| 5192 | battery0full="$(sysctl -n hw.sensors.acpibat0.watthour0\ |
| 5193 | hw.sensors.acpibat0.amphour0)" |
| 5194 | battery0full="${battery0full%% *}" |
| 5195 | |
| 5196 | battery0now="$(sysctl -n hw.sensors.acpibat0.watthour3\ |
| 5197 | hw.sensors.acpibat0.amphour3)" |
| 5198 | battery0now="${battery0now%% *}" |
| 5199 | |
| 5200 | state="$(sysctl -n hw.sensors.acpibat0.raw0)" |
| 5201 | state="${state##? (battery }" |
| 5202 | state="${state%)*}" |
| 5203 | |
| 5204 | [[ "${state}" == "charging" ]] && battery_state="charging" |
| 5205 | [[ "$battery0full" ]] && \ |
| 5206 | battery="$((100 * ${battery0now/\.} / ${battery0full/\.}))%" |
| 5207 | ;; |
| 5208 | esac |
| 5209 | ;; |
| 5210 | |
| 5211 | "Mac OS X"|"macOS") |
| 5212 | battery="$(pmset -g batt | grep -o '[0-9]*%')" |
| 5213 | state="$(pmset -g batt | awk '/;/ {print $4}')" |
| 5214 | [[ "$state" == "charging;" ]] && battery_state="charging" |
| 5215 | ;; |
| 5216 | |
| 5217 | "Windows") |
| 5218 | battery="$(wmic Path Win32_Battery get EstimatedChargeRemaining)" |
| 5219 | battery="${battery/EstimatedChargeRemaining}" |
| 5220 | battery="$(trim "$battery")%" |
| 5221 | state="$(wmic /NameSpace:'\\root\WMI' Path BatteryStatus get Charging)" |
| 5222 | state="${state/Charging}" |
| 5223 | [[ "$state" == *TRUE* ]] && battery_state="charging" |
| 5224 | ;; |
| 5225 | |
| 5226 | "Interix") |
| 5227 | battery="$(/dev/fs/C/Windows/System32/wbem/WMIC.exe Path Win32_Battery get EstimatedChargeRemaining)" |
| 5228 | battery="${battery/EstimatedChargeRemaining}" |
| 5229 | battery="$(trim "$battery")%" |
| 5230 | state="$(/dev/fs/C/Windows/System32/wbem/WMIC.exe /NameSpace:'\\root\WMI' Path BatteryStatus get Charging)" |
| 5231 | state="${state/Charging}" |
| 5232 | [[ "$state" == *TRUE* ]] && battery_state="charging" |
| 5233 | ;; |
| 5234 | |
| 5235 | "Haiku") |
| 5236 | battery0full="$(awk -F '[^0-9]*' 'NR==2 {print $4}' /dev/power/acpi_battery/0)" |
| 5237 | battery0now="$(awk -F '[^0-9]*' 'NR==5 {print $4}' /dev/power/acpi_battery/0)" |
| 5238 | battery="$((battery0full * 100 / battery0now))%" |
| 5239 | ;; |
| 5240 | esac |
| 5241 | |
| 5242 | [[ "$battery_state" ]] && battery+=" Charging" |
| 5243 | |
| 5244 | case $battery_display in |
| 5245 | "bar") battery="$(bar "${battery/\%*}" 100)" ;; |
| 5246 | "infobar") battery="${battery} $(bar "${battery/\%*}" 100)" ;; |
| 5247 | "barinfo") battery="$(bar "${battery/\%*}" 100)${info_color} ${battery}" ;; |
| 5248 | esac |
| 5249 | } |
| 5250 | |
| 5251 | get_local_ip() { |
| 5252 | case $os in |
| 5253 | "Linux" | "BSD" | "Solaris" | "illumos" | "AIX" | "IRIX") |
| 5254 | if [[ "${local_ip_interface[0]}" == "auto" ]]; then |
| 5255 | local_ip="$(ip route get 1 | awk -F'src' '{print $2; exit}')" |
| 5256 | local_ip="${local_ip/uid*}" |
| 5257 | [[ "$local_ip" ]] || local_ip="$(ifconfig -a | awk '/broadcast/ {print $2; exit}')" |
| 5258 | else |
| 5259 | for interface in "${local_ip_interface[@]}"; do |
| 5260 | local_ip="$(ip addr show "$interface" 2> /dev/null | |
| 5261 | awk '/inet / {print $2; exit}')" |
| 5262 | local_ip="${local_ip/\/*}" |
| 5263 | [[ "$local_ip" ]] || |
| 5264 | local_ip="$(ifconfig "$interface" 2> /dev/null | |
| 5265 | awk '/broadcast/ {print $2; exit}')" |
| 5266 | if [[ -n "$local_ip" ]]; then |
| 5267 | prin "$interface" "$local_ip" |
| 5268 | else |
| 5269 | err "Local IP: Could not detect local ip for $interface" |
| 5270 | fi |
| 5271 | done |
| 5272 | fi |
| 5273 | ;; |
| 5274 | |
| 5275 | "MINIX") |
| 5276 | local_ip="$(ifconfig | awk '{printf $3; exit}')" |
| 5277 | ;; |
| 5278 | |
| 5279 | "Mac OS X" | "macOS" | "iPhone OS") |
| 5280 | if [[ "${local_ip_interface[0]}" == "auto" ]]; then |
| 5281 | interface="$(route -n get 1 | awk -F': ' '/interface/ {printf $2; exit}')" |
| 5282 | local_ip="$(ifconfig "$interface" | grep "inet " | awk '{print $2}')" |
| 5283 | else |
| 5284 | for interface in "${local_ip_interface[@]}"; do |
| 5285 | local_ip="$(ifconfig "$interface" | grep "inet " | awk '{print $2}')" |
| 5286 | if [[ -n "$local_ip" ]]; then |
| 5287 | prin "$interface" "$local_ip" |
| 5288 | else |
| 5289 | err "Local IP: Could not detect local ip for $interface" |
| 5290 | fi |
| 5291 | done |
| 5292 | fi |
| 5293 | ;; |
| 5294 | |
| 5295 | "Windows" | "Interix") |
| 5296 | local_ip="$(ipconfig | awk -F ': ' '/IPv4 Address/ {printf $2 ", "}')" |
| 5297 | local_ip="${local_ip%\,*}" |
| 5298 | ;; |
| 5299 | |
| 5300 | "Haiku") |
| 5301 | local_ip="$(ifconfig | awk -F ': ' '/Bcast/ {print $2}')" |
| 5302 | local_ip="${local_ip/, Bcast}" |
| 5303 | ;; |
| 5304 | esac |
| 5305 | } |
| 5306 | |
| 5307 | get_public_ip() { |
| 5308 | if [[ -z "$public_ip_host" ]] && type -p dig >/dev/null; then |
| 5309 | public_ip="$(dig +time=1 +tries=1 +short myip.opendns.com @resolver1.opendns.com)" |
| 5310 | [[ "$public_ip" =~ ^\; ]] && unset public_ip |
| 5311 | fi |
| 5312 | |
| 5313 | if [[ -z "$public_ip_host" ]] && [[ -z "$public_ip" ]] && type -p drill >/dev/null; then |
| 5314 | public_ip="$(drill myip.opendns.com @resolver1.opendns.com | \ |
| 5315 | awk '/^myip\./ && $3 == "IN" {print $5}')" |
| 5316 | fi |
| 5317 | |
| 5318 | if [[ -z "$public_ip" ]] && type -p curl >/dev/null; then |
| 5319 | public_ip="$(curl -L --max-time "$public_ip_timeout" -w '\n' "$public_ip_host")" |
| 5320 | fi |
| 5321 | |
| 5322 | if [[ -z "$public_ip" ]] && type -p wget >/dev/null; then |
| 5323 | public_ip="$(wget -T "$public_ip_timeout" -qO- "$public_ip_host")" |
| 5324 | fi |
| 5325 | } |
| 5326 | |
| 5327 | get_users() { |
| 5328 | users="$(who | awk '!seen[$1]++ {printf $1 ", "}')" |
| 5329 | users="${users%\,*}" |
| 5330 | } |
| 5331 | |
| 5332 | get_locale() { |
| 5333 | locale="$sys_locale" |
| 5334 | } |
| 5335 | |
| 5336 | get_gpu_driver() { |
| 5337 | case $os in |
| 5338 | "Linux") |
| 5339 | gpu_driver="$(lspci -nnk | awk -F ': ' \ |
| 5340 | '/Display|3D|VGA/{nr[NR+2]}; NR in nr && $1~"nel driv" {printf $2 ", "}')" |
| 5341 | gpu_driver="${gpu_driver%, }" |
| 5342 | |
| 5343 | if [[ "$gpu_driver" == *"nvidia"* ]]; then |
| 5344 | gpu_driver="$(< /sys/module/nvidia/version)" |
| 5345 | gpu_driver="NVIDIA ${gpu_driver/ *}" |
| 5346 | fi |
| 5347 | ;; |
| 5348 | |
| 5349 | "Mac OS X"|"macOS") |
| 5350 | if [[ "$(kextstat | grep "GeForceWeb")" != "" ]]; then |
| 5351 | gpu_driver="NVIDIA Web Driver" |
| 5352 | else |
| 5353 | gpu_driver="macOS Default Graphics Driver" |
| 5354 | fi |
| 5355 | ;; |
| 5356 | esac |
| 5357 | } |
| 5358 | |
| 5359 | get_cols() { |
| 5360 | local blocks blocks2 cols |
| 5361 | |
| 5362 | if [[ "$color_blocks" == "on" ]]; then |
| 5363 | # Convert the width to space chars. |
| 5364 | printf -v block_width "%${block_width}s" |
| 5365 | |
| 5366 | # Generate the string. |
| 5367 | for ((block_range[0]; block_range[0]<=block_range[1]; block_range[0]++)); do |
| 5368 | case ${block_range[0]} in |
| 5369 | [0-7]) |
| 5370 | printf -v blocks '%b\e[3%bm\e[4%bm%b' \ |
| 5371 | "$blocks" "${block_range[0]}" "${block_range[0]}" "$block_width" |
| 5372 | ;; |
| 5373 | |
| 5374 | *) |
| 5375 | printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' \ |
| 5376 | "$blocks2" "${block_range[0]}" "${block_range[0]}" "$block_width" |
| 5377 | ;; |
| 5378 | esac |
| 5379 | done |
| 5380 | |
| 5381 | # Workaround for bright background colors in the Linux framebuffer console. |
| 5382 | (( block_range[1] < 16 )) && [[ "$TERM" == "linux" ]] && |
| 5383 | printf -v blocks2 '\e[5m%b\e[25m' "$blocks2" |
| 5384 | |
| 5385 | # Convert height into spaces. |
| 5386 | printf -v block_spaces "%${block_height}s" |
| 5387 | |
| 5388 | # Convert the spaces into rows of blocks. |
| 5389 | if [ "${BASH_VERSION%%.*}" -lt 5 ]; then |
| 5390 | [[ "$blocks" ]] && cols+="${block_spaces// /${blocks}[39;49mnl}" |
| 5391 | [[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}[0mnl}" |
| 5392 | else |
| 5393 | [[ "$blocks" ]] && cols+="${block_spaces// /${blocks}\[39;49mnl}" |
| 5394 | [[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}\[0mnl}" |
| 5395 | fi |
| 5396 | |
| 5397 | # Determine the horizontal offset of the blocks. |
| 5398 | case $col_offset in |
| 5399 | "auto") block_offset="$text_padding" ;; |
| 5400 | *) block_offset="$col_offset" ;; |
| 5401 | esac |
| 5402 | |
| 5403 | # Add newlines to the string. |
| 5404 | cols=${cols%%nl} |
| 5405 | cols=${cols//nl/ |
| 5406 | [${block_offset}C${zws}} |
| 5407 | |
| 5408 | # Add block height to info height. |
| 5409 | ((info_height+=block_range[1]>7?block_height+2:block_height+1)) |
| 5410 | |
| 5411 | printf '\n\e[%bC%b\n' "$block_offset" "${zws}${cols}" |
| 5412 | fi |
| 5413 | |
| 5414 | unset -v blocks blocks2 cols |
| 5415 | |
| 5416 | # Tell info() that we printed manually. |
| 5417 | prin=1 |
| 5418 | } |
| 5419 | |
| 5420 | # IMAGES |
| 5421 | |
| 5422 | image_backend() { |
| 5423 | [[ "$image_backend" != "off" ]] && ! type -p convert &>/dev/null && \ |
| 5424 | { image_backend="ascii"; err "Image: Imagemagick not found, falling back to ascii mode."; } |
| 5425 | |
| 5426 | case ${image_backend:-off} in |
| 5427 | "ascii") print_ascii ;; |
| 5428 | "off") image_backend="off" ;; |
| 5429 | |
| 5430 | "caca" | "catimg" | "chafa" | "jp2a" | "iterm2" | "termpix" |\ |
| 5431 | "tycat" | "w3m" | "sixel" | "pixterm" | "kitty" | "pot", | "ueberzug" |\ |
| 5432 | "viu") |
| 5433 | get_image_source |
| 5434 | |
| 5435 | [[ ! -f "$image" ]] && { |
| 5436 | to_ascii "Image: '$image_source' doesn't exist, falling back to ascii mode." |
| 5437 | return |
| 5438 | } |
| 5439 | [[ "$image_backend" == "ueberzug" ]] && wait=true; |
| 5440 | |
| 5441 | get_window_size |
| 5442 | |
| 5443 | ((term_width < 1)) && { |
| 5444 | to_ascii "Image: Failed to find terminal window size." |
| 5445 | err "Image: Check the 'Images in the terminal' wiki page for more info," |
| 5446 | return |
| 5447 | } |
| 5448 | |
| 5449 | printf '\e[2J\e[H' |
| 5450 | get_image_size |
| 5451 | make_thumbnail |
| 5452 | display_image || to_off "Image: $image_backend failed to display the image." |
| 5453 | ;; |
| 5454 | |
| 5455 | *) |
| 5456 | err "Image: Unknown image backend specified '$image_backend'." |
| 5457 | err "Image: Valid backends are: 'ascii', 'caca', 'catimg', 'chafa', 'jp2a', 'iterm2', |
| 5458 | 'kitty', 'off', 'sixel', 'pot', 'pixterm', 'termpix', |
| 5459 | 'tycat', 'w3m', 'viu')" |
| 5460 | err "Image: Falling back to ascii mode." |
| 5461 | print_ascii |
| 5462 | ;; |
| 5463 | esac |
| 5464 | |
| 5465 | # Set cursor position next image/ascii. |
| 5466 | [[ "$image_backend" != "off" ]] && printf '\e[%sA\e[9999999D' "${lines:-0}" |
| 5467 | } |
| 5468 | |
| 5469 | # From pull request #1220, this is a fast way to strip character codes |
| 5470 | strip_escape_codes() { |
| 5471 | local input="${1//\"/\\\"}" output="" i char within_code=0 |
| 5472 | for ((i=0; i < ${#input}; ++i)); do |
| 5473 | char="${input:i:1}" |
| 5474 | if (( within_code == 1 )); then |
| 5475 | case "${char}" in |
| 5476 | [a-zA-Z]) within_code=0 ;; |
| 5477 | esac |
| 5478 | continue |
| 5479 | fi |
| 5480 | if [[ "${char}" == $'\e' ]]; then |
| 5481 | within_code=1 |
| 5482 | continue |
| 5483 | fi |
| 5484 | output+="${char}" |
| 5485 | done |
| 5486 | eval "$2='${output}'" |
| 5487 | } |
| 5488 | |
| 5489 | print_ascii() { |
| 5490 | if [[ -f "$image_source" && ! "$image_source" =~ (png|jpg|jpeg|jpe|svg|gif) ]]; then |
| 5491 | ascii_data="$(< "$image_source")" |
| 5492 | elif [[ "$image_source" == "ascii" || $image_source == auto ]]; then |
| 5493 | : |
| 5494 | else |
| 5495 | ascii_data="$image_source" |
| 5496 | fi |
| 5497 | |
| 5498 | # Set locale to get correct padding. |
| 5499 | LC_ALL="$sys_locale" |
| 5500 | |
| 5501 | # Calculate size of ascii file in line length / line count. |
| 5502 | if [ -n "$ascii_len" ] && [ -n "$ascii_lines" ] |
| 5503 | then |
| 5504 | lines=$ascii_lines |
| 5505 | else |
| 5506 | # shellcheck disable=SC2162 |
| 5507 | # Reading without -r here is intentional. See https://github.com/dylanaraps/neofetch/pull/1543 |
| 5508 | while IFS=$'\n' read line; do |
| 5509 | line=${line//█/ } |
| 5510 | # Fast method to strip codes |
| 5511 | strip_escape_codes "${line}" line |
| 5512 | # Use patterns to replace color codes that the above line did not catch |
| 5513 | line=${line//\\033\[*([0-9;])[JKmsu]/} |
| 5514 | line="$(printf %b "$line" | sed -E 's/'"$(printf %b '\x1B')"'\[*[0-9;]+[JKmsu]//g')" |
| 5515 | ((++lines,${#line}>ascii_len)) && ascii_len="${#line}" |
| 5516 | done <<< "${ascii_data//\$\{??\}}" |
| 5517 | fi |
| 5518 | |
| 5519 | # Fallback if file not found. |
| 5520 | ((lines==1)) && { |
| 5521 | lines= |
| 5522 | ascii_len= |
| 5523 | image_source=auto |
| 5524 | get_distro_ascii |
| 5525 | print_ascii |
| 5526 | return |
| 5527 | } |
| 5528 | |
| 5529 | # Colors. |
| 5530 | ascii_data="${ascii_data//\$\{c1\}/$c1}" |
| 5531 | ascii_data="${ascii_data//\$\{c2\}/$c2}" |
| 5532 | ascii_data="${ascii_data//\$\{c3\}/$c3}" |
| 5533 | ascii_data="${ascii_data//\$\{c4\}/$c4}" |
| 5534 | ascii_data="${ascii_data//\$\{c5\}/$c5}" |
| 5535 | ascii_data="${ascii_data//\$\{c6\}/$c6}" |
| 5536 | |
| 5537 | ((text_padding=ascii_len+gap)) |
| 5538 | printf '%b\n' "$ascii_data${reset}" |
| 5539 | LC_ALL=C |
| 5540 | } |
| 5541 | |
| 5542 | get_image_source() { |
| 5543 | case $image_source in |
| 5544 | "auto" | "wall" | "wallpaper") |
| 5545 | get_wallpaper |
| 5546 | ;; |
| 5547 | |
| 5548 | *) |
| 5549 | # Get the absolute path. |
| 5550 | image_source="$(get_full_path "$image_source")" |
| 5551 | |
| 5552 | if [[ -d "$image_source" ]]; then |
| 5553 | shopt -s nullglob |
| 5554 | files=("${image_source%/}"/*.{png,jpg,jpeg,jpe,gif,svg}) |
| 5555 | shopt -u nullglob |
| 5556 | image="${files[RANDOM % ${#files[@]}]}" |
| 5557 | |
| 5558 | else |
| 5559 | image="$image_source" |
| 5560 | fi |
| 5561 | ;; |
| 5562 | esac |
| 5563 | |
| 5564 | err "Image: Using image '$image'" |
| 5565 | } |
| 5566 | |
| 5567 | get_wallpaper() { |
| 5568 | case $os in |
| 5569 | "Mac OS X"|"macOS") |
| 5570 | image="$(osascript <<END |
| 5571 | tell application "System Events" to picture of current desktop |
| 5572 | END |
| 5573 | )" |
| 5574 | ;; |
| 5575 | |
| 5576 | "Windows") |
| 5577 | case $distro in |
| 5578 | "Windows XP") |
| 5579 | image="/c/Documents and Settings/${USER}" |
| 5580 | image+="/Local Settings/Application Data/Microsoft/Wallpaper1.bmp" |
| 5581 | |
| 5582 | [[ "$kernel_name" == *CYGWIN* ]] && image="/cygdrive${image}" |
| 5583 | ;; |
| 5584 | |
| 5585 | "Windows"*) |
| 5586 | image="${APPDATA}/Microsoft/Windows/Themes/TranscodedWallpaper.jpg" |
| 5587 | ;; |
| 5588 | esac |
| 5589 | ;; |
| 5590 | |
| 5591 | *) |
| 5592 | # Get DE if user has disabled the function. |
| 5593 | ((de_run != 1)) && get_de |
| 5594 | |
| 5595 | type -p wal >/dev/null && [[ -f "${HOME}/.cache/wal/wal" ]] && \ |
| 5596 | { image="$(< "${HOME}/.cache/wal/wal")"; return; } |
| 5597 | |
| 5598 | case $de in |
| 5599 | "MATE"*) |
| 5600 | image="$(gsettings get org.mate.background picture-filename)" |
| 5601 | ;; |
| 5602 | |
| 5603 | "Xfce"*) |
| 5604 | image="$(xfconf-query -c xfce4-desktop -p \ |
| 5605 | "/backdrop/screen0/monitor0/workspace0/last-image")" |
| 5606 | ;; |
| 5607 | |
| 5608 | "Cinnamon"*) |
| 5609 | image="$(gsettings get org.cinnamon.desktop.background picture-uri)" |
| 5610 | image="$(decode_url "$image")" |
| 5611 | ;; |
| 5612 | |
| 5613 | "GNOME"*) |
| 5614 | image="$(gsettings get org.gnome.desktop.background picture-uri)" |
| 5615 | image="$(decode_url "$image")" |
| 5616 | ;; |
| 5617 | |
| 5618 | "Plasma"*) |
| 5619 | image=$XDG_CONFIG_HOME/plasma-org.kde.plasma.desktop-appletsrc |
| 5620 | image=$(awk -F '=' '$1 == "Image" { print $2 }' "$image") |
| 5621 | ;; |
| 5622 | |
| 5623 | "Cutefish"*) |
| 5624 | image="$XDG_CONFIG_HOME/cutefishos/theme.conf" |
| 5625 | image="$(awk -F '=' '$1 == "Wallpaper" {print $2}' "$image")" |
| 5626 | ;; |
| 5627 | |
| 5628 | "LXQt"*) |
| 5629 | image="$XDG_CONFIG_HOME/pcmanfm-qt/lxqt/settings.conf" |
| 5630 | image="$(awk -F '=' '$1 == "Wallpaper" {print $2}' "$image")" |
| 5631 | ;; |
| 5632 | |
| 5633 | *) |
| 5634 | if type -p feh >/dev/null && [[ -f "${HOME}/.fehbg" ]]; then |
| 5635 | image="$(awk -F\' '/feh/ {printf $(NF-1)}' "${HOME}/.fehbg")" |
| 5636 | |
| 5637 | elif type -p setroot >/dev/null && \ |
| 5638 | [[ -f "${XDG_CONFIG_HOME}/setroot/.setroot-restore" ]]; then |
| 5639 | image="$(awk -F\' '/setroot/ {printf $(NF-1)}' \ |
| 5640 | "${XDG_CONFIG_HOME}/setroot/.setroot-restore")" |
| 5641 | |
| 5642 | elif type -p nitrogen >/dev/null; then |
| 5643 | image="$(awk -F'=' '/file/ {printf $2;exit;}' \ |
| 5644 | "${XDG_CONFIG_HOME}/nitrogen/bg-saved.cfg")" |
| 5645 | |
| 5646 | else |
| 5647 | image="$(gsettings get org.gnome.desktop.background picture-uri)" |
| 5648 | image="$(decode_url "$image")" |
| 5649 | fi |
| 5650 | ;; |
| 5651 | esac |
| 5652 | |
| 5653 | # Strip un-needed info from the path. |
| 5654 | image="${image/file:\/\/}" |
| 5655 | image="$(trim_quotes "$image")" |
| 5656 | ;; |
| 5657 | esac |
| 5658 | |
| 5659 | # If image is an xml file, don't use it. |
| 5660 | [[ "${image/*\./}" == "xml" ]] && image="" |
| 5661 | } |
| 5662 | |
| 5663 | get_w3m_img_path() { |
| 5664 | # Find w3m-img path. |
| 5665 | shopt -s nullglob |
| 5666 | w3m_paths=({/usr/{local/,},~/.nix-profile/}{lib,libexec,lib64,libexec64}/w3m/w3mi*) |
| 5667 | shopt -u nullglob |
| 5668 | |
| 5669 | [[ -x "${w3m_paths[0]}" ]] && \ |
| 5670 | { w3m_img_path="${w3m_paths[0]}"; return; } |
| 5671 | |
| 5672 | err "Image: w3m-img wasn't found on your system" |
| 5673 | } |
| 5674 | |
| 5675 | get_window_size() { |
| 5676 | # This functions gets the current window size in |
| 5677 | # pixels. |
| 5678 | # |
| 5679 | # We first try to use the escape sequence "\033[14t" |
| 5680 | # to get the terminal window size in pixels. If this |
| 5681 | # fails we then fallback to using "xdotool" or other |
| 5682 | # programs. |
| 5683 | |
| 5684 | # Tmux has a special way of reading escape sequences |
| 5685 | # so we have to use a slightly different sequence to |
| 5686 | # get the terminal size. |
| 5687 | if [[ "$image_backend" == "tycat" ]]; then |
| 5688 | printf '%b' '\e}qs\000' |
| 5689 | |
| 5690 | elif [[ -z $VTE_VERSION ]]; then |
| 5691 | case ${TMUX:-null} in |
| 5692 | "null") printf '%b' '\e[14t' ;; |
| 5693 | *) printf '%b' '\ePtmux;\e\e[14t\e\\ ' ;; |
| 5694 | esac |
| 5695 | fi |
| 5696 | |
| 5697 | # The escape codes above print the desired output as |
| 5698 | # user input so we have to use read to store the out |
| 5699 | # -put as a variable. |
| 5700 | # The 3 second timeout is required for slow/remote |
| 5701 | # sessions. |
| 5702 | # |
| 5703 | # False positive. |
| 5704 | # shellcheck disable=2141 |
| 5705 | IFS=';t' read -d t -t 3 -sra term_size |
| 5706 | unset IFS |
| 5707 | |
| 5708 | # Split the string into height/width. |
| 5709 | if [[ "$image_backend" == "tycat" ]]; then |
| 5710 | term_width="$((term_size[2] * term_size[0]))" |
| 5711 | term_height="$((term_size[3] * term_size[1]))" |
| 5712 | |
| 5713 | else |
| 5714 | term_height="${term_size[1]}" |
| 5715 | term_width="${term_size[2]}" |
| 5716 | fi |
| 5717 | |
| 5718 | # Get terminal width/height. |
| 5719 | if (( "${term_width:-0}" < 50 )) && [[ "$DISPLAY" && $os != "Mac OS X" && $os != "macOS" ]]; then |
| 5720 | if type -p xdotool &>/dev/null; then |
| 5721 | IFS=$'\n' read -d "" -ra win \ |
| 5722 | <<< "$(xdotool getactivewindow getwindowgeometry --shell %1)" |
| 5723 | term_width="${win[3]/WIDTH=}" |
| 5724 | term_height="${win[4]/HEIGHT=}" |
| 5725 | |
| 5726 | elif type -p xwininfo &>/dev/null; then |
| 5727 | # Get the focused window's ID. |
| 5728 | if type -p xdo &>/dev/null; then |
| 5729 | current_window="$(xdo id)" |
| 5730 | |
| 5731 | elif type -p xprop &>/dev/null; then |
| 5732 | current_window="$(xprop -root _NET_ACTIVE_WINDOW)" |
| 5733 | current_window="${current_window##* }" |
| 5734 | |
| 5735 | elif type -p xdpyinfo &>/dev/null; then |
| 5736 | current_window="$(xdpyinfo | grep -F "focus:")" |
| 5737 | current_window="${current_window/*window }" |
| 5738 | current_window="${current_window/,*}" |
| 5739 | fi |
| 5740 | |
| 5741 | # If the ID was found get the window size. |
| 5742 | if [[ "$current_window" ]]; then |
| 5743 | term_size=("$(xwininfo -id "$current_window")") |
| 5744 | term_width="${term_size[0]#*Width: }" |
| 5745 | term_width="${term_width/$'\n'*}" |
| 5746 | term_height="${term_size[0]/*Height: }" |
| 5747 | term_height="${term_height/$'\n'*}" |
| 5748 | fi |
| 5749 | fi |
| 5750 | fi |
| 5751 | |
| 5752 | term_width="${term_width:-0}" |
| 5753 | } |
| 5754 | |
| 5755 | |
| 5756 | get_term_size() { |
| 5757 | # Get the terminal size in cells. |
| 5758 | read -r lines columns <<< "$(stty size)" |
| 5759 | |
| 5760 | # Calculate font size. |
| 5761 | font_width="$((term_width / columns))" |
| 5762 | font_height="$((term_height / lines))" |
| 5763 | } |
| 5764 | |
| 5765 | get_image_size() { |
| 5766 | # This functions determines the size to make the thumbnail image. |
| 5767 | get_term_size |
| 5768 | |
| 5769 | case $image_size in |
| 5770 | "auto") |
| 5771 | image_size="$((columns * font_width / 2))" |
| 5772 | term_height="$((term_height - term_height / 4))" |
| 5773 | |
| 5774 | ((term_height < image_size)) && \ |
| 5775 | image_size="$term_height" |
| 5776 | ;; |
| 5777 | |
| 5778 | *"%") |
| 5779 | percent="${image_size/\%}" |
| 5780 | image_size="$((percent * term_width / 100))" |
| 5781 | |
| 5782 | (((percent * term_height / 50) < image_size)) && \ |
| 5783 | image_size="$((percent * term_height / 100))" |
| 5784 | ;; |
| 5785 | |
| 5786 | "none") |
| 5787 | # Get image size so that we can do a better crop. |
| 5788 | read -r width height <<< "$(identify -format "%w %h" "$image")" |
| 5789 | |
| 5790 | while ((width >= (term_width / 2) || height >= term_height)); do |
| 5791 | ((width=width/2,height=height/2)) |
| 5792 | done |
| 5793 | |
| 5794 | crop_mode="none" |
| 5795 | ;; |
| 5796 | |
| 5797 | *) image_size="${image_size/px}" ;; |
| 5798 | esac |
| 5799 | |
| 5800 | # Check for terminal padding. |
| 5801 | [[ "$image_backend" == "w3m" ]] && term_padding |
| 5802 | |
| 5803 | width="${width:-$image_size}" |
| 5804 | height="${height:-$image_size}" |
| 5805 | text_padding="$(((width + padding + xoffset) / font_width + gap))" |
| 5806 | } |
| 5807 | |
| 5808 | make_thumbnail() { |
| 5809 | # Name the thumbnail using variables so we can |
| 5810 | # use it later. |
| 5811 | image_name="${crop_mode}-${crop_offset}-${width}-${height}-${image//\/}" |
| 5812 | |
| 5813 | # Handle file extensions. |
| 5814 | case ${image##*.} in |
| 5815 | "eps"|"pdf"|"svg"|"gif"|"png") |
| 5816 | image_name+=".png" ;; |
| 5817 | *) image_name+=".jpg" ;; |
| 5818 | esac |
| 5819 | |
| 5820 | # Create the thumbnail dir if it doesn't exist. |
| 5821 | mkdir -p "${thumbnail_dir:=${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neowofetch}" |
| 5822 | |
| 5823 | if [[ ! -f "${thumbnail_dir}/${image_name}" ]]; then |
| 5824 | # Get image size so that we can do a better crop. |
| 5825 | [[ -z "$size" ]] && { |
| 5826 | read -r og_width og_height <<< "$(identify -format "%w %h" "$image")" |
| 5827 | ((og_height > og_width)) && size="$og_width" || size="$og_height" |
| 5828 | } |
| 5829 | |
| 5830 | case $crop_mode in |
| 5831 | "fit") |
| 5832 | c="$(convert "$image" \ |
| 5833 | -colorspace srgb \ |
| 5834 | -format "%[pixel:p{0,0}]" info:)" |
| 5835 | |
| 5836 | convert \ |
| 5837 | -background none \ |
| 5838 | "$image" \ |
| 5839 | -trim +repage \ |
| 5840 | -gravity south \ |
| 5841 | -background "$c" \ |
| 5842 | -extent "${size}x${size}" \ |
| 5843 | -scale "${width}x${height}" \ |
| 5844 | "${thumbnail_dir}/${image_name}" |
| 5845 | ;; |
| 5846 | |
| 5847 | "fill") |
| 5848 | convert \ |
| 5849 | -background none \ |
| 5850 | "$image" \ |
| 5851 | -trim +repage \ |
| 5852 | -scale "${width}x${height}^" \ |
| 5853 | -extent "${width}x${height}" \ |
| 5854 | "${thumbnail_dir}/${image_name}" |
| 5855 | ;; |
| 5856 | |
| 5857 | "none") |
| 5858 | cp "$image" "${thumbnail_dir}/${image_name}" |
| 5859 | ;; |
| 5860 | |
| 5861 | *) |
| 5862 | convert \ |
| 5863 | -background none \ |
| 5864 | "$image" \ |
| 5865 | -strip \ |
| 5866 | -gravity "$crop_offset" \ |
| 5867 | -crop "${size}x${size}+0+0" \ |
| 5868 | -scale "${width}x${height}" \ |
| 5869 | "${thumbnail_dir}/${image_name}" |
| 5870 | ;; |
| 5871 | esac |
| 5872 | fi |
| 5873 | |
| 5874 | # The final image. |
| 5875 | image="${thumbnail_dir}/${image_name}" |
| 5876 | } |
| 5877 | |
| 5878 | display_image() { |
| 5879 | case $image_backend in |
| 5880 | "caca") |
| 5881 | img2txt \ |
| 5882 | -W "$((width / font_width))" \ |
| 5883 | -H "$((height / font_height))" \ |
| 5884 | --gamma=0.6 \ |
| 5885 | "$image" |
| 5886 | ;; |
| 5887 | |
| 5888 | |
| 5889 | "ueberzug") |
| 5890 | if [ "$wait" = true ];then |
| 5891 | wait=false; |
| 5892 | else |
| 5893 | ueberzug layer --parser bash 0< <( |
| 5894 | declare -Ap ADD=(\ |
| 5895 | [action]="add"\ |
| 5896 | [identifier]="neowofetch"\ |
| 5897 | [x]=$xoffset [y]=$yoffset\ |
| 5898 | [path]=$image\ |
| 5899 | ) |
| 5900 | read -rs |
| 5901 | ) |
| 5902 | fi |
| 5903 | ;; |
| 5904 | |
| 5905 | "catimg") |
| 5906 | catimg -w "$((width*catimg_size / font_width))" -r "$catimg_size" "$image" |
| 5907 | ;; |
| 5908 | |
| 5909 | "chafa") |
| 5910 | chafa --stretch --size="$((width / font_width))x$((height / font_height))" "$image" |
| 5911 | ;; |
| 5912 | |
| 5913 | "jp2a") |
| 5914 | jp2a \ |
| 5915 | --colors \ |
| 5916 | --width="$((width / font_width))" \ |
| 5917 | --height="$((height / font_height))" \ |
| 5918 | "$image" |
| 5919 | ;; |
| 5920 | |
| 5921 | "kitty") |
| 5922 | kitty +kitten icat \ |
| 5923 | --align left \ |
| 5924 | --place "$((width/font_width))x$((height/font_height))@${xoffset}x${yoffset}" \ |
| 5925 | "$image" |
| 5926 | ;; |
| 5927 | |
| 5928 | "pot") |
| 5929 | pot \ |
| 5930 | "$image" \ |
| 5931 | --size="$((width / font_width))x$((height / font_height))" |
| 5932 | ;; |
| 5933 | |
| 5934 | "pixterm") |
| 5935 | pixterm \ |
| 5936 | -tc "$((width / font_width))" \ |
| 5937 | -tr "$((height / font_height))" \ |
| 5938 | "$image" |
| 5939 | ;; |
| 5940 | |
| 5941 | "sixel") |
| 5942 | img2sixel -I \ |
| 5943 | -w "$width" \ |
| 5944 | -h "$height" \ |
| 5945 | "$image" |
| 5946 | ;; |
| 5947 | |
| 5948 | "termpix") |
| 5949 | termpix \ |
| 5950 | --width "$((width / font_width))" \ |
| 5951 | --height "$((height / font_height))" \ |
| 5952 | "$image" |
| 5953 | ;; |
| 5954 | |
| 5955 | "iterm2") |
| 5956 | printf -v iterm_cmd '\e]1337;File=width=%spx;height=%spx;inline=1:%s' \ |
| 5957 | "$width" "$height" "$(base64 < "$image")" |
| 5958 | |
| 5959 | # Tmux requires an additional escape sequence for this to work. |
| 5960 | [[ -n "$TMUX" ]] && printf -v iterm_cmd '\ePtmux;\e%b\e'\\ "$iterm_cmd" |
| 5961 | |
| 5962 | printf '%b\a\n' "$iterm_cmd" |
| 5963 | ;; |
| 5964 | |
| 5965 | "tycat") |
| 5966 | tycat \ |
| 5967 | -g "${width}x${height}" \ |
| 5968 | "$image" |
| 5969 | ;; |
| 5970 | |
| 5971 | "viu") |
| 5972 | viu \ |
| 5973 | -t -w "$((width / font_width))" -h "$((height / font_height))" \ |
| 5974 | "$image" |
| 5975 | ;; |
| 5976 | |
| 5977 | "w3m") |
| 5978 | get_w3m_img_path |
| 5979 | zws='\xE2\x80\x8B\x20' |
| 5980 | |
| 5981 | # Add a tiny delay to fix issues with images not |
| 5982 | # appearing in specific terminal emulators. |
| 5983 | ((bash_version>3)) && sleep 0.05 |
| 5984 | printf '%b\n%s;\n%s\n' "0;1;$xoffset;$yoffset;$width;$height;;;;;$image" 3 4 |\ |
| 5985 | "${w3m_img_path:-false}" -bg "$background_color" &>/dev/null |
| 5986 | ;; |
| 5987 | esac |
| 5988 | } |
| 5989 | |
| 5990 | to_ascii() { |
| 5991 | err "$1" |
| 5992 | image_backend="ascii" |
| 5993 | print_ascii |
| 5994 | |
| 5995 | # Set cursor position next image/ascii. |
| 5996 | printf '\e[%sA\e[9999999D' "${lines:-0}" |
| 5997 | } |
| 5998 | |
| 5999 | to_off() { |
| 6000 | err "$1" |
| 6001 | image_backend="off" |
| 6002 | text_padding= |
| 6003 | } |
| 6004 | |
| 6005 | |
| 6006 | # TEXT FORMATTING |
| 6007 | |
| 6008 | info() { |
| 6009 | # Save subtitle value. |
| 6010 | [[ "$2" ]] && subtitle="$1" |
| 6011 | |
| 6012 | # Make sure that $prin is unset. |
| 6013 | unset -v prin |
| 6014 | |
| 6015 | # Call the function. |
| 6016 | "get_${2:-$1}" |
| 6017 | |
| 6018 | # If the get_func function called 'prin' directly, stop here. |
| 6019 | [[ "$prin" ]] && return |
| 6020 | |
| 6021 | # Update the variable. |
| 6022 | if [[ "$2" ]]; then |
| 6023 | output="$(trim "${!2}")" |
| 6024 | else |
| 6025 | output="$(trim "${!1}")" |
| 6026 | fi |
| 6027 | |
| 6028 | if [[ "$2" && "${output// }" ]]; then |
| 6029 | prin "$1" "$output" |
| 6030 | |
| 6031 | elif [[ "${output// }" ]]; then |
| 6032 | prin "$output" |
| 6033 | |
| 6034 | else |
| 6035 | err "Info: Couldn't detect ${1}." |
| 6036 | fi |
| 6037 | |
| 6038 | unset -v subtitle |
| 6039 | } |
| 6040 | |
| 6041 | prin() { |
| 6042 | # If $2 doesn't exist we format $1 as info. |
| 6043 | if [[ "$(trim "$1")" && "$2" ]]; then |
| 6044 | [[ "$json" ]] && { printf ' %s\n' "\"${1}\": \"${2}\","; return; } |
| 6045 | |
| 6046 | string="${1}${2:+: $2}" |
| 6047 | else |
| 6048 | string="${2:-$1}" |
| 6049 | local subtitle_color="$info_color" |
| 6050 | fi |
| 6051 | |
| 6052 | string="$(trim "${string//$'\e[0m'}")" |
| 6053 | length="$(strip_sequences "$string")" |
| 6054 | length="${#length}" |
| 6055 | |
| 6056 | # Format the output. |
| 6057 | string="${string/:/${reset}${colon_color}${separator:=:}${info_color}}" |
| 6058 | string="${subtitle_color}${bold}${string}" |
| 6059 | |
| 6060 | # Print the info. |
| 6061 | printf '%b\n' "${text_padding:+\e[${text_padding}C}${zws}${string//\\n}${reset} " |
| 6062 | |
| 6063 | # Calculate info height. |
| 6064 | ((++info_height)) |
| 6065 | |
| 6066 | # Log that prin was used. |
| 6067 | prin=1 |
| 6068 | } |
| 6069 | |
| 6070 | get_underline() { |
| 6071 | [[ "$underline_enabled" == "on" ]] && { |
| 6072 | printf -v underline "%${length}s" |
| 6073 | printf '%b%b\n' "${text_padding:+\e[${text_padding}C}${zws}${underline_color}" \ |
| 6074 | "${underline// /$underline_char}${reset} " |
| 6075 | } |
| 6076 | |
| 6077 | ((++info_height)) |
| 6078 | length= |
| 6079 | prin=1 |
| 6080 | } |
| 6081 | |
| 6082 | get_bold() { |
| 6083 | case $ascii_bold in |
| 6084 | "on") ascii_bold='\e[1m' ;; |
| 6085 | "off") ascii_bold="" ;; |
| 6086 | esac |
| 6087 | |
| 6088 | case $bold in |
| 6089 | "on") bold='\e[1m' ;; |
| 6090 | "off") bold="" ;; |
| 6091 | esac |
| 6092 | } |
| 6093 | |
| 6094 | trim() { |
| 6095 | set -f |
| 6096 | # shellcheck disable=2048,2086 |
| 6097 | set -- $* |
| 6098 | printf '%s\n' "${*//[[:space:]]/}" |
| 6099 | set +f |
| 6100 | } |
| 6101 | |
| 6102 | trim_quotes() { |
| 6103 | trim_output="${1//\'}" |
| 6104 | trim_output="${trim_output//\"}" |
| 6105 | printf "%s" "$trim_output" |
| 6106 | } |
| 6107 | |
| 6108 | strip_sequences() { |
| 6109 | strip="${1//$'\e'\[*([0-9])*(;*([0-9]))m}" |
| 6110 | strip="${strip//\\e\[*([0-9])*(;*([0-9]))m}" |
| 6111 | |
| 6112 | printf '%s\n' "$strip" |
| 6113 | } |
| 6114 | |
| 6115 | # COLORS |
| 6116 | |
| 6117 | set_colors() { |
| 6118 | c1="$(color "$1")${ascii_bold}" |
| 6119 | c2="$(color "$2")${ascii_bold}" |
| 6120 | c3="$(color "$3")${ascii_bold}" |
| 6121 | c4="$(color "$4")${ascii_bold}" |
| 6122 | c5="$(color "$5")${ascii_bold}" |
| 6123 | c6="$(color "$6")${ascii_bold}" |
| 6124 | |
| 6125 | [[ "$color_text" != "off" ]] && set_text_colors "$@" |
| 6126 | } |
| 6127 | |
| 6128 | set_text_colors() { |
| 6129 | if [[ "${colors[0]}" == "distro" ]]; then |
| 6130 | title_color="$(color "$1")" |
| 6131 | at_color="$reset" |
| 6132 | underline_color="$reset" |
| 6133 | subtitle_color="$(color "$2")" |
| 6134 | colon_color="$reset" |
| 6135 | info_color="$reset" |
| 6136 | |
| 6137 | # If the ascii art uses 8 as a color, make the text the fg. |
| 6138 | ((${1:-1} == 8)) && title_color="$reset" |
| 6139 | ((${2:-7} == 8)) && subtitle_color="$reset" |
| 6140 | |
| 6141 | # If the second color is white use the first for the subtitle. |
| 6142 | ((${2:-7} == 7)) && subtitle_color="$(color "$1")" |
| 6143 | ((${1:-1} == 7)) && title_color="$reset" |
| 6144 | else |
| 6145 | title_color="$(color "${colors[0]}")" |
| 6146 | at_color="$(color "${colors[1]}")" |
| 6147 | underline_color="$(color "${colors[2]}")" |
| 6148 | subtitle_color="$(color "${colors[3]}")" |
| 6149 | colon_color="$(color "${colors[4]}")" |
| 6150 | info_color="$(color "${colors[5]}")" |
| 6151 | fi |
| 6152 | |
| 6153 | # Bar colors. |
| 6154 | if [[ "$bar_color_elapsed" == "distro" ]]; then |
| 6155 | bar_color_elapsed="$(color fg)" |
| 6156 | else |
| 6157 | bar_color_elapsed="$(color "$bar_color_elapsed")" |
| 6158 | fi |
| 6159 | |
| 6160 | if [[ "$bar_color_total" == "distro" ]]; then |
| 6161 | bar_color_total="$(color fg)" |
| 6162 | else |
| 6163 | bar_color_total="$(color "$bar_color_total")" |
| 6164 | fi |
| 6165 | } |
| 6166 | |
| 6167 | color() { |
| 6168 | case $1 in |
| 6169 | [0-7]) printf '%b\e[3%sm' "$reset" "$1" ;; |
| 6170 | "fg") printf '%b' "$reset" ;; |
| 6171 | "#"*) |
| 6172 | local rgb="${1//#}" |
| 6173 | rgb="$((0x$rgb))" |
| 6174 | printf '\e[38;2;%b;%b;%bm' "$((rgb >> 16))" "$(((rgb >> 8) & 0xff))" "$((rgb & 0xff))" |
| 6175 | ;; |
| 6176 | |
| 6177 | *) printf '\e[38;5;%bm' "$1" ;; |
| 6178 | esac |
| 6179 | } |
| 6180 | |
| 6181 | # OTHER |
| 6182 | |
| 6183 | stdout() { |
| 6184 | image_backend="off" |
| 6185 | unset subtitle_color colon_color info_color underline_color bold title_color at_color \ |
| 6186 | text_padding zws reset color_blocks bar_color_elapsed bar_color_total \ |
| 6187 | c1 c2 c3 c4 c5 c6 c7 c8 |
| 6188 | } |
| 6189 | |
| 6190 | err() { |
| 6191 | err+="$(color 1)[!]${reset} $1 |
| 6192 | " |
| 6193 | } |
| 6194 | |
| 6195 | get_full_path() { |
| 6196 | # This function finds the absolute path from a relative one. |
| 6197 | # For example "Pictures/Wallpapers" --> "/home/dylan/Pictures/Wallpapers" |
| 6198 | |
| 6199 | # If the file exists in the current directory, stop here. |
| 6200 | [[ -f "${PWD}/${1}" ]] && { printf '%s\n' "${PWD}/${1}"; return; } |
| 6201 | |
| 6202 | ! cd "${1%/*}" && { |
| 6203 | err "Error: Directory '${1%/*}' doesn't exist or is inaccessible" |
| 6204 | err " Check that the directory exists or try another directory." |
| 6205 | exit 1 |
| 6206 | } |
| 6207 | |
| 6208 | local full_dir="${1##*/}" |
| 6209 | |
| 6210 | # Iterate down a (possible) chain of symlinks. |
| 6211 | while [[ -L "$full_dir" ]]; do |
| 6212 | full_dir="$(readlink "$full_dir")" |
| 6213 | cd "${full_dir%/*}" || exit |
| 6214 | full_dir="${full_dir##*/}" |
| 6215 | done |
| 6216 | |
| 6217 | # Final directory. |
| 6218 | full_dir="$(pwd -P)/${1/*\/}" |
| 6219 | |
| 6220 | [[ -e "$full_dir" ]] && printf '%s\n' "$full_dir" |
| 6221 | } |
| 6222 | |
| 6223 | get_user_config() { |
| 6224 | # --config /path/to/config.conf |
| 6225 | if [[ -f "$config_file" ]]; then |
| 6226 | source "$config_file" |
| 6227 | err "Config: Sourced user config. (${config_file})" |
| 6228 | return |
| 6229 | |
| 6230 | elif [[ -f "${XDG_CONFIG_HOME}/neowofetch/config.conf" ]]; then |
| 6231 | source "${XDG_CONFIG_HOME}/neowofetch/config.conf" |
| 6232 | err "Config: Sourced user config. (${XDG_CONFIG_HOME}/neowofetch/config.conf)" |
| 6233 | |
| 6234 | elif [[ -f "${XDG_CONFIG_HOME}/neowofetch/config" ]]; then |
| 6235 | source "${XDG_CONFIG_HOME}/neowofetch/config" |
| 6236 | err "Config: Sourced user config. (${XDG_CONFIG_HOME}/neowofetch/config)" |
| 6237 | |
| 6238 | elif [[ -z "$no_config" ]]; then |
| 6239 | config_file="${XDG_CONFIG_HOME}/neowofetch/config.conf" |
| 6240 | |
| 6241 | # The config file doesn't exist, create it. |
| 6242 | mkdir -p "${XDG_CONFIG_HOME}/neowofetch/" |
| 6243 | printf '%s\n' "$config" > "$config_file" |
| 6244 | fi |
| 6245 | } |
| 6246 | |
| 6247 | bar() { |
| 6248 | # Get the values. |
| 6249 | elapsed="$(($1 * bar_length / $2))" |
| 6250 | |
| 6251 | # Create the bar with spaces. |
| 6252 | printf -v prog "%${elapsed}s" |
| 6253 | printf -v total "%$((bar_length - elapsed))s" |
| 6254 | |
| 6255 | # Set the colors and swap the spaces for $bar_char_. |
| 6256 | bar+="${bar_color_elapsed}${prog// /${bar_char_elapsed}}" |
| 6257 | bar+="${bar_color_total}${total// /${bar_char_total}}" |
| 6258 | |
| 6259 | # Borders. |
| 6260 | [[ "$bar_border" == "on" ]] && \ |
| 6261 | bar="$(color fg)[${bar}$(color fg)]" |
| 6262 | |
| 6263 | printf "%b" "${bar}${info_color}" |
| 6264 | } |
| 6265 | |
| 6266 | cache() { |
| 6267 | if [[ "$2" ]]; then |
| 6268 | mkdir -p "${cache_dir}/neowofetch" |
| 6269 | printf "%s" "${1/*-}=\"$2\"" > "${cache_dir}/neowofetch/${1/*-}" |
| 6270 | fi |
| 6271 | } |
| 6272 | |
| 6273 | get_cache_dir() { |
| 6274 | if [[ "$TMPDIR" ]]; then |
| 6275 | cache_dir="$TMPDIR" |
| 6276 | else |
| 6277 | cache_dir="/tmp" |
| 6278 | fi |
| 6279 | } |
| 6280 | |
| 6281 | kde_config_dir() { |
| 6282 | # If the user is using KDE get the KDE |
| 6283 | # configuration directory. |
| 6284 | if [[ "$kde_config_dir" ]]; then |
| 6285 | return |
| 6286 | |
| 6287 | elif type -p kf5-config &>/dev/null; then |
| 6288 | kde_config_dir="$(kf5-config --path config)" |
| 6289 | |
| 6290 | elif type -p kde4-config &>/dev/null; then |
| 6291 | kde_config_dir="$(kde4-config --path config)" |
| 6292 | |
| 6293 | elif type -p kde-config &>/dev/null; then |
| 6294 | kde_config_dir="$(kde-config --path config)" |
| 6295 | |
| 6296 | elif [[ -d "${HOME}/.kde4" ]]; then |
| 6297 | kde_config_dir="${HOME}/.kde4/share/config" |
| 6298 | |
| 6299 | elif [[ -d "${HOME}/.kde3" ]]; then |
| 6300 | kde_config_dir="${HOME}/.kde3/share/config" |
| 6301 | fi |
| 6302 | |
| 6303 | kde_config_dir="${kde_config_dir/$'/:'*}" |
| 6304 | } |
| 6305 | |
| 6306 | tde_config_dir() { |
| 6307 | if [[ "$tde_config_dir" ]]; then |
| 6308 | return |
| 6309 | |
| 6310 | elif type -p tde-config &>/dev/null; then |
| 6311 | tde_config_dir="$(tde-config --path config)" |
| 6312 | |
| 6313 | elif [[ -d "${HOME}/.configtde" ]]; then |
| 6314 | tde_config_dir="${HOME}/.configtde" |
| 6315 | |
| 6316 | fi |
| 6317 | |
| 6318 | tde_config_dir="${tde_config_dir/$'/:'*}" |
| 6319 | } |
| 6320 | |
| 6321 | fly_config_file() { |
| 6322 | # Return main path the fly config file |
| 6323 | fly_config_file=${HOME}/.fly/theme/current.themerc |
| 6324 | } |
| 6325 | |
| 6326 | term_padding() { |
| 6327 | # Get terminal padding to properly align cursor. |
| 6328 | [[ -z "$term" ]] && get_term |
| 6329 | |
| 6330 | case $term in |
| 6331 | urxvt*|rxvt-unicode) |
| 6332 | [[ $xrdb ]] || xrdb=$(xrdb -query) |
| 6333 | |
| 6334 | [[ $xrdb != *internalBorder:* ]] && |
| 6335 | return |
| 6336 | |
| 6337 | padding=${xrdb/*internalBorder:} |
| 6338 | padding=${padding/$'\n'*} |
| 6339 | |
| 6340 | [[ $padding =~ ^[0-9]+$ ]] || |
| 6341 | padding= |
| 6342 | ;; |
| 6343 | esac |
| 6344 | } |
| 6345 | |
| 6346 | dynamic_prompt() { |
| 6347 | [[ "$image_backend" == "off" ]] && { printf '\n'; return; } |
| 6348 | [[ "$image_backend" != "ascii" ]] && ((lines=(height + yoffset) / font_height + 1)) |
| 6349 | [[ "$image_backend" == "w3m" ]] && ((lines=lines + padding / font_height + 1)) |
| 6350 | |
| 6351 | # If the ascii art is taller than the info. |
| 6352 | ((lines=lines>info_height?lines-info_height+1:1)) |
| 6353 | |
| 6354 | printf -v nlines "%${lines}s" |
| 6355 | printf "%b" "${nlines// /\\n}" |
| 6356 | } |
| 6357 | |
| 6358 | cache_uname() { |
| 6359 | # Cache the output of uname so we don't |
| 6360 | # have to spawn it multiple times. |
| 6361 | IFS=" " read -ra uname <<< "$(uname -srm)" |
| 6362 | |
| 6363 | kernel_name="${uname[0]}" |
| 6364 | kernel_version="${uname[1]}" |
| 6365 | kernel_machine="${uname[2]}" |
| 6366 | |
| 6367 | if [[ "$kernel_name" == "Darwin" ]] || |
| 6368 | [[ "$kernel_name" == "FreeBSD" && -f /System/Library/CoreServices/SystemVersion.plist ]]; then |
| 6369 | # macOS can report incorrect versions unless this is 0. |
| 6370 | # https://github.com/dylanaraps/neofetch/issues/1607 |
| 6371 | export SYSTEM_VERSION_COMPAT=0 |
| 6372 | |
| 6373 | IFS=$'\n' read -d "" -ra sw_vers <<< "$(awk -F'<|>' '/key|string/ {print $3}' \ |
| 6374 | "/System/Library/CoreServices/SystemVersion.plist")" |
| 6375 | for ((i=0;i<${#sw_vers[@]};i+=2)) { |
| 6376 | case ${sw_vers[i]} in |
| 6377 | ProductName) darwin_name=${sw_vers[i+1]} ;; |
| 6378 | ProductFamily) darwin_family=${sw_vers[i+1]} ;; |
| 6379 | ProductVersion) osx_version=${sw_vers[i+1]} ;; |
| 6380 | ProductBuildVersion) osx_build=${sw_vers[i+1]} ;; |
| 6381 | esac |
| 6382 | } |
| 6383 | fi |
| 6384 | } |
| 6385 | |
| 6386 | get_ppid() { |
| 6387 | # Get parent process ID of PID. |
| 6388 | case $os in |
| 6389 | "Windows") |
| 6390 | ppid="$(ps -p "${1:-$PPID}" | awk '{printf $2}')" |
| 6391 | ppid="${ppid/PPID}" |
| 6392 | ;; |
| 6393 | |
| 6394 | "Linux") |
| 6395 | ppid="$(grep -i -F "PPid:" "/proc/${1:-$PPID}/status")" |
| 6396 | ppid="$(trim "${ppid/PPid:}")" |
| 6397 | ;; |
| 6398 | |
| 6399 | *) |
| 6400 | ppid="$(ps -p "${1:-$PPID}" -o ppid=)" |
| 6401 | ;; |
| 6402 | esac |
| 6403 | |
| 6404 | printf "%s" "$ppid" |
| 6405 | } |
| 6406 | |
| 6407 | get_process_name() { |
| 6408 | # Get PID name. |
| 6409 | case $os in |
| 6410 | "Windows") |
| 6411 | name="$(ps -p "${1:-$PPID}" | awk '{printf $8}')" |
| 6412 | name="${name/COMMAND}" |
| 6413 | name="${name/*\/}" |
| 6414 | ;; |
| 6415 | |
| 6416 | "Linux") |
| 6417 | read -rd $'\00' name < "/proc/${1:-$PPID}/cmdline" |
| 6418 | ;; |
| 6419 | |
| 6420 | *) |
| 6421 | name="$(ps -p "${1:-$PPID}" -o comm=)" |
| 6422 | ;; |
| 6423 | esac |
| 6424 | |
| 6425 | printf "%s" "$name" |
| 6426 | } |
| 6427 | |
| 6428 | decode_url() { |
| 6429 | decode="${1//+/ }" |
| 6430 | printf "%b" "${decode//%/\\x}" |
| 6431 | } |
| 6432 | |
| 6433 | # FINISH UP |
| 6434 | |
| 6435 | usage() { printf "%s" "\ |
| 6436 | Usage: neowofetch func_name --option \"value\" --option \"value\" |
| 6437 | |
| 6438 | Neowofetch is a CLI system information tool written in BASH. Neowofetch |
| 6439 | displays information about your system next to an image, your OS logo, |
| 6440 | or any ASCII file of your choice. |
| 6441 | |
| 6442 | NOTE: Every launch flag has a config option. |
| 6443 | |
| 6444 | Options: |
| 6445 | |
| 6446 | INFO: |
| 6447 | func_name Specify a function name (second part of info() from config) to |
| 6448 | quickly display only that function's information. |
| 6449 | |
| 6450 | Example: neowofetch uptime --uptime_shorthand tiny |
| 6451 | |
| 6452 | Example: neowofetch uptime disk wm memory |
| 6453 | |
| 6454 | This can be used in bars and scripts like so: |
| 6455 | |
| 6456 | memory=\"\$(neowofetch memory)\"; memory=\"\${memory##*: }\" |
| 6457 | |
| 6458 | For multiple outputs at once (each line of info in an array): |
| 6459 | |
| 6460 | IFS=\$'\\n' read -d \"\" -ra info < <(neowofetch memory uptime wm) |
| 6461 | |
| 6462 | info=(\"\${info[@]##*: }\") |
| 6463 | |
| 6464 | --disable infoname Allows you to disable an info line from appearing |
| 6465 | in the output. 'infoname' is the function name from the |
| 6466 | 'print_info()' function inside the config file. |
| 6467 | For example: 'info \"Memory\" memory' would be '--disable memory' |
| 6468 | |
| 6469 | NOTE: You can supply multiple args. eg. 'neowofetch --disable cpu gpu' |
| 6470 | |
| 6471 | --title_fqdn on/off Hide/Show Fully Qualified Domain Name in title. |
| 6472 | --package_managers on/off Hide/Show Package Manager names. (on, tiny, off) |
| 6473 | --package_separate on/off Whether to separate system/user modes for supported package managers |
| 6474 | --package_minimal Reduce output of packages list by not showing programming language package managers or Steam games |
| 6475 | --os_arch on/off Hide/Show OS architecture. |
| 6476 | --speed_type type Change the type of cpu speed to display. |
| 6477 | Possible values: current, min, max, bios, |
| 6478 | scaling_current, scaling_min, scaling_max |
| 6479 | |
| 6480 | NOTE: This only supports Linux with cpufreq. |
| 6481 | |
| 6482 | --speed_shorthand on/off Whether or not to show decimals in CPU speed. |
| 6483 | |
| 6484 | NOTE: This flag is not supported in systems with CPU speed less than |
| 6485 | 1 GHz. |
| 6486 | |
| 6487 | --cpu_brand on/off Enable/Disable CPU brand in output. |
| 6488 | --cpu_cores type Whether or not to display the number of CPU cores |
| 6489 | Possible values: logical, physical, off |
| 6490 | |
| 6491 | NOTE: 'physical' doesn't work on BSD. |
| 6492 | |
| 6493 | --cpu_speed on/off Hide/Show cpu speed. |
| 6494 | --cpu_temp C/F/off Hide/Show cpu temperature. |
| 6495 | |
| 6496 | NOTE: This only works on Linux and BSD. |
| 6497 | |
| 6498 | NOTE: For FreeBSD and NetBSD-based systems, you need to enable |
| 6499 | coretemp kernel module. This only supports newer Intel processors. |
| 6500 | |
| 6501 | --distro_shorthand on/off Shorten the output of distro (on, tiny, off) |
| 6502 | |
| 6503 | NOTE: This option won't work in Windows (Cygwin) |
| 6504 | |
| 6505 | --kernel_shorthand on/off Shorten the output of kernel |
| 6506 | |
| 6507 | NOTE: This option won't work in BSDs (except PacBSD and PC-BSD) |
| 6508 | |
| 6509 | --uptime_shorthand on/off Shorten the output of uptime (on, tiny, off) |
| 6510 | --refresh_rate on/off Whether to display the refresh rate of each monitor |
| 6511 | Unsupported on Windows |
| 6512 | --gpu_brand on/off Enable/Disable GPU brand in output. (AMD/NVIDIA/Intel) |
| 6513 | --gpu_type type Which GPU to display. (all, dedicated, integrated) |
| 6514 | |
| 6515 | NOTE: This only supports Linux. |
| 6516 | |
| 6517 | --de_version on/off Show/Hide Desktop Environment version |
| 6518 | --gtk_shorthand on/off Shorten output of gtk theme/icons |
| 6519 | --gtk2 on/off Enable/Disable gtk2 theme/font/icons output |
| 6520 | --gtk3 on/off Enable/Disable gtk3 theme/font/icons output |
| 6521 | --shell_path on/off Enable/Disable showing \$SHELL path |
| 6522 | --shell_version on/off Enable/Disable showing \$SHELL version |
| 6523 | --editor_path on/off Enable/Disable showing \$EDITOR path |
| 6524 | --editor_version on/off Enable/Disable showing \$EDITOR version |
| 6525 | --disk_show value Which disks to display. |
| 6526 | Possible values: '/', '/dev/sdXX', '/path/to/mount point' |
| 6527 | |
| 6528 | NOTE: Multiple values can be given. (--disk_show '/' '/dev/sdc1') |
| 6529 | |
| 6530 | --disk_subtitle type What information to append to the Disk subtitle. |
| 6531 | Takes: name, mount, dir, none |
| 6532 | |
| 6533 | 'name' shows the disk's name (sda1, sda2, etc) |
| 6534 | |
| 6535 | 'mount' shows the disk's mount point (/, /mnt/Local Disk, etc) |
| 6536 | |
| 6537 | 'dir' shows the basename of the disks's path. (/, Local Disk, etc) |
| 6538 | |
| 6539 | 'none' shows only 'Disk' or the configured title. |
| 6540 | |
| 6541 | --disk_percent on/off Hide/Show disk percent. |
| 6542 | |
| 6543 | --ip_host url URL to query for public IP |
| 6544 | --ip_timeout int Public IP timeout (in seconds). |
| 6545 | --ip_interface value Interface(s) to use for local IP |
| 6546 | --song_format format Print the song data in a specific format (see config file). |
| 6547 | --song_shorthand on/off Print the Artist/Album/Title on separate lines. |
| 6548 | --memory_percent on/off Display memory percentage. |
| 6549 | --memory_unit (k/m/g/t)ib Memory output unit. |
| 6550 | --memory_precision integer Change memory output precision. (≥0, default=2) |
| 6551 | --music_player player-name Manually specify a player to use. |
| 6552 | Available values are listed in the config file |
| 6553 | |
| 6554 | TEXT FORMATTING: |
| 6555 | --colors x x x x x x Changes the text colors in this order: |
| 6556 | title, @, underline, subtitle, colon, info |
| 6557 | --underline on/off Enable/Disable the underline. |
| 6558 | --underline_char char Character to use when underlining title |
| 6559 | --bold on/off Enable/Disable bold text |
| 6560 | --separator string Changes the default ':' separator to the specified string. |
| 6561 | |
| 6562 | COLOR BLOCKS: |
| 6563 | --color_blocks on/off Enable/Disable the color blocks |
| 6564 | --col_offset auto/num Left-padding of color blocks |
| 6565 | --block_width num Width of color blocks in spaces |
| 6566 | --block_height num Height of color blocks in lines |
| 6567 | --block_range num num Range of colors to print as blocks |
| 6568 | |
| 6569 | BARS: |
| 6570 | --bar_char 'elapsed char' 'total char' |
| 6571 | Characters to use when drawing bars. |
| 6572 | --bar_border on/off Whether or not to surround the bar with '[]' |
| 6573 | --bar_length num Length in spaces to make the bars. |
| 6574 | --bar_colors num num Colors to make the bar. |
| 6575 | Set in this order: elapsed, total |
| 6576 | --memory_display mode Bar mode. |
| 6577 | Possible values: bar, infobar, barinfo, off |
| 6578 | --battery_display mode Bar mode. |
| 6579 | Possible values: bar, infobar, barinfo, off |
| 6580 | --disk_display mode Bar mode. |
| 6581 | Possible values: bar, infobar, barinfo, off |
| 6582 | |
| 6583 | IMAGE BACKEND: |
| 6584 | --backend backend Which image backend to use. |
| 6585 | Possible values: 'ascii', 'caca', 'catimg', 'chafa', 'jp2a', |
| 6586 | 'iterm2', 'off', 'sixel', 'tycat', 'w3m', 'kitty', 'viu' |
| 6587 | --source source Which image or ascii file to use. |
| 6588 | Possible values: 'auto', 'ascii', 'wallpaper', '/path/to/img', |
| 6589 | '/path/to/ascii', '/path/to/dir/', 'command output' [ascii] |
| 6590 | |
| 6591 | --ascii source Shortcut to use 'ascii' backend. |
| 6592 | |
| 6593 | NEW: neowofetch --ascii \"\$(fortune | cowsay -W 30)\" |
| 6594 | |
| 6595 | --caca source Shortcut to use 'caca' backend. |
| 6596 | --catimg source Shortcut to use 'catimg' backend. |
| 6597 | --chafa source Shortcut to use 'chafa' backend. |
| 6598 | --iterm2 source Shortcut to use 'iterm2' backend. |
| 6599 | --jp2a source Shortcut to use 'jp2a' backend. |
| 6600 | --kitty source Shortcut to use 'kitty' backend. |
| 6601 | --pot source Shortcut to use 'pot' backend. |
| 6602 | --pixterm source Shortcut to use 'pixterm' backend. |
| 6603 | --sixel source Shortcut to use 'sixel' backend. |
| 6604 | --termpix source Shortcut to use 'termpix' backend. |
| 6605 | --tycat source Shortcut to use 'tycat' backend. |
| 6606 | --w3m source Shortcut to use 'w3m' backend. |
| 6607 | --ueberzug source Shortcut to use 'ueberzug' backend |
| 6608 | --viu source Shortcut to use 'viu' backend |
| 6609 | --off Shortcut to use 'off' backend (Disable ascii art). |
| 6610 | |
| 6611 | NOTE: 'source; can be any of the following: 'auto', 'ascii', 'wallpaper', '/path/to/img', |
| 6612 | '/path/to/ascii', '/path/to/dir/' |
| 6613 | |
| 6614 | ASCII: |
| 6615 | --ascii_colors x x x x x x Colors to print the ascii art |
| 6616 | --ascii_distro distro Which Distro's ascii art to print |
| 6617 | |
| 6618 | NOTE: Adélie, aerOS, Afterglow, AIX, AlmaLinux, Alpine, Alter, |
| 6619 | Amazon, AmogOS, Anarchy, Android, Antergos, antiX, AOSC OS, Aperio |
| 6620 | GNU/Linux, Aperture, Apricity, Arch, ArchBox, Archcraft, |
| 6621 | archcraft_ascii, archcraft_minimal, ARCHlabs, ArchMerge, ArchStrike, |
| 6622 | ArcoLinux, Arkane, ArseLinux, Artix, Arya, Asahi, AsteroidOS, astOS, |
| 6623 | Astra Linux, Athena, azos, Bedrock, BigLinux, BigLinux_large, |
| 6624 | Bitrig, BlackArch, BlackMesa, blackPanther, BLAG, BlankOn, |
| 6625 | BlueLight, Bodhi, bonsai, BSD, BunsenLabs, CachyOS, Calculate, |
| 6626 | CalinixOS, Carbs, CBL-Mariner, CelOS, Center, CentOS, Chakra, |
| 6627 | ChaletOS, Chapeau, Chimera, ChonkySealOS, Chrom, Cleanjaro, Clear |
| 6628 | Linux OS, ClearOS, Clover, Cobalt, Condres, Container Linux by |
| 6629 | CoreOS, CRUX, Crystal Linux, Cucumber, CutefishOS, CuteOS, CyberOS, |
| 6630 | dahlia, DarkOs, Darwin, Debian, Deepin, DesaOS, Devuan, DietPi, |
| 6631 | digital UNIX, DracOS, DragonFly, Drauger, Droidian, Elementary, |
| 6632 | Elive, EncryptOS, EndeavourOS, Endless, Enso, EuroLinux, |
| 6633 | EvolutionOS, eweOS, Exherbo, Exodia Predator OS, Fedora, Fedora |
| 6634 | Kinoite, Fedora Sericea, Fedora Silverblue, Fedora_unicode, |
| 6635 | FemboyOS, Feren, Finnix, Floflis, FreeBSD, FreeMiNT, Frugalware, |
| 6636 | Funtoo, Furreto, GalliumOS, Garuda, Gentoo, GhostBSD, glaucus, |
| 6637 | gNewSense, GNOME, GNU, GoboLinux, GrapheneOS, Grombyang, Guix, |
| 6638 | Haiku, HamoniKR, HarDClanZ, Hash, Huayra, Hybrid, HydroOS, |
| 6639 | Hyperbola, iglunix, instantOS, Interix, IRIX, Ironclad, Itc, |
| 6640 | januslinux, Kaisen, Kali, KaOS, KDE, Kibojoe, Kogaion, Korora, |
| 6641 | KrassOS, KSLinux, Kubuntu, LainOS, LangitKetujuh, LaxerOS, LEDE, |
| 6642 | LibreELEC, Linspire, Linux, Linux Lite, Linux Mint, Linux Mint Old, |
| 6643 | LinuxFromScratch, Live Raizo, LMDE, Lubuntu, Lunar, mac, MacaroniOS, |
| 6644 | Mageia, Magix, MagpieOS, MainsailOS, Mandriva, Manjaro, MassOS, |
| 6645 | MatuusOS, Maui, Mauna, Meowix, Mer, Minix, MIRACLE LINUX, MX, Namib, |
| 6646 | NekOS, Neptune, NetBSD, Netrunner, Nitrux, NixOS, nixos_colorful, |
| 6647 | Nobara, NomadBSD, Nurunner, NuTyX, Obarun, OBRevenge, OmniOS, Open |
| 6648 | Source Media Center, OpenBSD, openEuler, OpenIndiana, openKylin, |
| 6649 | openmamba, OpenMandriva, OpenStage, openSUSE, openSUSE Leap, |
| 6650 | openSUSE Tumbleweed, OPNsense, Oracle, orchid, OS Elbrus, PacBSD, |
| 6651 | Panwah, Parabola, parch, Pardus, Parrot, Parsix, PCBSD, PCLinuxOS, |
| 6652 | pearOS, Pengwin, Pentoo, Peppermint, Peropesis, phyOS, PikaOS, Pisi, |
| 6653 | PNM Linux, Pop!_OS, Porteus, PostMarketOS, Profelis SambaBOX, |
| 6654 | Proxmox, PuffOS, Puppy, PureOS, Q4OS, Qubes, Qubyt, Quibian, Radix, |
| 6655 | Raspbian, ravynOS, Reborn OS, Red Star, Redcore, Redhat, Refracted |
| 6656 | Devuan, Regata, Regolith, RhaymOS, rocky, Rosa, Sabayon, sabotage, |
| 6657 | Sailfish, SalentOS, Salient OS, Salix, Sasanqua, Scientific, semc, |
| 6658 | Septor, Serene, SharkLinux, ShastraOS, Siduction, SkiffOS, Slackel, |
| 6659 | Slackware, SliTaz, SmartOS, Soda, Solus, Source Mage, Sparky, Star, |
| 6660 | SteamOS, Stock Linux, Sulin, SunOS, SwagArch, t2, Tails, Tatra, |
| 6661 | TeArch, TorizonCore, Trisquel, Twister, Ubuntu, Ubuntu Budgie, |
| 6662 | Ubuntu Cinnamon, Ubuntu Kylin, Ubuntu MATE, Ubuntu Studio, Ubuntu |
| 6663 | Sway, Ubuntu Touch, Ubuntu-GNOME, ubuntu_old02, Ultramarine Linux, |
| 6664 | unicodearch, Univalent, Univention, Uos, UrukOS, uwuntu, Vanilla, |
| 6665 | Venom, VNux, Void, VzLinux, wii-linux-ngx, Windows, Windows 10, |
| 6666 | Windows 11, Windows95, Wrt, Xenia, Xenia2, XFerience, Xray_OS, |
| 6667 | Xubuntu, yiffOS, Zorin have ascii logos. |
| 6668 | |
| 6669 | NOTE: arch, dragonfly, Fedora, LangitKetujuh, nixos, redhat, Ubuntu |
| 6670 | have 'old' logo variants, use {distro}_old to use them. |
| 6671 | |
| 6672 | NOTE: alpine, android, arch, arcolinux, artix, CalinixOS, centos, |
| 6673 | cleanjaro, crux, debian, dragonfly, elementary, endeavouros, fedora, |
| 6674 | freebsd, garuda, gentoo, guix, haiku, hyperbola, kali, Linux, |
| 6675 | linuxlite, linuxmint, mac, mageia, MainsailOS, manjaro, mx, netbsd, |
| 6676 | nixos, openbsd, opensuse, orchid, parabola, popos, postmarketos, |
| 6677 | pureos, Raspbian, rocky, slackware, sunos, ubuntu, venom, void have |
| 6678 | 'small' logo variants, use {distro}_small to use them. |
| 6679 | |
| 6680 | NOTE: Fedora has immutable spins with unique logos (except Onyx). |
| 6681 | |
| 6682 | NOTE: Change this to Silverblue, Kinoite, Sericea, or CoreOS to use |
| 6683 | the spins. |
| 6684 | |
| 6685 | --ascii_bold on/off Whether or not to bold the ascii logo. |
| 6686 | -L, --logo Hide the info text and only show the ascii logo. |
| 6687 | |
| 6688 | IMAGE: |
| 6689 | --loop Redraw the image constantly until Ctrl+C is used. This fixes issues |
| 6690 | in some terminals emulators when using image mode. |
| 6691 | --size 00px | --size 00% How to size the image. |
| 6692 | Possible values: auto, 00px, 00%, none |
| 6693 | --catimg_size 1/2 Change the resolution of catimg. |
| 6694 | --crop_mode mode Which crop mode to use |
| 6695 | Takes the values: normal, fit, fill |
| 6696 | --crop_offset value Change the crop offset for normal mode. |
| 6697 | Possible values: northwest, north, northeast, |
| 6698 | west, center, east, southwest, south, southeast |
| 6699 | |
| 6700 | --xoffset px How close the image will be to the left edge of the |
| 6701 | window. This only works with w3m. |
| 6702 | --yoffset px How close the image will be to the top edge of the |
| 6703 | window. This only works with w3m. |
| 6704 | --bg_color color Background color to display behind transparent image. |
| 6705 | This only works with w3m. |
| 6706 | --gap num Gap between image and text. |
| 6707 | |
| 6708 | NOTE: --gap can take a negative value which will move the text |
| 6709 | closer to the left side. |
| 6710 | |
| 6711 | --clean Delete cached files and thumbnails. |
| 6712 | |
| 6713 | OTHER: |
| 6714 | --config /path/to/config Specify a path to a custom config file |
| 6715 | --config none Launch the script without a config file |
| 6716 | --no_config Don't create the user config file. |
| 6717 | --print_config Print the default config file to stdout. |
| 6718 | --stdout=on Turn off all colors and disables any ASCII/image backend. |
| 6719 | --stdout=off Enable the colored output and ASCII/image backend |
| 6720 | --stdout=auto Let the program decide basing on the output type (default behavior) |
| 6721 | --stdout Equivalent to '--stdout=on', for backward compatibility |
| 6722 | --help Print this text and exit |
| 6723 | --version Show neowofetch version |
| 6724 | -v Display error messages. |
| 6725 | -vv Display a verbose log for error reporting. |
| 6726 | |
| 6727 | DEVELOPER: |
| 6728 | --gen-man Generate a manpage for Neowofetch in your PWD. (Requires GNU help2man) |
| 6729 | |
| 6730 | |
| 6731 | Report bugs to https://github.com/hykilpikonna/hyfetch/issues |
| 6732 | |
| 6733 | " |
| 6734 | exit 1 |
| 6735 | } |
| 6736 | |
| 6737 | get_args() { |
| 6738 | # Check the commandline flags early for '--config'. |
| 6739 | [[ "$*" != *--config* && "$*" != *--no_config* ]] && get_user_config |
| 6740 | |
| 6741 | while [[ "$1" ]]; do |
| 6742 | case $1 in |
| 6743 | # Info |
| 6744 | "--title_fqdn") title_fqdn="$2" ;; |
| 6745 | "--package_managers") package_managers="$2" ;; |
| 6746 | "--package_separate") package_separate="$2" ;; |
| 6747 | "--package_minimal") package_minimal="1" ;; |
| 6748 | "--os_arch") os_arch="$2" ;; |
| 6749 | "--cpu_cores") cpu_cores="$2" ;; |
| 6750 | "--cpu_speed") cpu_speed="$2" ;; |
| 6751 | "--speed_type") speed_type="$2" ;; |
| 6752 | "--speed_shorthand") speed_shorthand="$2" ;; |
| 6753 | "--distro_shorthand") distro_shorthand="$2" ;; |
| 6754 | "--kernel_shorthand") kernel_shorthand="$2" ;; |
| 6755 | "--uptime_shorthand") uptime_shorthand="$2" ;; |
| 6756 | "--cpu_brand") cpu_brand="$2" ;; |
| 6757 | "--gpu_brand") gpu_brand="$2" ;; |
| 6758 | "--gpu_type") gpu_type="$2" ;; |
| 6759 | "--refresh_rate") refresh_rate="$2" ;; |
| 6760 | "--de_version") de_version="$2" ;; |
| 6761 | "--gtk_shorthand") gtk_shorthand="$2" ;; |
| 6762 | "--gtk2") gtk2="$2" ;; |
| 6763 | "--gtk3") gtk3="$2" ;; |
| 6764 | "--qt") qt="$2" ;; |
| 6765 | "--shell_path") shell_path="$2" ;; |
| 6766 | "--shell_version") shell_version="$2" ;; |
| 6767 | "--editor_path") editor_path="$2" ;; |
| 6768 | "--editor_version") editor_version="$2" ;; |
| 6769 | "--ip_host") public_ip_host="$2" ;; |
| 6770 | "--ip_timeout") public_ip_timeout="$2" ;; |
| 6771 | "--ip_interface") |
| 6772 | unset local_ip_interface |
| 6773 | for arg in "$@"; do |
| 6774 | case "$arg" in |
| 6775 | "--ip_interface") ;; |
| 6776 | "-"*) break ;; |
| 6777 | *) local_ip_interface+=("$arg") ;; |
| 6778 | esac |
| 6779 | done |
| 6780 | ;; |
| 6781 | |
| 6782 | "--song_format") song_format="$2" ;; |
| 6783 | "--song_shorthand") song_shorthand="$2" ;; |
| 6784 | "--music_player") music_player="$2" ;; |
| 6785 | "--memory_percent") memory_percent="$2" ;; |
| 6786 | "--memory_unit") memory_unit="$2" ;; |
| 6787 | "--memory_precision") mem_precision="$2" ;; |
| 6788 | "--cpu_temp") |
| 6789 | cpu_temp="$2" |
| 6790 | [[ "$cpu_temp" == "on" ]] && cpu_temp="C" |
| 6791 | ;; |
| 6792 | |
| 6793 | "--disk_subtitle") disk_subtitle="$2" ;; |
| 6794 | "--disk_percent") disk_percent="$2" ;; |
| 6795 | "--disk_show") |
| 6796 | unset disk_show |
| 6797 | for arg in "$@"; do |
| 6798 | case $arg in |
| 6799 | "--disk_show") ;; |
| 6800 | "-"*) break ;; |
| 6801 | *) disk_show+=("$arg") ;; |
| 6802 | esac |
| 6803 | done |
| 6804 | ;; |
| 6805 | |
| 6806 | "--disable") |
| 6807 | for func in "$@"; do |
| 6808 | case $func in |
| 6809 | "--disable") continue ;; |
| 6810 | "-"*) break ;; |
| 6811 | *) |
| 6812 | ((bash_version >= 4)) && func="${func,,}" |
| 6813 | unset -f "get_$func" |
| 6814 | ;; |
| 6815 | esac |
| 6816 | done |
| 6817 | ;; |
| 6818 | |
| 6819 | # Text Colors |
| 6820 | "--colors") |
| 6821 | unset colors |
| 6822 | for arg in "$2" "$3" "$4" "$5" "$6" "$7"; do |
| 6823 | case $arg in |
| 6824 | "-"*) break ;; |
| 6825 | *) colors+=("$arg") ;; |
| 6826 | esac |
| 6827 | done |
| 6828 | colors+=(7 7 7 7 7 7) |
| 6829 | ;; |
| 6830 | |
| 6831 | # Text Formatting |
| 6832 | "--underline") underline_enabled="$2" ;; |
| 6833 | "--underline_char") underline_char="$2" ;; |
| 6834 | "--bold") bold="$2" ;; |
| 6835 | "--separator") separator="$2" ;; |
| 6836 | |
| 6837 | # Color Blocks |
| 6838 | "--color_blocks") color_blocks="$2" ;; |
| 6839 | "--block_range") block_range=("$2" "$3") ;; |
| 6840 | "--block_width") block_width="$2" ;; |
| 6841 | "--block_height") block_height="$2" ;; |
| 6842 | "--col_offset") col_offset="$2" ;; |
| 6843 | |
| 6844 | # Bars |
| 6845 | "--bar_char") |
| 6846 | bar_char_elapsed="$2" |
| 6847 | bar_char_total="$3" |
| 6848 | ;; |
| 6849 | |
| 6850 | "--bar_border") bar_border="$2" ;; |
| 6851 | "--bar_length") bar_length="$2" ;; |
| 6852 | "--bar_colors") |
| 6853 | bar_color_elapsed="$2" |
| 6854 | bar_color_total="$3" |
| 6855 | ;; |
| 6856 | |
| 6857 | "--memory_display") memory_display="$2" ;; |
| 6858 | "--battery_display") battery_display="$2" ;; |
| 6859 | "--disk_display") disk_display="$2" ;; |
| 6860 | |
| 6861 | # Image backend |
| 6862 | "--backend") image_backend="$2" ;; |
| 6863 | "--source") image_source="$2" ;; |
| 6864 | "--ascii" | "--caca" | "--catimg" | "--chafa" | "--jp2a" | "--iterm2" | "--off" |\ |
| 6865 | "--pot" | "--pixterm" | "--sixel" | "--termpix" | "--tycat" | "--w3m" | "--kitty" |\ |
| 6866 | "--ueberzug" | "--viu") |
| 6867 | image_backend="${1/--}" |
| 6868 | case $2 in |
| 6869 | "-"* | "") ;; |
| 6870 | *) image_source="$2" ;; |
| 6871 | esac |
| 6872 | ;; |
| 6873 | |
| 6874 | # Image options |
| 6875 | "--loop") image_loop="on" ;; |
| 6876 | "--image_size" | "--size") image_size="$2" ;; |
| 6877 | "--catimg_size") catimg_size="$2" ;; |
| 6878 | "--crop_mode") crop_mode="$2" ;; |
| 6879 | "--crop_offset") crop_offset="$2" ;; |
| 6880 | "--xoffset") xoffset="$2" ;; |
| 6881 | "--yoffset") yoffset="$2" ;; |
| 6882 | "--background_color" | "--bg_color") background_color="$2" ;; |
| 6883 | "--gap") gap="$2" ;; |
| 6884 | "--clean") |
| 6885 | [[ -d "$thumbnail_dir" ]] && rm -rf "$thumbnail_dir" |
| 6886 | rm -rf "$cache_dir/neowofetch/" |
| 6887 | exit |
| 6888 | ;; |
| 6889 | |
| 6890 | "--ascii_colors") |
| 6891 | unset ascii_colors |
| 6892 | for arg in "$2" "$3" "$4" "$5" "$6" "$7"; do |
| 6893 | case $arg in |
| 6894 | "-"*) break ;; |
| 6895 | *) ascii_colors+=("$arg") |
| 6896 | esac |
| 6897 | done |
| 6898 | ascii_colors+=(7 7 7 7 7 7) |
| 6899 | ;; |
| 6900 | |
| 6901 | "--ascii_distro") |
| 6902 | image_backend="ascii" |
| 6903 | ascii_distro="$2" |
| 6904 | ;; |
| 6905 | |
| 6906 | "--ascii_bold") ascii_bold="$2" ;; |
| 6907 | "--logo" | "-L") |
| 6908 | image_backend="ascii" |
| 6909 | print_info() { printf '\n'; } |
| 6910 | ;; |
| 6911 | |
| 6912 | # Other |
| 6913 | "--config") |
| 6914 | case $2 in |
| 6915 | "none" | "off" | "") ;; |
| 6916 | *) |
| 6917 | config_file="$(get_full_path "$2")" |
| 6918 | get_user_config |
| 6919 | ;; |
| 6920 | esac |
| 6921 | ;; |
| 6922 | "--no_config") no_config="on" ;; |
| 6923 | "--stdout") stdout="on" ;; |
| 6924 | "--stdout=on") stdout="on" ;; |
| 6925 | "--stdout=off") stdout="off" ;; |
| 6926 | "--stdout=auto") stdout="auto" ;; |
| 6927 | "-v") verbose="on" ;; |
| 6928 | "--print_config") printf '%s\n' "$config"; exit ;; |
| 6929 | "-vv") set -x; verbose="on" ;; |
| 6930 | "--help") usage ;; |
| 6931 | "--version") |
| 6932 | printf '%s\n' "Neowofetch $version" |
| 6933 | exit 1 |
| 6934 | ;; |
| 6935 | "--gen-man") |
| 6936 | help2man -n "A fast, highly customizable system info script" \ |
| 6937 | -N ./neowofetch -o neowofetch.1 |
| 6938 | exit 1 |
| 6939 | ;; |
| 6940 | |
| 6941 | "--json") |
| 6942 | json="on" |
| 6943 | unset -f get_title get_cols get_underline |
| 6944 | |
| 6945 | printf '{\n' |
| 6946 | print_info 2>/dev/null |
| 6947 | printf ' %s\n' "\"Version\": \"${version}\"" |
| 6948 | printf '}\n' |
| 6949 | exit |
| 6950 | ;; |
| 6951 | |
| 6952 | "--travis") |
| 6953 | print_info() { |
| 6954 | info title |
| 6955 | info underline |
| 6956 | |
| 6957 | info "OS" distro |
| 6958 | info "Host" model |
| 6959 | info "Kernel" kernel |
| 6960 | info "Uptime" uptime |
| 6961 | info "Packages" packages |
| 6962 | info "Shell" shell |
| 6963 | info "Resolution" resolution |
| 6964 | info "DE" de |
| 6965 | info "WM" wm |
| 6966 | info "WM Theme" wm_theme |
| 6967 | info "Theme" theme |
| 6968 | info "Icons" icons |
| 6969 | info "Terminal" term |
| 6970 | info "Terminal Font" term_font |
| 6971 | info "CPU" cpu |
| 6972 | info "GPU" gpu |
| 6973 | info "GPU Driver" gpu_driver |
| 6974 | info "Memory" memory |
| 6975 | info "Network" network |
| 6976 | info "Bluetooth" bluetooth |
| 6977 | info "BIOS" bios |
| 6978 | |
| 6979 | info "Disk" disk |
| 6980 | info "Battery" battery |
| 6981 | info "Power Adapter" power_adapter |
| 6982 | info "Font" font |
| 6983 | info "Song" song |
| 6984 | info "Local IP" local_ip |
| 6985 | info "Public IP" public_ip |
| 6986 | info "Users" users |
| 6987 | |
| 6988 | info cols |
| 6989 | |
| 6990 | # Testing. |
| 6991 | prin "prin" |
| 6992 | prin "prin" "prin" |
| 6993 | |
| 6994 | # Testing no subtitles. |
| 6995 | info uptime |
| 6996 | info disk |
| 6997 | } |
| 6998 | |
| 6999 | refresh_rate="on" |
| 7000 | shell_version="on" |
| 7001 | memory_display="infobar" |
| 7002 | disk_display="infobar" |
| 7003 | cpu_temp="C" |
| 7004 | |
| 7005 | # Known implicit unused variables. |
| 7006 | mpc_args=() |
| 7007 | printf '%s\n' "$kernel $icons $font $cursor $battery $locale ${mpc_args[*]}" |
| 7008 | ;; |
| 7009 | esac |
| 7010 | |
| 7011 | shift |
| 7012 | done |
| 7013 | } |
| 7014 | |
| 7015 | get_simple() { |
| 7016 | while [[ "$1" ]]; do |
| 7017 | [[ "$(type -t "get_$1")" == "function" ]] && { |
| 7018 | get_distro |
| 7019 | stdout |
| 7020 | simple=1 |
| 7021 | info "$1" "$1" |
| 7022 | } |
| 7023 | shift |
| 7024 | done |
| 7025 | ((simple)) && exit |
| 7026 | } |
| 7027 | |
| 7028 | old_functions() { |
| 7029 | # Removed functions for backwards compatibility. |
| 7030 | get_line_break() { :; } |
| 7031 | get_cpu_usage() { :; } |
| 7032 | } |
| 7033 | |
| 7034 | get_distro_ascii() { |
| 7035 | # This function gets the distro ascii art and colors. |
| 7036 | # |
| 7037 | # $ascii_distro is the same as $distro. |
| 7038 | case $(trim "$ascii_distro") in |
| 7039 | "Adélie"* | "Adelie"*) |
| 7040 | set_colors 4 7 6 |
| 7041 | read -rd '' ascii_data <<'EOF' |
| 7042 | ${c1} ${c3} ,-^-___ |
| 7043 | ${c3} /\\\\\\/// |
| 7044 | ${c2}refined.${c1} /\\\\\\\\// |
| 7045 | ${c2}reliable.${c1} /\\\\\\/// |
| 7046 | ${c2}ready.${c1} /\\\\/////\\ |
| 7047 | __///\\\\\\\\/////\\ |
| 7048 | ${c3} _//////\\\\\\\\\\\\\\//// |
| 7049 | ${c1} ///////${c3}\\\\\\\\\\\\\\\\\\\\// |
| 7050 | //////${c1}\\\\\\\\\\/ |
| 7051 | /////\\\\\\\\\\/ |
| 7052 | /////${c3}\\\\\\\\/ |
| 7053 | /\\\\///\\\\\\/ |
| 7054 | /\\\\\\/${c1}\\\/ |
| 7055 | /\\\\\\\\// |
| 7056 | ////// |
| 7057 | /// ${c3}\\\\\\\\\\ |
| 7058 | EOF |
| 7059 | ;; |
| 7060 | |
| 7061 | "AIX"*) |
| 7062 | set_colors 2 7 |
| 7063 | read -rd '' ascii_data <<'EOF' |
| 7064 | ${c1} `:+ssssossossss+-` |
| 7065 | .oys///oyhddddhyo///sy+. |
| 7066 | /yo:+hNNNNNNNNNNNNNNNNh+:oy/ |
| 7067 | :h/:yNNNNNNNNNNNNNNNNNNNNNNy-+h: |
| 7068 | `ys.yNNNNNNNNNNNNNNNNNNNNNNNNNNy.ys |
| 7069 | `h+-mNNNNNNNNNNNNNNNNNNNNNNNNNNNNm-oh |
| 7070 | h+-NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN.oy |
| 7071 | /d`mNNNNNNN/::mNNNd::m+:/dNNNo::dNNNd`m: |
| 7072 | h//NNNNNNN: . .NNNh mNo od. -dNNNNN:+y |
| 7073 | N.sNNNNNN+ -N/ -NNh mNNd. sNNNNNNNo-m |
| 7074 | N.sNNNNNs +oo /Nh mNNs` ` /mNNNNNNo-m |
| 7075 | h//NNNNh ossss` +h md- .hm/ `sNNNNN:+y |
| 7076 | :d`mNNN+/yNNNNNd//y//h//oNNNNy//sNNNd`m- |
| 7077 | yo-NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNm.ss |
| 7078 | `h+-mNNNNNNNNNNNNNNNNNNNNNNNNNNNNm-oy |
| 7079 | sy.yNNNNNNNNNNNNNNNNNNNNNNNNNNs.yo |
| 7080 | :h+-yNNNNNNNNNNNNNNNNNNNNNNs-oh- |
| 7081 | :ys:/yNNNNNNNNNNNNNNNmy/:sy: |
| 7082 | .+ys///osyhhhhys+///sy+. |
| 7083 | -/osssossossso/- |
| 7084 | EOF |
| 7085 | ;; |
| 7086 | |
| 7087 | "Aperio GNU/Linux"*) |
| 7088 | set_colors 255 |
| 7089 | read -rd '' ascii_data <<'EOF' |
| 7090 | ${c2} |
| 7091 | _.._ _ ._.. _ |
| 7092 | (_][_)(/,[ |(_) |
| 7093 | | GNU/Linux |
| 7094 | EOF |
| 7095 | ;; |
| 7096 | |
| 7097 | "Aperture"*) |
| 7098 | set_colors 6 6 7 1 |
| 7099 | read -rd '' ascii_data <<'EOF' |
| 7100 | ${c1} .,-:;//;:=, |
| 7101 | . :H@@@MM@M#H/.,+%;, |
| 7102 | ,/X+ +M@@M@MM%=,-%HMMM@X/, |
| 7103 | -+@MM; $M@@MH+-,;XMMMM@MMMM@+- |
| 7104 | ;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/. |
| 7105 | ,%MM@@MH ,@%= .---=-=:=,. |
| 7106 | =@#@@@MX., -%HX$$%%%:; |
| 7107 | =-./@M@M$ .;@MMMM@MM: |
| 7108 | X@/ -$MM/ . +MM@@@M$ |
| 7109 | ,@M@H: :@: . =X#@@@@- |
| 7110 | ,@@@MMX, . /H- ;@M@M= |
| 7111 | .H@@@@M@+, %MM+..%#$. |
| 7112 | /MMMM@MMH/. XM@MH; =; |
| 7113 | /%+%$XHH@$= , .H@@@@MX, |
| 7114 | .=--------. -%H.,@@@@@MX, |
| 7115 | .%MM@@@HHHXX$$$%+- .:$MMX =M@@MM%. |
| 7116 | =XMMM@MM@MM#H;,-+HMM@M+ /MMMX= |
| 7117 | =%@M@M#@$-.=$@MM@@@M; %M%= |
| 7118 | ,:+$+-,/H#MMMMMMM@= =, |
| 7119 | =++%%%%+/:-. |
| 7120 | EOF |
| 7121 | ;; |
| 7122 | |
| 7123 | "Asahi"*) |
| 7124 | set_colors 3 2 1 8 7 6 4 |
| 7125 | read -rd '' ascii_data <<'EOF' |
| 7126 | ${c1} ## ${c2}** |
| 7127 | ${c1}*####${c2}****. |
| 7128 | ${c1}###${c2}, |
| 7129 | ${c3}...,${c1}/#${c3},,,.. |
| 7130 | ${c3}/*,,,,,,,,${c1}*${c3},........${c4},, |
| 7131 | ${c3},((((((//*,,,,,,,,${c4},...... |
| 7132 | ${c3}((((((((((((((${c5}%..${c4}.......... |
| 7133 | ${c3},(((((((((((((((${c5}@@(${c4}............ |
| 7134 | ${c3}(((((((((((((((((${c5}@@@@/${c4}............ |
| 7135 | ${c3},((((((((((((((((((${c5}@@@@@&*${c4}........... |
| 7136 | ${c3}((((((((((((((((((((${c5}@@@@@@@&${c4},........... |
| 7137 | ${c3}(((((((((((((((((((((${c5}@@@${c6}&%&${c5}@@@%${c4},.......... |
| 7138 | ${c3}/(((((((((((((((((((${c5}@@@${c6}&%%&${c5}@@@@(${c4}........ |
| 7139 | ${c3},((((((((((((((((${c5}@@@${c6}&&${c5}@@&/&@@@/${c4}.. |
| 7140 | ${c3}/((((((((((((${c5}@@@@@@/${c4}.../&& |
| 7141 | ${c3}.(((((((((${c5}@@@@(${c4}.... |
| 7142 | ${c3}/(((((${c5}@@#${c4}... |
| 7143 | ${c3}.((${c4}&, |
| 7144 | |
| 7145 | |
| 7146 | EOF |
| 7147 | ;; |
| 7148 | |
| 7149 | "Hash"*) |
| 7150 | set_colors 123 |
| 7151 | read -rd '' ascii_data <<'EOF' |
| 7152 | ${c1} |
| 7153 | |
| 7154 | + ###### + |
| 7155 | ### ###### ### |
| 7156 | ##### ###### ##### |
| 7157 | ###### ###### ###### |
| 7158 | |
| 7159 | ####### '"###### '"######## |
| 7160 | ####### ###### ######## |
| 7161 | ####### ###### ######## |
| 7162 | |
| 7163 | ###### '"###### '"###### |
| 7164 | ##### ###### ##### |
| 7165 | ### ###### ### |
| 7166 | ~ ###### ~ |
| 7167 | |
| 7168 | EOF |
| 7169 | ;; |
| 7170 | "HarDClanZ"*) |
| 7171 | set_colors 4 7 1 |
| 7172 | read -rd '' ascii_data <<'EOF' |
| 7173 | ${c1} ........::::.... |
| 7174 | ::################::.. |
| 7175 | :########################:. |
| 7176 | :######**###################: |
| 7177 | :###${c2}&&&&^${c1}############ ${c2}&${c1}#######: |
| 7178 | :#${c2}&&&&&${c1}.:##############:${c2}^&o${c1}`:###: |
| 7179 | :#${c2}&&&&${c1}.:#################:.${c2}&&&${c1}`###: |
| 7180 | :##${c2}&^${c1}:######################:${c2}^&&${c1}::##: |
| 7181 | :#############################:${c2}&${c1}:##:: |
| 7182 | :##########${c2}@@${c1}###########${c2}@@${c1}#####:.###: |
| 7183 | :#########${c2}@@${c3}o${c2}@@${c1}#########${c2}@@${c3}o${c2}@@${c1}########: |
| 7184 | :#######:${c2}@@${c3}o${c5}0${c3}o${c2}@@@@${c1}###${c2}@@@@${c3}o${c5}0${c3}o${c2}@@${c1}######: : |
| 7185 | :######:${c2}@@@${c3}o${c2}@@@@@@${c1}V${c2}@@@@@@${c3}o${c2}@@@${c1}######: |
| 7186 | :#####:${c2}@@@@@@@@@@@@@@@@@@@${c1}:####; |
| 7187 | :####:.${c2}@@@@@@@@@@@@@@@@${c1}:#####: |
| 7188 | `:####:.${c2}@@@@@@@@@@@@@@${c1}:#####: |
| 7189 | ``:##:.${c2}@@@@@@@@@@@@${c1}^## # : |
| 7190 | : ## ${c2}\@@@;@@@/ ${c1}:: # : |
| 7191 | ${c2} VVV |
| 7192 | EOF |
| 7193 | ;; |
| 7194 | |
| 7195 | "AlmaLinux"*) |
| 7196 | set_colors 1 3 4 2 6 |
| 7197 | read -rd '' ascii_data <<'EOF' |
| 7198 | ${c1} 'c:. |
| 7199 | ${c1} lkkkx, .. ${c2}.. ,cc, |
| 7200 | ${c1} okkkk:ckkx' ${c2}.lxkkx.okkkkd |
| 7201 | ${c1} .:llcokkx' ${c2}:kkkxkko:xkkd, |
| 7202 | ${c1} .xkkkkdood: ${c2};kx, .lkxlll; |
| 7203 | ${c1} xkkx. ${c2}xk' xkkkkk: |
| 7204 | ${c1} 'xkx. ${c2}xd .....,. |
| 7205 | ${c3} .. ${c1}:xkl' ${c2}:c ..''.. |
| 7206 | ${c3} .dkx' ${c1}.:ldl:'. ${c2}' ${c4}':lollldkkxo; |
| 7207 | ${c3} .''lkkko' ${c4}ckkkx. |
| 7208 | ${c3}'xkkkd:kkd. .. ${c5};' ${c4}:kkxo. |
| 7209 | ${c3},xkkkd;kk' ,d; ${c5}ld. ${c4}':dkd::cc, |
| 7210 | ${c3} .,,.;xkko'.';lxo. ${c5}dx, ${c4}:kkk'xkkkkc |
| 7211 | ${c3} 'dkkkkkxo:. ${c5};kx ${c4}.kkk:;xkkd. |
| 7212 | ${c3} ..... ${c5}.;dk:. ${c5}lkk. ${c4}:;, |
| 7213 | ${c5}:kkkkkkkdoxkkx |
| 7214 | ,c,,;;;:xkkd. |
| 7215 | ;kkkkl... |
| 7216 | ;kkkkl |
| 7217 | ,od; |
| 7218 | EOF |
| 7219 | ;; |
| 7220 | |
| 7221 | "Exodia Predator OS"* | "exodia-predator"* | "Predator"*) |
| 7222 | set_colors 5 5 |
| 7223 | read -rd '' ascii_data <<'EOF' |
| 7224 | ${c1}- : |
| 7225 | ${c1}+: :+ |
| 7226 | ${c1}++. .++ |
| 7227 | ${c1}+++ : . +++ |
| 7228 | ${c1}+++= .+ + =+++ |
| 7229 | ${c1}++++- ++ += -++++ |
| 7230 | ${c1}++++++- -++ ++- -++++++ |
| 7231 | ${c1}++++++++: .+++ +++. :++++++++ |
| 7232 | ${c1}++++++++++: ++++ ++++ :++++++++++ |
| 7233 | ${c1}+++++++++++==++++ ++++=++++++=+++++ |
| 7234 | ${c1}+++++.:++++++++++ ++++++++++:.+++++ |
| 7235 | ${c1}+++++. .+++++++++ +++++++++. .+++++ |
| 7236 | ${c1}+++++: ++++++++ ++++++++ :+++++ |
| 7237 | ${c1}++++++- =+++++++ +++++++= -++++++ |
| 7238 | ${c1} :+++++= =+++++++ +++++++= =+++++: |
| 7239 | ${c1} :+++= =+++++++ +++++++= =+++: |
| 7240 | ${c1} -+= =+++++++ +++++++= ++- |
| 7241 | ${c1} : =++++++- -++++++= : |
| 7242 | ${c1} =++++- -++++= |
| 7243 | ${c1} =++= =++= |
| 7244 | ${c1} =++ ++= |
| 7245 | ${c1} =+. .+= |
| 7246 | ${c1} =- -= |
| 7247 | ${c1} : : |
| 7248 | EOF |
| 7249 | ;; |
| 7250 | |
| 7251 | "alpine_small") |
| 7252 | set_colors 4 7 |
| 7253 | read -rd '' ascii_data <<'EOF' |
| 7254 | ${c1} /\\ /\\ |
| 7255 | /${c2}/ ${c1}\\ \\ |
| 7256 | /${c2}/ ${c1}\\ \\ |
| 7257 | /${c2}// ${c1}\\ \\ |
| 7258 | ${c2}// ${c1}\\ \\ |
| 7259 | \\ |
| 7260 | EOF |
| 7261 | ;; |
| 7262 | |
| 7263 | "Alpine"*) |
| 7264 | set_colors 4 5 7 6 |
| 7265 | read -rd '' ascii_data <<'EOF' |
| 7266 | ${c1} .hddddddddddddddddddddddh. |
| 7267 | :dddddddddddddddddddddddddd: |
| 7268 | /dddddddddddddddddddddddddddd/ |
| 7269 | +dddddddddddddddddddddddddddddd+ |
| 7270 | `sdddddddddddddddddddddddddddddddds` |
| 7271 | `ydddddddddddd++hdddddddddddddddddddy` |
| 7272 | .hddddddddddd+` `+ddddh:-sdddddddddddh. |
| 7273 | hdddddddddd+` `+y: .sddddddddddh |
| 7274 | ddddddddh+` `//` `.` -sddddddddd |
| 7275 | ddddddh+` `/hddh/` `:s- -sddddddd |
| 7276 | ddddh+` `/+/dddddh/` `+s- -sddddd |
| 7277 | ddd+` `/o` :dddddddh/` `oy- .yddd |
| 7278 | hdddyo+ohddyosdddddddddho+oydddy++ohdddh |
| 7279 | .hddddddddddddddddddddddddddddddddddddh. |
| 7280 | `yddddddddddddddddddddddddddddddddddy` |
| 7281 | `sdddddddddddddddddddddddddddddddds` |
| 7282 | +dddddddddddddddddddddddddddddd+ |
| 7283 | /dddddddddddddddddddddddddddd/ |
| 7284 | :dddddddddddddddddddddddddd: |
| 7285 | .hddddddddddddddddddddddh. |
| 7286 | EOF |
| 7287 | ;; |
| 7288 | |
| 7289 | "Alter"*) |
| 7290 | set_colors 6 6 |
| 7291 | read -rd '' ascii_data <<'EOF' |
| 7292 | ${c1} %, |
| 7293 | ^WWWw |
| 7294 | 'wwwwww |
| 7295 | !wwwwwwww |
| 7296 | #`wwwwwwwww |
| 7297 | @wwwwwwwwwwww |
| 7298 | wwwwwwwwwwwwwww |
| 7299 | wwwwwwwwwwwwwwwww |
| 7300 | wwwwwwwwwwwwwwwwwww |
| 7301 | wwwwwwwwwwwwwwwwwwww, |
| 7302 | w~1i.wwwwwwwwwwwwwwwww, |
| 7303 | 3~:~1lli.wwwwwwwwwwwwwwww. |
| 7304 | :~~:~?ttttzwwwwwwwwwwwwwwww |
| 7305 | #<~:~~~~?llllltO-.wwwwwwwwwww |
| 7306 | #~:~~:~:~~?ltlltlttO-.wwwwwwwww |
| 7307 | @~:~~:~:~:~~(zttlltltlOda.wwwwwww |
| 7308 | @~:~~: ~:~~:~:(zltlltlO a,wwwwww |
| 7309 | 8~~:~~:~~~~:~~~~_1ltltu ,www |
| 7310 | 5~~:~~:~~:~~:~~:~~~_1ltq N,, |
| 7311 | g~:~~:~~~:~~:~~:~:~~~~1q N, |
| 7312 | EOF |
| 7313 | ;; |
| 7314 | "Amazon"*) |
| 7315 | set_colors 3 7 |
| 7316 | read -rd '' ascii_data <<'EOF' |
| 7317 | ${c1} `-/oydNNdyo:.` |
| 7318 | `.:+shmMMMMMMMMMMMMMMmhs+:.` |
| 7319 | -+hNNMMMMMMMMMMMMMMMMMMMMMMNNho- |
| 7320 | .`` -/+shmNNMMMMMMNNmhs+/- ``. |
| 7321 | dNmhs+:. `.:/oo/:.` .:+shmNd |
| 7322 | dMMMMMMMNdhs+:.. ..:+shdNMMMMMMMd |
| 7323 | dMMMMMMMMMMMMMMNds odNMMMMMMMMMMMMMMd |
| 7324 | dMMMMMMMMMMMMMMMMh yMMMMMMMMMMMMMMMMd |
| 7325 | dMMMMMMMMMMMMMMMMh yMMMMMMMMMMMMMMMMd |
| 7326 | dMMMMMMMMMMMMMMMMh yMMMMMMMMMMMMMMMMd |
| 7327 | dMMMMMMMMMMMMMMMMh yMMMMMMMMMMMMMMMMd |
| 7328 | dMMMMMMMMMMMMMMMMh yMMMMMMMMMMMMMMMMd |
| 7329 | dMMMMMMMMMMMMMMMMh yMMMMMMMMMMMMMMMMd |
| 7330 | dMMMMMMMMMMMMMMMMh yMMMMMMMMMMMMMMMMd |
| 7331 | dMMMMMMMMMMMMMMMMh yMMMMMMMMMMMMMMMMd |
| 7332 | dMMMMMMMMMMMMMMMMh yMMMMMMMMMMMMMMMMd |
| 7333 | .:+ydNMMMMMMMMMMMh yMMMMMMMMMMMNdy+:. |
| 7334 | `.:+shNMMMMMh yMMMMMNhs+:`` |
| 7335 | `-+shy shs+:` |
| 7336 | EOF |
| 7337 | ;; |
| 7338 | |
| 7339 | "AmogOS"*) |
| 7340 | set_colors 15 6 |
| 7341 | read -rd '' ascii_data <<'EOF' |
| 7342 | ${c1} ___________ |
| 7343 | / \\ |
| 7344 | / ${c2}______${c1} \\ |
| 7345 | / ${c2}/ \\${c1} \\ |
| 7346 | | ${c2}( )${c1} \\ |
| 7347 | / ${c2}\\______/${c1} | |
| 7348 | | | |
| 7349 | / \\ |
| 7350 | | | |
| 7351 | | | |
| 7352 | / | |
| 7353 | | | |
| 7354 | | _______ | |
| 7355 | ____/ / \\ | |
| 7356 | / | | | |
| 7357 | | / ____/ | |
| 7358 | \\_________/ / | |
| 7359 | \\ __/ |
| 7360 | \\_______/ |
| 7361 | EOF |
| 7362 | ;; |
| 7363 | |
| 7364 | "Anarchy"*) |
| 7365 | set_colors 7 4 |
| 7366 | read -rd '' ascii_data <<'EOF' |
| 7367 | ${c2}..${c1} |
| 7368 | ${c2}..${c1} |
| 7369 | ${c2}:..${c1} |
| 7370 | ${c2}:+++.${c1} |
| 7371 | .:::++${c2}++++${c1}+::. |
| 7372 | .:+######${c2}++++${c1}######+:. |
| 7373 | .+#########${c2}+++++${c1}##########:. |
| 7374 | .+##########${c2}+++++++${c1}##${c2}+${c1}#########+. |
| 7375 | +###########${c2}+++++++++${c1}############: |
| 7376 | +##########${c2}++++++${c1}#${c2}++++${c1}#${c2}+${c1}###########+ |
| 7377 | +###########${c2}+++++${c1}###${c2}++++${c1}#${c2}+${c1}###########+ |
| 7378 | :##########${c2}+${c1}#${c2}++++${c1}####${c2}++++${c1}#${c2}+${c1}############: |
| 7379 | ###########${c2}+++++${c1}#####${c2}+++++${c1}#${c2}+${c1}###${c2}++${c1}######+ |
| 7380 | .##########${c2}++++++${c1}#####${c2}++++++++++++${c1}#######. |
| 7381 | .##########${c2}+++++++++++++++++++${c1}###########. |
| 7382 | #####${c2}++++++++++++++${c1}###${c2}++++++++${c1}#########+ |
| 7383 | :###${c2}++++++++++${c1}#########${c2}+++++++${c1}#########: |
| 7384 | +######${c2}+++++${c1}##########${c2}++++++++${c1}#######+ |
| 7385 | +####${c2}+++++${c1}###########${c2}+++++++++${c1}#####+ |
| 7386 | :##${c2}++++++${c1}############${c2}++++++++++${c1}##: |
| 7387 | .${c2}++++++${c1}#############${c2}++++++++++${c1}+. |
| 7388 | :${c2}++++${c1}###############${c2}+++++++${c1}:: |
| 7389 | .${c2}++. .:+${c1}##############${c2}+++++++${c1}.. |
| 7390 | ${c2}.:.${c1} ..::++++++::..:${c2}++++${c1}+. |
| 7391 | ${c2}.${c1} ${c2}.:+++${c1}. |
| 7392 | ${c2}.:${c1}: |
| 7393 | ${c2}..${c1} |
| 7394 | ${c2}..${c1} |
| 7395 | EOF |
| 7396 | ;; |
| 7397 | |
| 7398 | "android_small"*) |
| 7399 | set_colors 2 7 |
| 7400 | read -rd '' ascii_data <<'EOF' |
| 7401 | ${c1} ;, ,; |
| 7402 | ';,.-----.,;' |
| 7403 | ,' ', |
| 7404 | / O O \\ |
| 7405 | | | |
| 7406 | '-----------------' |
| 7407 | EOF |
| 7408 | |
| 7409 | |
| 7410 | ;; |
| 7411 | |
| 7412 | "Android"*) |
| 7413 | set_colors 2 7 |
| 7414 | read -rd '' ascii_data <<'EOF' |
| 7415 | ${c1} -o o- |
| 7416 | +hydNNNNdyh+ |
| 7417 | +mMMMMMMMMMMMMm+ |
| 7418 | `dMM${c2}m:${c1}NMMMMMMN${c2}:m${c1}MMd` |
| 7419 | hMMMMMMMMMMMMMMMMMMh |
| 7420 | .. yyyyyyyyyyyyyyyyyyyy .. |
| 7421 | .mMMm`MMMMMMMMMMMMMMMMMMMM`mMMm. |
| 7422 | :MMMM-MMMMMMMMMMMMMMMMMMMM-MMMM: |
| 7423 | :MMMM-MMMMMMMMMMMMMMMMMMMM-MMMM: |
| 7424 | :MMMM-MMMMMMMMMMMMMMMMMMMM-MMMM: |
| 7425 | :MMMM-MMMMMMMMMMMMMMMMMMMM-MMMM: |
| 7426 | -MMMM-MMMMMMMMMMMMMMMMMMMM-MMMM- |
| 7427 | +yy+ MMMMMMMMMMMMMMMMMMMM +yy+ |
| 7428 | mMMMMMMMMMMMMMMMMMMm |
| 7429 | `/++MMMMh++hMMMM++/` |
| 7430 | MMMMo oMMMM |
| 7431 | MMMMo oMMMM |
| 7432 | oNMm- -mMNs |
| 7433 | EOF |
| 7434 | ;; |
| 7435 | |
| 7436 | "ArseLinux"*) |
| 7437 | set_colors 4 7 |
| 7438 | read -rd '' ascii_data <<'EOF' |
| 7439 | ${c1} |
| 7440 | ⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 7441 | ⠀⣶⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⠀⠀⠀⠀⠀⠀⣴⣶⠀⠀⠀⠀⠀ |
| 7442 | ⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣄⠀⠀⠀⠀⣼⠟⠁⠀⠀⢀⣀⠀ |
| 7443 | ⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡀⠀⢀⣤⡀⠀⠀⠀⠉⢻⣷⡄⠀⠀⠁⠀⢀⣤⣾⡿⠟⠀ |
| 7444 | ⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣷⣿⠏⠀⠀⠀⠀⠀⠀⠹⣿⡄⠀⠀⠀⠙⠉⠁⠀⠀⠀ |
| 7445 | ⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣿⡄⠀⠀⠀⠀⠀⠀⠀⢹⣿⠀⠀⠀⠀⠠⣶⣶⣶⡶ |
| 7446 | ⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣿⠀⠀⠀⠀⠀⠀⠀⠀⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀ |
| 7447 | ⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⠀⠀⠀⠀⠀⠀⠀⢠⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀ |
| 7448 | ⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⠂⠀⠀⠀⠀⠀⢀⣾⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 7449 | ⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⠇⠀⠀⠀⠀⠀⣠⣾⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 7450 | ⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣴⣿⣇⣀⣀⣀⣠⣴⣾⣿⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 7451 | ⢸⣿⠀⠀⠀⠀⠀⣤⣤⣴⣶⣾⠿⠟⣿⡏⠙⠛⠛⠛⠋⠉⢀⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 7452 | ⠀⣿⡄⠀⠀⠀⠀⠈⠉⠉⠀⠀⠀⠀⣿⡇⠀⠀⠀⠀⠀⠀⢸⣿⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 7453 | ⠀⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⠇⠀⠀⠀⠀⠀⠀⠘⠿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 7454 | ⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 7455 | EOF |
| 7456 | ;; |
| 7457 | |
| 7458 | "instantOS"*) |
| 7459 | set_colors 4 6 |
| 7460 | read -rd '' ascii_data <<'EOF' |
| 7461 | |
| 7462 | ${c1} |
| 7463 | 'cx0XWWMMWNKOd:'. |
| 7464 | .;kNMMMMMMMMMMMMMWNKd' |
| 7465 | 'kNMMMMMMWNNNWMMMMMMMMXo. |
| 7466 | ,0MMMMMW0o;'..,:dKWMMMMMWx. |
| 7467 | OMMMMMXl. .xNMMMMMNo |
| 7468 | WMMMMNl .kWWMMMMO' |
| 7469 | MMMMMX; oNWMMMMK, |
| 7470 | NMMMMWo .OWMMMMMK, |
| 7471 | kWMMMMNd. ,kWMMMMMMK, |
| 7472 | 'kWMMMMWXxl:;;:okNMMMMMMMMK, |
| 7473 | .oXMMMMMMMWWWMMMMMMMMMMMMK, |
| 7474 | 'oKWMMMMMMMMMMMMMMMMMMMK, |
| 7475 | .;lxOKXXXXXXXXXXXXXXXO;...... |
| 7476 | ................,d0000000kd:. |
| 7477 | .kMMMMMMMMMW0; |
| 7478 | .kMMMMMMMMMMMX |
| 7479 | .xMMMMMMMMMMMW |
| 7480 | cXMMMMMMMMMM0 |
| 7481 | :0WMMMMMMNx, |
| 7482 | .o0NMWNOc. |
| 7483 | EOF |
| 7484 | ;; |
| 7485 | |
| 7486 | "Antergos"*) |
| 7487 | set_colors 4 6 |
| 7488 | read -rd '' ascii_data <<'EOF' |
| 7489 | ${c2} `.-/::/-`` |
| 7490 | .-/osssssssso/. |
| 7491 | :osyysssssssyyys+- |
| 7492 | `.+yyyysssssssssyyyyy+. |
| 7493 | `/syyyyyssssssssssyyyyys-` |
| 7494 | `/yhyyyyysss${c1}++${c2}ssosyyyyhhy/` |
| 7495 | .ohhhyyyys${c1}o++/+o${c2}so${c1}+${c2}syy${c1}+${c2}shhhho. |
| 7496 | .shhhhys${c1}oo++//+${c2}sss${c1}+++${c2}yyy${c1}+s${c2}hhhhs. |
| 7497 | -yhhhhs${c1}+++++++o${c2}ssso${c1}+++${c2}yyy${c1}s+o${c2}hhddy: |
| 7498 | -yddhhy${c1}o+++++o${c2}syyss${c1}++++${c2}yyy${c1}yooy${c2}hdddy- |
| 7499 | .yddddhs${c1}o++o${c2}syyyyys${c1}+++++${c2}yyhh${c1}sos${c2}hddddy` |
| 7500 | `odddddhyosyhyyyyyy${c1}++++++${c2}yhhhyosddddddo |
| 7501 | .dmdddddhhhhhhhyyyo${c1}+++++${c2}shhhhhohddddmmh. |
| 7502 | ddmmdddddhhhhhhhso${c1}++++++${c2}yhhhhhhdddddmmdy |
| 7503 | dmmmdddddddhhhyso${c1}++++++${c2}shhhhhddddddmmmmh |
| 7504 | -dmmmdddddddhhys${c1}o++++o${c2}shhhhdddddddmmmmd- |
| 7505 | .smmmmddddddddhhhhhhhhhdddddddddmmmms. |
| 7506 | `+ydmmmdddddddddddddddddddmmmmdy/. |
| 7507 | `.:+ooyyddddddddddddyyso+:.` |
| 7508 | EOF |
| 7509 | ;; |
| 7510 | |
| 7511 | "antiX"*) |
| 7512 | set_colors 1 7 3 |
| 7513 | read -rd '' ascii_data <<'EOF' |
| 7514 | ${c1} |
| 7515 | \ |
| 7516 | , - ~ ^ ~ - \ / |
| 7517 | , ' \ ' , / |
| 7518 | , \ '/ |
| 7519 | , \ / , |
| 7520 | ,___, \/ , |
| 7521 | / | _ _ _|_ o /\ , |
| 7522 | |, | / |/ | | | / \ , |
| 7523 | \,_/\_/ | |_/|_/|_/_/ \, |
| 7524 | , / ,\ |
| 7525 | , / , ' \ |
| 7526 | ' - , _ _ _ , ' |
| 7527 | EOF |
| 7528 | ;; |
| 7529 | |
| 7530 | "Afterglow"*) |
| 7531 | set_colors 5 1 3 4 |
| 7532 | read -rd '' ascii_data <<'EOF' |
| 7533 | ${c2} . |
| 7534 | ${c1}. ${c2}.{! |
| 7535 | ${c1}.L! ${c2}J@||* |
| 7536 | ${c1}gJJJJL` ${c2}g@FFS" |
| 7537 | ${c1},@FFFJF`${c2}_g@@LLP` |
| 7538 | ${c1}_@FFFFF`${c2}_@@@@@P` ${c4}. |
| 7539 | ${c1}J@@@LLF ${c2}_@@@@@P` ${c4}.J! |
| 7540 | ${c1}g@@@@@" ${c2}_@@@@@P`${c3}. ${c4}.L|||* |
| 7541 | ${c1}g@@@@M" ${c2}"VP`${c3}.L! ${c4}<@JJJJ` |
| 7542 | ${c1}"@N" ${c3}:||||! ${c4}JFFFFS" |
| 7543 | ${c3}.{JJ||F`${c4}_gFFFF@' |
| 7544 | ${c3}.@FJJJF`${c4},@LFFFF` |
| 7545 | ${c3}_@FFFFF ${c4}VLLLP` |
| 7546 | ${c3}J@@LL@" ${c4}`" |
| 7547 | ${c3}V@@" |
| 7548 | EOF |
| 7549 | ;; |
| 7550 | |
| 7551 | "AOSC OS"*) |
| 7552 | set_colors 4 0 1 3 |
| 7553 | read -rd '' ascii_data <<'EOF' |
| 7554 | ${c2} __ |
| 7555 | ${c2}gpBBBBBBBBBP |
| 7556 | ${c2}_gBBBBBBBBBRP |
| 7557 | ${c2}4BBBBBBBBRP ${c4},_____ |
| 7558 | ${c2}`"" ${c4}_g@@@@@@@@@@@@@%g> |
| 7559 | ${c4}__@@@@@@@@@@@@@@@@P" ${c1}___ |
| 7560 | ${c4}_g@@@@@@@@@@@@@@@N"` ${c1}_gN@@@@@N^ |
| 7561 | ${c4}_w@@@@@@@@@@@@@@@@P" ${c1}_g@@@@@@@P" |
| 7562 | ${c4}_g@@@@@@@@@@@@@@@N"` ${c1}VMNN@NNNM^` |
| 7563 | ${c4}^MMM@@@@@@@@@@@MP" ${c3},ggppww__ |
| 7564 | ${c4}`""""" ${c3}_wNNNNNNNNNNNNNNNNNNN |
| 7565 | ${c3}_gBNNNNNNNNNNNNNNNNNP" |
| 7566 | ${c3}_wNNNNNNNNNNNNNNNNNNMP` |
| 7567 | ${c3}_gBNNNNNNNNNNNNNNNNNP" |
| 7568 | ${c3}_wNNNNNNNNNNNNNNNNNNNM^ |
| 7569 | ${c3}""Y^^MNNNNNNNNNNNNP` |
| 7570 | ${c3}`""""""" |
| 7571 | EOF |
| 7572 | ;; |
| 7573 | |
| 7574 | "Apricity"*) |
| 7575 | set_colors 4 7 1 |
| 7576 | read -rd '' ascii_data <<'EOF' |
| 7577 | ${c2} ./o- |
| 7578 | ``...`` `:. -/: |
| 7579 | `-+ymNMMMMMNmho-` :sdNNm/ |
| 7580 | `+dMMMMMMMMMMMMMMMmo` sh:.:::- |
| 7581 | /mMMMMMMMMMMMMMMMMMMMm/`sNd/ |
| 7582 | oMMMMMMMMMMMMMMMMMMMMMMMs -` |
| 7583 | :MMMMMMMMMMMMMMMMMMMMMMMMM/ |
| 7584 | NMMMMMMMMMMMMMMMMMMMMMMMMMd |
| 7585 | MMMMMMMmdmMMMMMMMMMMMMMMMMd |
| 7586 | MMMMMMy` .mMMMMMMMMMMMmho:` |
| 7587 | MMMMMMNo/sMMMMMMMNdy+-.`-/ |
| 7588 | MMMMMMMMMMMMNdy+:.`.:ohmm: |
| 7589 | MMMMMMMmhs+-.`.:+ymNMMMy. |
| 7590 | MMMMMM/`.-/ohmNMMMMMMy- |
| 7591 | MMMMMMNmNNMMMMMMMMmo. |
| 7592 | MMMMMMMMMMMMMMMms:` |
| 7593 | MMMMMMMMMMNds/. |
| 7594 | dhhyys+/-` |
| 7595 | EOF |
| 7596 | ;; |
| 7597 | |
| 7598 | "archcraft_ascii"*) |
| 7599 | set_colors 6 1 2 3 4 5 |
| 7600 | read -rd '' ascii_data <<'EOF' |
| 7601 | ${c1} -o\ |
| 7602 | :ooo: |
| 7603 | .ooooo. |
| 7604 | ooooooo. |
| 7605 | +oooooooo. |
| 7606 | -oooooooooo. |
| 7607 | --:-+oooooooo. |
| 7608 | yooo+=+sooooooo. |
| 7609 | yoooooosooooooooo. |
| 7610 | y+ooooooooooooooooo. |
| 7611 | yoooooooooooooooooooo` |
| 7612 | yoooooo+oo= :oo++ooooo` |
| 7613 | :oooooo. +ooooo- |
| 7614 | -ooooooo. .::. +ooosoo= |
| 7615 | -oooooo` .oooo` +os-=o= |
| 7616 | =ooooooo=: `oo+ :=ooo=--`. |
| 7617 | +ooooooooos. .=sooooooo+- |
| 7618 | .+osossos+-` `-+osososs+. |
| 7619 | :sss+=-:` `:-=+ssss: |
| 7620 | :=-:` `-=+: |
| 7621 | EOF |
| 7622 | ;; |
| 7623 | |
| 7624 | "archcraft_minimal"*) |
| 7625 | set_colors 6 1 2 3 4 5 |
| 7626 | read -rd '' ascii_data <<'EOF' |
| 7627 | ${c1} ⢰⡆ |
| 7628 | ⢠⣿⣿⡄ |
| 7629 | ⢀⣾⣿⣿⣿⡀ |
| 7630 | ⣼⣿⣿⣿⣿⣷⡀ |
| 7631 | ⣼⣿⣿⣿⣿⣿⣿⣷ |
| 7632 | ⢼⣿⣿⣿⣿⣿⣿⣿⣿⣧ |
| 7633 | ⣰⣤⣈⠻⢿⣿⣿⣿⣿⣿⣿⣧ |
| 7634 | ⣰⣿⣿⣿⣿⣮⣿⣿⣿⣿⣿⣿⣿⣧ |
| 7635 | ⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧ |
| 7636 | ⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧ |
| 7637 | ⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧ |
| 7638 | ⣼⣿⣿⣿⣿⣿⡿⣿⣿⡟ ⠸⣿⣿⡿⣿⣿⣿⣿⣿⣷⡀ |
| 7639 | ⣼⣿⣿⣿⣿⣿⡏ ⠈⣿⣿⣿⣿⣿⣷⡀ |
| 7640 | ⢀⣼⣿⣿⣿⣿⣿⣿⡗ ⢀⣠⣤⣀ ⠸⣿⣿⣿⣿⣿⣿⣷⡀ |
| 7641 | ⢀⣾⣿⣿⣿⣿⣿⡏⠁ ⢠⣿⣿⣿⣿⡇ ⢙⣿⣿⣻⠿⣿⣷⡀ |
| 7642 | ⢀⣾⣿⣿⣿⣿⣿⣿⣷⣤⡀ ⠻⣿⣿⡿⠃ ⢀⣼⣿⣿⣿⣿⣦⣌⠙ |
| 7643 | ⢠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏ ⢿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀ |
| 7644 | ⢠⣿⣿⣿⣿⣿⣿⣿⡿⠟⠋⠁ ⠙⠻⣿⣿⣿⣿⣿⣿⣿⣿⡄ |
| 7645 | ⣠⣿⣿⣿⣿⠿⠛⠋⠁ ⠉⠙⠻⢿⣿⣿⣿⣿⣆ |
| 7646 | ⡰⠟⠛⠉⠁ ⠉⠙⠛⠿⢆ |
| 7647 | EOF |
| 7648 | ;; |
| 7649 | |
| 7650 | "Archcraft"*) |
| 7651 | set_colors 6 1 2 3 4 5 |
| 7652 | read -rd '' ascii_data <<'EOF' |
| 7653 | ${c1}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⢰⡆${c1}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄ |
| 7654 | ${c2}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⢠⣿⣿⡄${c2}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄ |
| 7655 | ${c3}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⢀⣾⣿⣿⣿⡀${c3}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄ |
| 7656 | ${c4}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⣼⣿⣿⣿⣿⣷⡀${c4}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄ |
| 7657 | ${c5}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⣼⣿⣿⣿⣿⣿⣿⣷${c5}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄ |
| 7658 | ${c6}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⢼⣿⣿⣿⣿⣿⣿⣿⣿⣧${c6}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄ |
| 7659 | ${c1}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⣰⣤⣈⠻⢿⣿⣿⣿⣿⣿⣿⣧${c1}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄ |
| 7660 | ${c2}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⣰⣿⣿⣿⣿⣮⣿⣿⣿⣿⣿⣿⣿⣧${c2}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄ |
| 7661 | ${c3}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧${c3}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄ |
| 7662 | ${c4}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧${c4}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄ |
| 7663 | ${c5}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧${c5}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄ |
| 7664 | ${c6}⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⣼⣿⣿⣿⣿⣿⡿⣿⣿⡟${c6}⠄⠄${c1}⠸⣿⣿⡿⣿⣿⣿⣿⣿⣷⡀${c6}⠄⠄⠄⠄⠄⠄⠄⠄ |
| 7665 | ${c1}⠄⠄⠄⠄⠄⠄⠄⠄${c1}⣼⣿⣿⣿⣿⣿⡏${c1}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⠈⣿⣿⣿⣿⣿⣷⡀${c1}⠄⠄⠄⠄⠄⠄⠄ |
| 7666 | ${c2}⠄⠄⠄⠄⠄⠄${c1}⢀⣼⣿⣿⣿⣿⣿⣿⡗${c2}⠄⠄⠄${c1}⢀⣠⣤⣀⠄⠄⠄${c1}⠸⣿⣿⣿⣿⣿⣿⣷⡀${c2}⠄⠄⠄⠄⠄⠄ |
| 7667 | ${c3}⠄⠄⠄⠄⠄${c1}⢀⣾⣿⣿⣿⣿⣿⡏⠁${c3}⠄⠄⠄${c1}⢠⣿⣿⣿⣿⡇${c3}⠄⠄⠄⠄${c1}⢙⣿⣿⣻⠿⣿⣷⡀${c3}⠄⠄⠄⠄⠄ |
| 7668 | ${c4}⠄⠄⠄⠄${c1}⢀⣾⣿⣿⣿⣿⣿⣿⣷⣤⡀${c4}⠄⠄⠄${c1}⠻⣿⣿⡿⠃${c4}⠄⠄⠄${c1}⢀⣼⣿⣿⣿⣿⣦⣌⠙⠄${c4}⠄⠄⠄⠄ |
| 7669 | ${c5}⠄⠄⠄${c1}⢠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏${c5}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⢿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀${c5}⠄⠄⠄ |
| 7670 | ${c6}⠄⠄${c1}⢠⣿⣿⣿⣿⣿⣿⣿⡿⠟⠋⠁${c6}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⠙⠻⣿⣿⣿⣿⣿⣿⣿⣿⡄${c6}⠄⠄ |
| 7671 | ${c1}⠄${c1}⣠⣿⣿⣿⣿⠿⠛⠋⠁${c1}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⠉⠙⠻⢿⣿⣿⣿⣿⣆${c1}⠄ |
| 7672 | ${c1}⡰⠟⠛⠉⠁${c2}⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄${c1}⠉⠙⠛⠿⢆ |
| 7673 | EOF |
| 7674 | ;; |
| 7675 | |
| 7676 | "arcolinux_small"*) |
| 7677 | set_colors 7 4 |
| 7678 | read -rd '' ascii_data <<'EOF' |
| 7679 | ${c2} A |
| 7680 | ooo |
| 7681 | ooooo |
| 7682 | ooooooo |
| 7683 | ooooooooo |
| 7684 | ooooo ooooo |
| 7685 | ooooo ooooo |
| 7686 | ooooo ooooo |
| 7687 | ooooo ${c1}<oooooooo>${c2} |
| 7688 | ooooo ${c1}<oooooo>${c2} |
| 7689 | ooooo ${c1}<oooo>${c2} |
| 7690 | EOF |
| 7691 | ;; |
| 7692 | |
| 7693 | "ArcoLinux"*) |
| 7694 | set_colors 7 4 |
| 7695 | read -rd '' ascii_data <<'EOF' |
| 7696 | ${c2} /- |
| 7697 | ooo: |
| 7698 | yoooo/ |
| 7699 | yooooooo |
| 7700 | yooooooooo |
| 7701 | yooooooooooo |
| 7702 | .yooooooooooooo |
| 7703 | .oooooooooooooooo |
| 7704 | .oooooooarcoooooooo |
| 7705 | .ooooooooo-oooooooooo |
| 7706 | .ooooooooo- oooooooooo |
| 7707 | :ooooooooo. :ooooooooo |
| 7708 | :ooooooooo. :ooooooooo |
| 7709 | :oooarcooo .oooarcooo |
| 7710 | :ooooooooy .ooooooooo |
| 7711 | :ooooooooo ${c1}/ooooooooooooooooooo${c2} |
| 7712 | :ooooooooo ${c1}.-ooooooooooooooooo.${c2} |
| 7713 | ooooooooo- ${c1}-ooooooooooooo.${c2} |
| 7714 | ooooooooo- ${c1}.-oooooooooo.${c2} |
| 7715 | ooooooooo. ${c1}-ooooooooo${c2} |
| 7716 | EOF |
| 7717 | ;; |
| 7718 | |
| 7719 | "Arkane"*) |
| 7720 | set_colors 7 130 237 |
| 7721 | read -rd '' ascii_data <<'EOF' |
| 7722 | ${c3} .:.. |
| 7723 | ..:::...... |
| 7724 | ${c2}.${c3} .${c2}.${c3}..... |
| 7725 | ${c2}+=${c3}...${c2}==${c3}.... |
| 7726 | ......:.${c1}:-${c2}:${c3}..${c1}+*${c2}=${c3}.... |
| 7727 | ${c2}:----::${c3}...... |
| 7728 | ${c2}.=***##*+=: ${c3}.. |
| 7729 | ${c2}=${c1}***######*${c2}= |
| 7730 | ${c2}.${c1}-*######+ |
| 7731 | ${c2}:+${c1}###%%%###${c3}: |
| 7732 | ${c2}-+*${c1}########+${c3}. |
| 7733 | ${c2}=++*${c1}#######${c3}- |
| 7734 | ${c2}-+=+**${c1}*####${c3}= |
| 7735 | ${c3}.${c2}-=++==***${c1}##*${c1}- |
| 7736 | ${c2}-++++++==++++= |
| 7737 | .-+++**+++=+===${c3}. |
| 7738 | ${c2}:---===++++=-=--${c3}. |
| 7739 | ${c2}-===============${c3}-==--: |
| 7740 | ${c2}.-==+++***++*${c1}*#########${c3}=:::. |
| 7741 | ${c2}.-=++++*++++**${c1}#######%%###${c3}= |
| 7742 | ${c2}.:==++++++**${c1}#############${c3}: |
| 7743 | ${c2}.${c3}-+*++*+++==${c1}###${c3}+ |
| 7744 | -${c1}*+${c3}: |
| 7745 | EOF |
| 7746 | ;; |
| 7747 | |
| 7748 | "arch_small") |
| 7749 | set_colors 6 7 1 |
| 7750 | read -rd '' ascii_data <<'EOF' |
| 7751 | ${c1} /\\ |
| 7752 | / \\ |
| 7753 | /\\ \\ |
| 7754 | ${c2} / \\ |
| 7755 | / ,, \\ |
| 7756 | / | | -\\ |
| 7757 | /_-'' ''-_\\ |
| 7758 | EOF |
| 7759 | ;; |
| 7760 | |
| 7761 | "arch_old") |
| 7762 | set_colors 6 7 1 |
| 7763 | read -rd '' ascii_data <<'EOF' |
| 7764 | ${c1} __ |
| 7765 | _=(SDGJT=_ |
| 7766 | _GTDJHGGFCVS) |
| 7767 | ,GTDJGGDTDFBGX0 |
| 7768 | ${c1} JDJDIJHRORVFSBSVL${c2}-=+=,_ |
| 7769 | ${c1} IJFDUFHJNXIXCDXDSV,${c2} "DEBL |
| 7770 | ${c1} [LKDSDJTDU=OUSCSBFLD.${c2} '?ZWX, |
| 7771 | ${c1} ,LMDSDSWH' `DCBOSI${c2} DRDS], |
| 7772 | ${c1} SDDFDFH' !YEWD,${c2} )HDROD |
| 7773 | ${c1} !KMDOCG &GSU|${c2}\_GFHRGO\' |
| 7774 | ${c1} HKLSGP'${c2} __${c1}\TKM0${c2}\GHRBV)' |
| 7775 | ${c1}JSNRVW'${c2} __+MNAEC${c1}\IOI,${c2}\BN' |
| 7776 | ${c1}HELK['${c2} __,=OFFXCBGHC${c1}\FD) |
| 7777 | ${c1}?KGHE ${c2}\_-#DASDFLSV='${c1} 'EF |
| 7778 | 'EHTI !H |
| 7779 | `0F' '! |
| 7780 | EOF |
| 7781 | ;; |
| 7782 | |
| 7783 | "ArchBox"*) |
| 7784 | set_colors 2 7 1 |
| 7785 | read -rd '' ascii_data <<'EOF' |
| 7786 | ${c1} ...:+oh/:::.. |
| 7787 | ..-/oshhhhhh` `::::-. |
| 7788 | .:/ohhhhhhhhhhhh` `-::::. |
| 7789 | .+shhhhhhhhhhhhhhhhh` `.::-. |
| 7790 | /`-:+shhhhhhhhhhhhhh` .-/+shh |
| 7791 | / .:/ohhhhhhhhh` .:/ohhhhhhhh |
| 7792 | / `-:+shhh` ..:+shhhhhhhhhhhh |
| 7793 | / .:ohhhhhhhhhhhhhhhhhhh |
| 7794 | / `hhhhhhhhhhhhhhhhhhhh |
| 7795 | / `hhhhhhhhhhhhhhhhhhhh |
| 7796 | / `hhhhhhhhhhhhhhhhhhhh |
| 7797 | / `hhhhhhhhhhhhhhhhhhhh |
| 7798 | / .+o+ `hhhhhhhhhhhhhhhhhhhh |
| 7799 | / -hhhhh `hhhhhhhhhhhhhhhhhhhh |
| 7800 | / ohhhhho `hhhhhhhhhhhhhhhhhhhh |
| 7801 | /:::+`hhhhoos` `hhhhhhhhhhhhhhhhhs+` |
| 7802 | `--/:` /: `hhhhhhhhhhhho/- |
| 7803 | -/:. `hhhhhhs+:-` |
| 7804 | ::::/ho/-` |
| 7805 | EOF |
| 7806 | ;; |
| 7807 | |
| 7808 | "ARCHlabs"*) |
| 7809 | set_colors 6 6 7 1 |
| 7810 | read -rd '' ascii_data <<'EOF' |
| 7811 | ${c1} 'c' |
| 7812 | 'kKk, |
| 7813 | .dKKKx. |
| 7814 | .oKXKXKd. |
| 7815 | .l0XXXXKKo. |
| 7816 | c0KXXXXKX0l. |
| 7817 | :0XKKOxxOKX0l. |
| 7818 | :OXKOc. .c0XX0l. |
| 7819 | :OK0o. ${c4}...${c1}'dKKX0l. |
| 7820 | :OX0c ${c4};xOx'${c1}'dKXX0l. |
| 7821 | :0KKo.${c4}.o0XXKd'.${c1}lKXX0l. |
| 7822 | c0XKd.${c4}.oKXXXXKd..${c1}oKKX0l. |
| 7823 | .c0XKk;${c4}.l0K0OO0XKd..${c1}oKXXKo. |
| 7824 | .l0XXXk:${c4},dKx,.'l0XKo.${c1}.kXXXKo. |
| 7825 | .o0XXXX0d,${c4}:x; .oKKx'${c1}.dXKXXKd. |
| 7826 | .oKXXXXKK0c.${c4};. :00c'${c1}cOXXXXXKd. |
| 7827 | .dKXXXXXXXXk,${c4}. cKx'${c1}'xKXXXXXXKx' |
| 7828 | 'xKXXXXK0kdl:. ${c4}.ok; ${c1}.cdk0KKXXXKx' |
| 7829 | 'xKK0koc,.. ${c4}'c, ${c1} ..,cok0KKk, |
| 7830 | ,xko:'. ${c4}.. ${c1} .':okx; |
| 7831 | .,'. .',. |
| 7832 | EOF |
| 7833 | ;; |
| 7834 | |
| 7835 | "ArchStrike"*) |
| 7836 | set_colors 8 6 |
| 7837 | read -rd '' ascii_data <<'EOF' |
| 7838 | ${c1} * |
| 7839 | **. |
| 7840 | **** |
| 7841 | ****** |
| 7842 | ******* |
| 7843 | ** ******* |
| 7844 | **** ******* |
| 7845 | ${c1}****${c2}_____${c1}***${c2}/${c1}* |
| 7846 | ***${c2}/${c1}*******${c2}//${c1}*** |
| 7847 | **${c2}/${c1}********${c2}///${c1}*${c2}/${c1}** |
| 7848 | **${c2}/${c1}*******${c2}////${c1}***${c2}/${c1}** |
| 7849 | **${c2}/${c1}****${c2}//////.,${c1}****${c2}/${c1}** |
| 7850 | ***${c2}/${c1}*****${c2}/////////${c1}**${c2}/${c1}*** |
| 7851 | ****${c2}/${c1}**** ${c2}/////${c1}***${c2}/${c1}**** |
| 7852 | ******${c2}/${c1}*** ${c2}//// ${c1}**${c2}/${c1}****** |
| 7853 | ********${c2}/${c1}* ${c2}/// ${c1}*${c2}/${c1}******** |
| 7854 | ,****** ${c2}// ______ / ${c1}******, |
| 7855 | EOF |
| 7856 | ;; |
| 7857 | |
| 7858 | "astOS"*) |
| 7859 | set_colors 8 |
| 7860 | read -rd '' ascii_data <<'EOF' |
| 7861 | ${c1} oQA#$%UMn |
| 7862 | H 9 |
| 7863 | G # |
| 7864 | 6 % |
| 7865 | ?#M#%KW3" |
| 7866 | // \\\ |
| 7867 | // \\\ |
| 7868 | // \\\ |
| 7869 | // \\\ |
| 7870 | n%@$DK&ML .0O3#@&M_ |
| 7871 | P # 8 W |
| 7872 | H U G # |
| 7873 | B N O @ |
| 7874 | C&&#%HNAR 'WS3QMHB" |
| 7875 | // \\\ \\\ |
| 7876 | // \\\ \\\ |
| 7877 | // \\\ \\\ |
| 7878 | // \\\ \\\ |
| 7879 | uURF$##Bv nKWB$%ABc aM@3R@D@b |
| 7880 | 8 M @ O # % |
| 7881 | % & G U @ @ |
| 7882 | & @ # % % # |
| 7883 | !HGN@MNCf t&$9#%HQr ?@G#6S@QP |
| 7884 | EOF |
| 7885 | ;; |
| 7886 | |
| 7887 | *"XFerience"*) |
| 7888 | set_colors 6 6 7 1 |
| 7889 | read -rd '' ascii_data <<'EOF' |
| 7890 | ${c1} ``--:::::::-.` |
| 7891 | .-/+++ooooooooo+++:-` |
| 7892 | `-/+oooooooooooooooooo++:. |
| 7893 | -/+oooooo/+ooooooooo+/ooo++:` |
| 7894 | `/+oo++oo. .+oooooo+.-: +:-o+- |
| 7895 | `/+o/. -o. :oooooo+ ```:.+oo+- |
| 7896 | `:+oo- -/` :oooooo+ .`-`+oooo/. |
| 7897 | .+ooo+. .` `://///+-+..oooooo+:` |
| 7898 | -+ooo:` ``.-+oooooo+/` |
| 7899 | -+oo/` :+oooo/. |
| 7900 | .+oo: ..-/. . -+oo+/` |
| 7901 | `/++- -:::++::/. -+oo+- |
| 7902 | ./o: `:///+- `./ooo+:` |
| 7903 | .++- `` /-` -:/+oooo+:` |
| 7904 | .:+/:`` `-:ooooooo++- |
| 7905 | ./+o+//:...../+oooooooo++:` |
| 7906 | `:/++ooooooooooooo++/-` |
| 7907 | `.-//++++++//:-.` |
| 7908 | `````` |
| 7909 | EOF |
| 7910 | ;; |
| 7911 | |
| 7912 | "Stock Linux"*) |
| 7913 | set_colors 4 7 |
| 7914 | read -rd '' ascii_data << 'EOF' |
| 7915 | ${c1} |
| 7916 | |
| 7917 | #G5J5G# |
| 7918 | &BPYJJJJJJJYPB& |
| 7919 | &#G5JJJJJJY5YJJJJJJ5G#& |
| 7920 | #G5YJJJJJY5G#& &#G5YJJJJJY5G# |
| 7921 | BPYJJJJJJJ5B& &BPYJJJJJJYPB |
| 7922 | JJJJJJJJJJY5G#& &BPYJJJJJ |
| 7923 | JJJJJJJJJJJJJJY5G# &JJJJJ |
| 7924 | PYJJJJJJJJJJJJJJJJYPB& GYJJJ |
| 7925 | &BPYJJJJJJJJJJJJJJJJ5PB& &BP |
| 7926 | #G5YJJJJJJJJJJJJJJJY5G# |
| 7927 | PB& &BP5JJJJJJJJJJJJJJJJYPB& |
| 7928 | JJJYG &BPYJJJJJJJJJJJJJJJJYP |
| 7929 | JJJJJ& #G5YJJJJJJJJJJJJJJ |
| 7930 | JJJJJYPB& &#G5YJJJJJJJJJJ |
| 7931 | BPYJJJJJJYPB& &B5JJJJJJJYPB |
| 7932 | #G5YJJJJJY5G#& &#G5YJJJJJY5G# |
| 7933 | &#G5JJJJJJY5YJJJJJJ5G#& |
| 7934 | &BPYJJJJJJJYPB& |
| 7935 | #G5J5G# |
| 7936 | |
| 7937 | EOF |
| 7938 | ;; |
| 7939 | |
| 7940 | "ArchMerge"*) |
| 7941 | set_colors 6 6 7 1 |
| 7942 | read -rd '' ascii_data <<'EOF' |
| 7943 | ${c1} y: |
| 7944 | sMN- |
| 7945 | +MMMm` |
| 7946 | /MMMMMd` |
| 7947 | :NMMMMMMy |
| 7948 | -NMMMMMMMMs |
| 7949 | .NMMMMMMMMMM+ |
| 7950 | .mMMMMMMMMMMMM+ |
| 7951 | oNMMMMMMMMMMMMM+ |
| 7952 | `+:-+NMMMMMMMMMMMM+ |
| 7953 | .sNMNhNMMMMMMMMMMMM/ |
| 7954 | `hho/sNMMMMMMMMMMMMMMM/ |
| 7955 | `.`omMMmMMMMMMMMMMMMMMMM+ |
| 7956 | .mMNdshMMMMd+::oNMMMMMMMMMo |
| 7957 | .mMMMMMMMMM+ `yMMMMMMMMMs |
| 7958 | .NMMMMMMMMM/ yMMMMMMMMMy |
| 7959 | -NMMMMMMMMMh `mNMMMMMMMMd` |
| 7960 | /NMMMNds+:.` `-/oymMMMm. |
| 7961 | +Mmy/. `:smN: |
| 7962 | /+. -o. |
| 7963 | EOF |
| 7964 | ;; |
| 7965 | |
| 7966 | "aerOS"*) |
| 7967 | set_colors fg 0 0 0 |
| 7968 | read -rd '' ascii_data <<'EOF' |
| 7969 | ${c1} |
| 7970 | ooo OOO OOO ooo |
| 7971 | oOO OOo |
| 7972 | oOO OOo |
| 7973 | oOO OOo |
| 7974 | oOO OOo |
| 7975 | oOO OOo |
| 7976 | oOO OOo |
| 7977 | OOo |
| 7978 | OOo |
| 7979 | OOo |
| 7980 | OOo |
| 7981 | OOo |
| 7982 | OOo |
| 7983 | oOO OOo |
| 7984 | oOO OOo |
| 7985 | oOO OOo |
| 7986 | oOO OOo |
| 7987 | oO OOo |
| 7988 | oOO OOo |
| 7989 | oOO OOo |
| 7990 | ooo OOO OOO ooo |
| 7991 | EOF |
| 7992 | ;; |
| 7993 | |
| 7994 | "Arch"*) |
| 7995 | set_colors 6 6 7 1 |
| 7996 | read -rd '' ascii_data <<'EOF' |
| 7997 | ${c1} -` |
| 7998 | .o+` |
| 7999 | `ooo/ |
| 8000 | `+oooo: |
| 8001 | `+oooooo: |
| 8002 | -+oooooo+: |
| 8003 | `/:-:++oooo+: |
| 8004 | `/++++/+++++++: |
| 8005 | `/++++++++++++++: |
| 8006 | `/+++o${c2}oooooooo${c1}oooo/` |
| 8007 | ${c2} ${c1}./${c2}ooosssso++osssssso${c1}+` |
| 8008 | ${c2} .oossssso-````/ossssss+` |
| 8009 | -osssssso. :ssssssso. |
| 8010 | :osssssss/ osssso+++. |
| 8011 | /ossssssss/ +ssssooo/- |
| 8012 | `/ossssso+/:- -:/+osssso+- |
| 8013 | `+sso+:-` `.-/+oso: |
| 8014 | `++:. `-/+/ |
| 8015 | .` `/ |
| 8016 | EOF |
| 8017 | ;; |
| 8018 | |
| 8019 | "unicodearch"*) |
| 8020 | set_colors 6 6 7 1 |
| 8021 | read -rd '' ascii_data <<'EOF' |
| 8022 | ${c1} ▄ |
| 8023 | ▟█▙ |
| 8024 | ▟███▙ |
| 8025 | ▟█████▙ |
| 8026 | ▟███████▙ |
| 8027 | ▂▔▀▜██████▙ |
| 8028 | ▟██▅▂▝▜█████▙ |
| 8029 | ▟█████████████▙ |
| 8030 | ▟███████████████▙ |
| 8031 | ▟█████████████████▙ |
| 8032 | ▟███████████████████▙ |
| 8033 | ▟█████████▛▀▀▜████████▙ |
| 8034 | ▟████████▛ ▜███████▙ |
| 8035 | ▟█████████ ████████▙ |
| 8036 | ▟██████████ █████▆▅▄▃▂ |
| 8037 | ▟██████████▛ ▜█████████▙ |
| 8038 | ▟██████▀▀▀ ▀▀██████▙ |
| 8039 | ▟███▀▘ ▝▀███▙ |
| 8040 | ▟▛▀ ▀▜▙ |
| 8041 | |
| 8042 | EOF |
| 8043 | ;; |
| 8044 | |
| 8045 | "artix_small"*) |
| 8046 | set_colors 6 6 7 1 |
| 8047 | read -rd '' ascii_data <<'EOF' |
| 8048 | ${c1} ' |
| 8049 | 'A' |
| 8050 | 'ooo' |
| 8051 | 'ookxo' |
| 8052 | `ookxxo' |
| 8053 | '. `ooko' |
| 8054 | 'ooo`. `oo' |
| 8055 | 'ooxxxoo`. `' |
| 8056 | 'ookxxxkooo.` . |
| 8057 | 'ookxxkoo'` .'oo' |
| 8058 | 'ooxoo'` .:ooxxo' |
| 8059 | 'io'` `'oo' |
| 8060 | '` `' |
| 8061 | EOF |
| 8062 | ;; |
| 8063 | |
| 8064 | "Artix"*) |
| 8065 | set_colors 6 6 7 1 |
| 8066 | read -rd '' ascii_data <<'EOF' |
| 8067 | ${c1} ' |
| 8068 | 'o' |
| 8069 | 'ooo' |
| 8070 | 'ooxoo' |
| 8071 | 'ooxxxoo' |
| 8072 | 'oookkxxoo' |
| 8073 | 'oiioxkkxxoo' |
| 8074 | ':;:iiiioxxxoo' |
| 8075 | `'.;::ioxxoo' |
| 8076 | '-. `':;jiooo' |
| 8077 | 'oooio-.. `'i:io' |
| 8078 | 'ooooxxxxoio:,. `'-;' |
| 8079 | 'ooooxxxxxkkxoooIi:-. `' |
| 8080 | 'ooooxxxxxkkkkxoiiiiiji' |
| 8081 | 'ooooxxxxxkxxoiiii:'` .i' |
| 8082 | 'ooooxxxxxoi:::'` .;ioxo' |
| 8083 | 'ooooxooi::'` .:iiixkxxo' |
| 8084 | 'ooooi:'` `'';ioxxo' |
| 8085 | 'i:'` '':io' |
| 8086 | '` `' |
| 8087 | EOF |
| 8088 | ;; |
| 8089 | |
| 8090 | "Cobalt"*) |
| 8091 | set_colors 33 33 59 31 8 |
| 8092 | read -rd '' ascii_data <<'EOF' |
| 8093 | ${c1} /// |
| 8094 | ${c1} ,////////////// |
| 8095 | ${c1} /////////////////////////////// |
| 8096 | ${c1} ///////////////${c5}***********${c1}////// |
| 8097 | ////${c5}***********************${c1}///// |
| 8098 | /////${c5}***********************${c1}//// |
| 8099 | //////${c5},,,,,,,,,,,,,,,,,,,,,,${c1}/// |
| 8100 | //////${c5},,,,,,,,,,,,,,,,,,,,,,,,,${c1}///// |
| 8101 | /////${c5},,,,,,,,,,,,,,,,,,,,,,,,,,,,${c1}///// |
| 8102 | ${c4} *****${c3},,,,,,,,,,,,,,,,,,,,,,,,,,,,,${c4}***** |
| 8103 | ******${c3},,,,,,,,,,,,,,,,,,,,,,,,,,,,${c4}***** |
| 8104 | *******${c3},,,,,,,,,,,,,,,,,,,,,,,,,${c4}****** |
| 8105 | *******${c3}......................${c4}******* |
| 8106 | ******${c3}....${c4}*********************** |
| 8107 | **************************** |
| 8108 | ***** |
| 8109 | EOF |
| 8110 | ;; |
| 8111 | |
| 8112 | "Arya"*) |
| 8113 | set_colors 2 1 |
| 8114 | read -rd '' ascii_data <<'EOF' |
| 8115 | ${c1} `oyyy/${c2}-yyyyyy+ |
| 8116 | ${c1} -syyyy/${c2}-yyyyyy+ |
| 8117 | ${c1} .syyyyy/${c2}-yyyyyy+ |
| 8118 | ${c1} :yyyyyy/${c2}-yyyyyy+ |
| 8119 | ${c1} `/ :yyyyyy/${c2}-yyyyyy+ |
| 8120 | ${c1} .+s :yyyyyy/${c2}-yyyyyy+ |
| 8121 | ${c1} .oys :yyyyyy/${c2}-yyyyyy+ |
| 8122 | ${c1} -oyys :yyyyyy/${c2}-yyyyyy+ |
| 8123 | ${c1} :syyys :yyyyyy/${c2}-yyyyyy+ |
| 8124 | ${c1} /syyyys :yyyyyy/${c2}-yyyyyy+ |
| 8125 | ${c1} +yyyyyys :yyyyyy/${c2}-yyyyyy+ |
| 8126 | ${c1} .oyyyyyyo. :yyyyyy/${c2}-yyyyyy+ --------- |
| 8127 | ${c1} .syyyyyy+` :yyyyyy/${c2}-yyyyy+-+syyyyyyyy |
| 8128 | ${c1} -syyyyyy/ :yyyyyy/${c2}-yyys:.syyyyyyyyyy |
| 8129 | ${c1}:syyyyyy/ :yyyyyy/${c2}-yyo.:syyyyyyyyyyy |
| 8130 | EOF |
| 8131 | ;; |
| 8132 | |
| 8133 | "AsteroidOS"*) |
| 8134 | set_colors 160 208 202 214 |
| 8135 | read -rd '' ascii_data <<'EOF' |
| 8136 | ${c1} *** |
| 8137 | ${c1} ***** |
| 8138 | ${c1} ********** |
| 8139 | ${c1} *************** |
| 8140 | ${c1} *///****////****////. |
| 8141 | ${c2} (/////// /////// ///////( |
| 8142 | ${c2} /(((((//* //, //((((((. |
| 8143 | ${c2} ((((((((((( ((( (((((((( |
| 8144 | ${c2} *((((((((((((((((((((((( (((((((( |
| 8145 | ${c3} (((((#(((((((#((((( ((#((((( |
| 8146 | ${c3} (#(#(#####(#(#, ####(#(# |
| 8147 | ${c3} ######### ######## |
| 8148 | ${c3} /######## ######## |
| 8149 | ${c4} #######%####### |
| 8150 | ${c4} (#%%%%%%%# |
| 8151 | ${c4} %%%%% |
| 8152 | ${c4} %%% |
| 8153 | EOF |
| 8154 | ;; |
| 8155 | |
| 8156 | "Athena"*) |
| 8157 | set_colors 7 3 |
| 8158 | read -rd '' ascii_data <<'EOF' |
| 8159 | ${c1} . .. |
| 8160 | ${c1} :####: ####. |
| 8161 | ${c1} .################ |
| 8162 | ${c1} :################## |
| 8163 | ${c1}.###################. |
| 8164 | ${c1}######## ####### |
| 8165 | ${c1}####### ${c2}####${c1} ##### |
| 8166 | ${c1}:#######. #### |
| 8167 | ${c1} ######### ${c2}#${c1} ## # |
| 8168 | ${c1} ####### ${c2}##${c1} #### |
| 8169 | ${c1}######## ${c2}####${c1} ####### |
| 8170 | ${c1}######## ${c2}#####${c1} ######## |
| 8171 | ${c1}######## ${c2}#######${c1} ####### |
| 8172 | ${c1} ####### ${c2}########${c1} ####### |
| 8173 | ${c1} ######## ${c2}#########${c1} ###### |
| 8174 | ${c1} ######## ${c2}#########${c1} ##### |
| 8175 | ${c1} ####### ${c2}#########${c1} #### |
| 8176 | ${c1} ####### ${c2}#########${c1} ## |
| 8177 | ${c1} ####### ${c2}########${c1} ## |
| 8178 | ${c1} ###### ${c2}########${c1} # |
| 8179 | ${c1} ### ${c2}#######${c1} |
| 8180 | ${c1} ${c2}######${c1} |
| 8181 | ${c1} ${c2}####${c1} |
| 8182 | ${c1} ${c2}##${c1} |
| 8183 | EOF |
| 8184 | ;; |
| 8185 | |
| 8186 | "azos"*) |
| 8187 | set_colors 6 1 |
| 8188 | read -rd '' ascii_data <<'EOF' |
| 8189 | ${c1} ////. ${c2} ((((( |
| 8190 | ${c1} //////// ${c2} @(((((((( |
| 8191 | ${c1} //////// ${c2} @(((((((( |
| 8192 | ${c1} //////// /////// ${c2} ((((((( @(((((((( |
| 8193 | ${c1} //////// ///////// ${c2} ((((((((( @(((((((( |
| 8194 | ${c1} //////// ///////// ${c2} ((((((((( @(((((((( |
| 8195 | ${c1} //////// ///////// ////// ${c2} (((((( ((((((((( @(((((((( |
| 8196 | ${c1} //////// ///////// //////// ${c2} (((((((( ((((((((( @(((((((( |
| 8197 | ${c1} //////// ///////// //////// ${c2} (((((((( ((((((((( @(((((((( |
| 8198 | ${c1} //////// ///////// //////// ${c2} ((((((( ((((((((( @(((((((( |
| 8199 | ${c1} //////// ///////// /// ${c2} ( ((((((((( @(((((((( |
| 8200 | ${c1} //////// ///////// ${c2} ((((((((( @(((((((( |
| 8201 | ${c1} //////// ///////// ${c2} &(((((((( @(((((((( |
| 8202 | ${c1} //////// ////// ${c2} @(((( @(((((((( |
| 8203 | ${c1} //////// ${c2} @(((((((( |
| 8204 | ${c1} //////// ${c2} @(((((((( |
| 8205 | ${c1} ///// ${c2} ((((( |
| 8206 | EOF |
| 8207 | ;; |
| 8208 | |
| 8209 | "Bedrock"*) |
| 8210 | set_colors 8 7 |
| 8211 | read -rd '' ascii_data <<'EOF' |
| 8212 | ${c1}-------------------------------------- |
| 8213 | -------------------------------------- |
| 8214 | -------------------------------------- |
| 8215 | ---${c2}\\\\\\\\\\\\\\\\\\\\\\\\${c1}----------------------- |
| 8216 | ----${c2}\\\\\\ \\\\\\${c1}---------------------- |
| 8217 | -----${c2}\\\\\\ \\\\\\${c1}--------------------- |
| 8218 | ------${c2}\\\\\\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\${c1}------ |
| 8219 | -------${c2}\\\\\\ \\\\\\${c1}----- |
| 8220 | --------${c2}\\\\\\ \\\\\\${c1}---- |
| 8221 | ---------${c2}\\\\\\ ______ \\\\\\${c1}--- |
| 8222 | ----------${c2}\\\\\\ ///${c1}--- |
| 8223 | -----------${c2}\\\\\\ ///${c1}---- |
| 8224 | ------------${c2}\\\\\\ ///${c1}----- |
| 8225 | -------------${c2}\\\\\\////////////////${c1}------ |
| 8226 | -------------------------------------- |
| 8227 | -------------------------------------- |
| 8228 | -------------------------------------- |
| 8229 | EOF |
| 8230 | ;; |
| 8231 | |
| 8232 | "BigLinux_large"*) |
| 8233 | set_colors 2 3 4 7 |
| 8234 | read -rd '' ascii_data <<'EOF' |
| 8235 | ${c4} |
| 8236 | ${c3}.cd0KXXX${c4}0${c3}x; |
| 8237 | ${c3}.oXM${c4}M${c3}MMMMMMMMMWo |
| 8238 | ${c2}... ${c3}dWMMMM${c4}M${c3}MMMMMMMMMMN, |
| 8239 | ${c2}c0WMMMW0: ${c3}.XMMMM${c4}M${c3}MMMKdc;,;cxNMM: |
| 8240 | ${c1}x, ${c2}.XMMMMMMMMM: ${c3}'W${c3}MMMMMMWo. ;KW. |
| 8241 | ${c1}dM. ${c2}.WMMMMMMMM0 ${c3}N${c3}MMMM${c4}M${c3}Mk. dd |
| 8242 | ${c1}.MM. ${c2}.lOKXKOl. ${c3}oMMMMMMd .l${c4}x${c3}kd: . |
| 8243 | ${c1}kMM: .'.. ${c2}:xOOxc. ${c3}O${c4}M${c3}MMMM0 lXMMMMM${c4}M${c3}N; |
| 8244 | ${c1}WMM0 lKMMMMMW0o. ${c2}KMMMMMMN. ${c3}xMM${c4}M${c3}M, .dWMMMMMMMMMM; |
| 8245 | ${c1}.MMMMx .oWMMMMMMOl0MMX; ${c2}NMMMMMMM; ${c3}.NMMMM. .dWMMMM${c4}M${c3}MMMMMMMN |
| 8246 | ${c1}.MMMMMNOKMMMMMMMk. 'MMMMx ${c2};MMMMMMMO ${c3}.KMMMl .oWMMMMMWk:,lWMMMM. |
| 8247 | ${c1}xMMMMMMMMMMMMk. .MMMMMc ${c2}'XMMMMMMx ${c3}:0MMNMMMM${c4}M${c3}MWx. .WM${c4}M${c3}M. |
| 8248 | ${c1}0MMMMMMMMWx. :MMMMMK ${c2}cKMMMMMX: ${c3},ok0K0x:. oMMN |
| 8249 | ${c1}oNMMMM0c. .NMMMMMO ${c2}.lOWMMMX: ${c3}.M${c4}M${c3}o |
| 8250 | ${c1}c. .'. .KMMMMMM: ${c2}.';clc. ${c3}MN |
| 8251 | ${c1}:N; cWMMMMMMO ${c3}.W; |
| 8252 | ${c1}0M0: 'dNMMMMMMM0 ${c3}', |
| 8253 | ${c1}0MMMX0O0XMMMMMMMMMMo |
| 8254 | ${c1}oWMMMMMMMMMMMMMMk. |
| 8255 | ${c1}.oXMMMMMMMMW0c. |
| 8256 | ${c1}.;ccc:,. |
| 8257 | |
| 8258 | EOF |
| 8259 | ;; |
| 8260 | |
| 8261 | "BigLinux"*) |
| 8262 | set_colors 6 11 4 |
| 8263 | read -rd '' ascii_data <<'EOF' |
| 8264 | ${c1} ... |
| 8265 | :OWMMMNd. |
| 8266 | :NMMMMMMMMWc |
| 8267 | okkl. kMMMMMW0xdOWMl |
| 8268 | : xMMMMMW. kMMMMNc lW. |
| 8269 | :x NMMMMMO ,MMMM0. 'l |
| 8270 | Xx "lkk" kMMMX .okx, |
| 8271 | ${c2}.MX .cc;. .xXKx. KMMM: .OMMMMMl |
| 8272 | :MM' 'KMMMMWK: 0MMMMk xMMM. lWMMMMMMM' |
| 8273 | cMMN:;xMMMMk::MMO oMMMMX .XMM. .KMMMWOOMMMd |
| 8274 | 'MMMMMMMMN, NMMx OMMMMl .kM0OMMMMk. ;MMd |
| 8275 | xMMMMMMd .MMMW :NMMMd .ckKKx' KMc |
| 8276 | dWMNd. oMMMN lkNMX, oM. |
| 8277 | ;. ;MMMMx "MM:. cO |
| 8278 | ${c3} .X. oMMMMW. l. |
| 8279 | dMk:..;xWMMMMW, |
| 8280 | kMMMMMMMMMMX. |
| 8281 | :XMMMMMMK: |
| 8282 | ':MM:" Made in Brazil |
| 8283 | EOF |
| 8284 | ;; |
| 8285 | |
| 8286 | "Bitrig"*) |
| 8287 | set_colors 2 7 |
| 8288 | read -rd '' ascii_data <<'EOF' |
| 8289 | ${c1} `hMMMMN+ |
| 8290 | -MMo-dMd` |
| 8291 | oMN- oMN` |
| 8292 | yMd /NM: |
| 8293 | .mMmyyhMMs |
| 8294 | :NMMMhsmMh |
| 8295 | +MNhNNoyMm- |
| 8296 | hMd.-hMNMN: |
| 8297 | mMmsssmMMMo |
| 8298 | .MMdyyhNMMMd |
| 8299 | oMN.`/dMddMN` |
| 8300 | yMm/hNm+./MM/ |
| 8301 | .dMMMmo.``.NMo |
| 8302 | :NMMMNmmmmmMMh |
| 8303 | /MN/-------oNN: |
| 8304 | hMd. .dMh |
| 8305 | sm/ /ms |
| 8306 | EOF |
| 8307 | ;; |
| 8308 | |
| 8309 | "BlackArch"*) |
| 8310 | set_colors 1 1 0 1 |
| 8311 | read -rd '' ascii_data <<'EOF' |
| 8312 | ${c3} 00 |
| 8313 | 11 |
| 8314 | ====${c1} |
| 8315 | .${c3}//${c1} |
| 8316 | `o${c3}//${c1}: |
| 8317 | `+o${c3}//${c1}o: |
| 8318 | `+oo${c3}//${c1}oo: |
| 8319 | -+oo${c3}//${c1}oo+: |
| 8320 | `/:-:+${c3}//${c1}ooo+: |
| 8321 | `/+++++${c3}//${c1}+++++: |
| 8322 | `/++++++${c3}//${c1}++++++: |
| 8323 | `/+++o${c2}ooo${c3}//${c2}ooo${c1}oooo/` |
| 8324 | ${c2} ${c1}./${c2}ooosssso${c3}//${c2}osssssso${c1}+` |
| 8325 | ${c2} .oossssso-`${c3}//${c1}`/ossssss+` |
| 8326 | -osssssso. ${c3}//${c1} :ssssssso. |
| 8327 | :osssssss/ ${c3}//${c1} osssso+++. |
| 8328 | /ossssssss/ ${c3}//${c1} +ssssooo/- |
| 8329 | `/ossssso+/:- ${c3}//${c1} -:/+osssso+- |
| 8330 | `+sso+:-` ${c3}//${c1} `.-/+oso: |
| 8331 | `++:. ${c3}//${c1} `-/+/ |
| 8332 | .` ${c3}/${c1} `/ |
| 8333 | EOF |
| 8334 | ;; |
| 8335 | |
| 8336 | "BlackMesa") |
| 8337 | set_colors 1 |
| 8338 | read -rd '' ascii_data <<'EOF' |
| 8339 | ${c1} |
| 8340 | .-;+$XHHHHHHX$+;-. |
| 8341 | ,;X@@X%/;=----=:/%X@@X/, |
| 8342 | =$@@%=. .=+H@X: |
| 8343 | -XMX: =XMX= |
| 8344 | /@@: =H@+ |
| 8345 | %@X, .$@$ |
| 8346 | +@X. $@% |
| 8347 | -@@, .@@= |
| 8348 | %@% +@$ |
| 8349 | H@: :@H |
| 8350 | H@: :HHHHHHHHHHHHHHHHHHX, =@H |
| 8351 | %@% ;@M@@@@@@@@@@@@@@@@@H- +@$ |
| 8352 | =@@, :@@@@@@@@@@@@@@@@@@@@@= .@@: |
| 8353 | +@X :@@@@@@@@@@@@@@@M@@@@@@:%@% |
| 8354 | $@$, ;@@@@@@@@@@@@@@@@@M@@@@@@$. |
| 8355 | +@@HHHHHHH@@@@@@@@@@@@@@@@@@@@@@@+ |
| 8356 | =X@@@@@@@@@@@@@@@@@@@@@@@@@@@@X= |
| 8357 | :$@@@@@@@@@@@@@@@@@@@M@@@@$: |
| 8358 | ,;$@@@@@@@@@@@@@@@@@@X/- |
| 8359 | .-;+$XXHHHHHX$+;-. |
| 8360 | |
| 8361 | EOF |
| 8362 | ;; |
| 8363 | |
| 8364 | "blackPanther"* | 'blackpanther'*) |
| 8365 | set_colors 1 11 12 |
| 8366 | read -rd '' ascii_data <<'EOF' |
| 8367 | ${c3} ........ |
| 8368 | .,»╔╗╗╬▄▄╫█▀▓▄▄╬╗╗g≈,. |
| 8369 | ,j╗╬╣▓▓███████▌;»╙▀▀▀▀█▄▄╗j, |
| 8370 | .≈╗╬▓██▀▀▀▀▀╠╙░░»»;:`${c2}``>${c1}▄ ${c3}▐ ▓╫╗⌂, |
| 8371 | .j╬▓█▀▒░░░░░░░░░»»»;:```` ╙▀█▌╬░, |
| 8372 | ;╗▓█▄▄███████▀░░»»»»;```` ╓▄▄█▄▄φ ██▌Ñ>. |
| 8373 | .j╣█████▀▀░░░░░░░░»»╓▄▄¿``▄███████/▄████▓╬U. |
| 8374 | .j╣▓██▀ÜÑ╦╦░░░░░░▐█@▄████⌐▐███████████████▓╬H. |
| 8375 | «╫▓█▀░ÑÑ╩╦░░░░░░░░▀██████M"▀███████████████▓╫░ |
| 8376 | :]╣█▌ÑÑÑÑ▄▄██▀░░░░»»██████████████████████████Ñ~ |
| 8377 | »╫▓█╫ÑÑ▄███▀░░░░░»»▐██████████████████████████▌░ |
| 8378 | `j╣█▌Ñ╬████░░░░░░░»»▐████████████████████████▌▐█U` |
| 8379 | `/╫█▌▄███▌░░░░░░░»»»;▀██████████████▀████████w▐█░` |
| 8380 | ;╟█▌███▌░░░░░░░▄▄»»;:`▀▀████████▀Ü▄████████▌ ▐▌>` |
| 8381 | `]▓████░░░░░░░░██⌂;:````╓▄▄µp╓▄▄██████████▀ ,█M` |
| 8382 | "╠╣██▌░░░░░░░»██▌;```` ╙▀██████████████M █▀" |
| 8383 | "╟╣█░░░░░░░░»███⌂``` ▐▀████████▀░ █▌░` |
| 8384 | "╩█▄░░░░░░»»▀███ `` └└` ,█▀"` |
| 8385 | `░▀█▄░░░»»»»████@ .▄█Ü` |
| 8386 | `╙▀█▄@»»»;`▀███▌¿ ,▄▀Ñ"` |
| 8387 | `"╨▀█▄▄▄░`▐█████▄, ,▄▄▀▀░` |
| 8388 | `"╙╩▀▀▀▀████████▓▌▌▌▀▀▀╨"`` |
| 8389 | ``""░╚╨╝╝╝╝╨╨░""`` |
| 8390 | EOF |
| 8391 | ;; |
| 8392 | |
| 8393 | "MatuusOS"*) |
| 8394 | set_colors 9 11 0 |
| 8395 | read -rd '' ascii_data <<'EOF' |
| 8396 | ${c2} |
| 8397 | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ |
| 8398 | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ |
| 8399 | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ |
| 8400 | ░░░░░░░░░░░░░░░░▒▓▓████▓▒▒░░░░░░░░░░░░░░░░ |
| 8401 | ░░░░░░░░░░░░░▒▓████████████▓░░░░░░░░░░░░░░ |
| 8402 | ░░░░░░░░░░░░▓████████████████▒░░░░░░░░░░░░ |
| 8403 | ░░░░░░░░░░░▓██████████████████▒░░░░░░░░░░░ |
| 8404 | ░░░░░░░░░░▓████▒▓███████▓▓█████░░░░░░░░░░░ |
| 8405 | ░░░░░░░░░░██████▓░▓████▒░██████▓░░░░░░░░░░ |
| 8406 | ░░░░░░░░░▒███████▓░▒▓▒░░████████░░░░░░░░░░ |
| 8407 | ░░░░░░░░░▒█████████▒░░░█████████░░░░░░░░░░ |
| 8408 | ░░░░░░░░░░██████████▓▒██████████░░░░░░░░░░ |
| 8409 | ░░░░░░░░░░▓████████████████████▒░░░░░░░░░░ |
| 8410 | ░░░░░░░░░░░███████████████████▓░░░░░░░░░░░ |
| 8411 | ░░░░░░░░░░░░█████████████████▓░░░░░░░░░░░░ |
| 8412 | ░░░░░░░░░░░░░▓██████████████▒░░░░░░░░░░░░░ |
| 8413 | ░░░░░░░░░░░░░░░▒▓████████▓░░░░░░░░░░░░░░░░ |
| 8414 | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ |
| 8415 | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ |
| 8416 | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ |
| 8417 | EOF |
| 8418 | ;; |
| 8419 | |
| 8420 | "BLAG"*) |
| 8421 | set_colors 5 7 |
| 8422 | read -rd '' ascii_data <<'EOF' |
| 8423 | ${c1} d |
| 8424 | ,MK: |
| 8425 | xMMMX: |
| 8426 | .NMMMMMX; |
| 8427 | lMMMMMMMM0clodkO0KXWW: |
| 8428 | KMMMMMMMMMMMMMMMMMMX' |
| 8429 | .;d0NMMMMMMMMMMMMMMMMMMK. |
| 8430 | .;dONMMMMMMMMMMMMMMMMMMMMMMx |
| 8431 | 'dKMMMMMMMMMMMMMMMMMMMMMMMMl |
| 8432 | .:xKWMMMMMMMMMMMMMMMMMMM0. |
| 8433 | .:xNMMMMMMMMMMMMMMMMMK. |
| 8434 | lMMMMMMMMMMMMMMMMMMK. |
| 8435 | ,MMMMMMMMWkOXWMMMMMM0 |
| 8436 | .NMMMMMNd. `':ldko |
| 8437 | OMMMK: |
| 8438 | oWk, |
| 8439 | ;: |
| 8440 | EOF |
| 8441 | ;; |
| 8442 | |
| 8443 | "BlankOn"*) |
| 8444 | set_colors 1 7 3 |
| 8445 | read -rd '' ascii_data <<'EOF' |
| 8446 | ${c2} `./ohdNMMMMNmho+.` ${c1} .+oo:` |
| 8447 | ${c2} -smMMMMMMMMMMMMMMMMmy-` ${c1}`yyyyy+ |
| 8448 | ${c2} `:dMMMMMMMMMMMMMMMMMMMMMMd/` ${c1}`yyyyys |
| 8449 | ${c2} .hMMMMMMMNmhso/++symNMMMMMMMh- ${c1}`yyyyys |
| 8450 | ${c2} -mMMMMMMms-` -omMMMMMMN-${c1}.yyyyys |
| 8451 | ${c2}.mMMMMMMy. .yMMMMMMm:${c1}yyyyys |
| 8452 | ${c2}sMMMMMMy `sMMMMMMh${c1}yyyyys |
| 8453 | ${c2}NMMMMMN: .NMMMMMN${c1}yyyyys |
| 8454 | ${c2}MMMMMMm. NMMMMMN${c1}yyyyys |
| 8455 | ${c2}hMMMMMM+ /MMMMMMN${c1}yyyyys |
| 8456 | ${c2}:NMMMMMN: :mMMMMMM+${c1}yyyyys |
| 8457 | ${c2} oMMMMMMNs- .sNMMMMMMs.${c1}yyyyys |
| 8458 | ${c2} +MMMMMMMNho:.` `.:ohNMMMMMMNo ${c1}`yyyyys |
| 8459 | ${c2} -hMMMMMMMMNNNmmNNNMMMMMMMMh- ${c1}`yyyyys |
| 8460 | ${c2} :yNMMMMMMMMMMMMMMMMMMNy:` ${c1}`yyyyys |
| 8461 | ${c2} .:sdNMMMMMMMMMMNds/. ${c1}`yyyyyo |
| 8462 | ${c2} `.:/++++/:.` ${c1}:oys+. |
| 8463 | EOF |
| 8464 | ;; |
| 8465 | |
| 8466 | "BlueLight"*) |
| 8467 | set_colors 7 4 |
| 8468 | read -rd '' ascii_data <<'EOF' |
| 8469 | ${c1} oMMNMMMMMMMMMMMMMMMMMMMMMM |
| 8470 | oMMMMMMMMMMMMMMMMMMMMMMMMM |
| 8471 | oMMMMMMMMMMMMMMMMMMMMMMMMM |
| 8472 | oMMMMMMMMMMMMMMMMMMMMMMMMM |
| 8473 | -+++++++++++++++++++++++mM${c2} |
| 8474 | ```````````````````````..${c1}dM${c2} |
| 8475 | ```````````````````````....${c1}dM${c2} |
| 8476 | ```````````````````````......${c1}dM${c2} |
| 8477 | ```````````````````````........${c1}dM${c2} |
| 8478 | ```````````````````````..........${c1}dM${c2} |
| 8479 | ```````````````````````............${c1}dM${c2} |
| 8480 | .::::::::::::::::::::::-..............${c1}dM${c2} |
| 8481 | `-+yyyyyyyyyyyyyyyyyyyo............${c1}+mMM${c2} |
| 8482 | -+yyyyyyyyyyyyyyyyo..........${c1}+mMMMM${c2} |
| 8483 | ./syyyyyyyyyyyyo........${c1}+mMMMMMM${c2} |
| 8484 | ./oyyyyyyyyyo......${c1}+mMMMMMMMM${c2} |
| 8485 | omdyyyyyyo....${c1}+mMMMMMMMMMM${c2} |
| 8486 | ${c1}oMMM${c2}mdhyyo..${c1}+mMMMMMMMMMMMM |
| 8487 | oNNNNNNm${c2}dso${c1}mMMMMMMMMMMMMMM |
| 8488 | EOF |
| 8489 | ;; |
| 8490 | |
| 8491 | "Bodhi"*) |
| 8492 | set_colors 7 11 2 |
| 8493 | read -rd '' ascii_data <<'EOF' |
| 8494 | ${c1}| ${c2},,mmKKKKKKKKWm,, |
| 8495 | ${c1}' ${c2},aKKP${c1}LL**********|L*${c2}TKp, |
| 8496 | ${c1}t ${c2}aKP${c1}L**``` ```**L${c2}*Kp |
| 8497 | IX${c1}EL${c3}L,wwww, ${c1}``*||${c2}Kp |
| 8498 | ,#P${c1}L|${c3}KKKpPP@IPPTKmw, ${c1}`*||${c2}K |
| 8499 | ,K${c1}LL*${c3}{KKKKKKPPb$KPhpKKPKp ${c1}`||${c2}K |
| 8500 | #${c1}PL ${c3}!KKKKKKPhKPPP$KKEhKKKKp ${c1}`||${c2}K |
| 8501 | !H${c1}L* ${c3}1KKKKKKKphKbPKKKKKK$KKp ${c1}`|I${c2}W |
| 8502 | $${c1}bL ${c3}KKKKKKKKBQKhKbKKKKKKKK ${c1}|I${c2}N |
| 8503 | $${c1}bL ${c3}!KKKKKKKKKKNKKKKKKKPP` ${c1}|I${c2}b |
| 8504 | TH${c1}L* ${c3}TKKKKKK##KKKN@KKKK^ ${c1}|I${c2}M |
| 8505 | K@${c1}L ${c3}*KKKKKKKKKKKEKE5 ${c1}||${c2}K |
| 8506 | `NL${c1}L ${c3}`KKKKKKKKKK"```|L ${c1}||${c2}#P |
| 8507 | `K@${c1}LL ${c3}`"**"` ${c1}'. :||${c2}#P |
| 8508 | Yp${c1}LL ${c1}' |L${c2}$M` |
| 8509 | `Tp${c1}pLL, ,|||${c2}p'L |
| 8510 | "Kpp${c1}LL++,., ,,|||$${c2}#K* ${c1}'. |
| 8511 | ${c2}`"MKWpppppppp#KM"` ${c1}`h, |
| 8512 | EOF |
| 8513 | ;; |
| 8514 | |
| 8515 | "bonsai"*) |
| 8516 | set_colors 6 2 3 |
| 8517 | read -rd '' ascii_data <<'EOF' |
| 8518 | ${c2} ,####, |
| 8519 | ${c2}#######, ${c2},#####, |
| 8520 | ${c2}#####',# ${c2}'###### |
| 8521 | ${c2}''###'${c3}';,,,'${c2}###' |
| 8522 | ${c3} ,; '''' |
| 8523 | ${c3} ;;; ${c2},#####, |
| 8524 | ${c3} ;;;' ,,;${c2};;### |
| 8525 | ${c3} ';;;;''${c2}'####' |
| 8526 | ${c3} ;;; |
| 8527 | ${c3} ,.;;';'',,, |
| 8528 | ${c3} ' ' |
| 8529 | ${c1} # |
| 8530 | # O |
| 8531 | ##, ,##,',##, ,## ,#, , |
| 8532 | # # # # #''# #,, # # # |
| 8533 | '#' '##' # # ,,# '##;, # |
| 8534 | EOF |
| 8535 | ;; |
| 8536 | |
| 8537 | "BSD") |
| 8538 | set_colors 1 7 4 3 6 |
| 8539 | read -rd '' ascii_data <<'EOF' |
| 8540 | ${c1} , , |
| 8541 | /( )` |
| 8542 | \ \___ / | |
| 8543 | /- _ `-/ ' |
| 8544 | (${c2}/\/ \ ${c1}\ /\ |
| 8545 | ${c2}/ / | ` ${c1}\ |
| 8546 | ${c3}O O ${c2}) ${c1}/ | |
| 8547 | ${c2}`-^--'${c1}`< ' |
| 8548 | (_.) _ ) / |
| 8549 | `.___/` / |
| 8550 | `-----' / |
| 8551 | ${c4}<----. __ / __ \ |
| 8552 | ${c4}<----|====${c1}O)))${c4}==${c1}) \) /${c4}====| |
| 8553 | <----' ${c1}`--' `.__,' \ |
| 8554 | | | |
| 8555 | \ / /\ |
| 8556 | ${c5}______${c1}( (_ / \______/ |
| 8557 | ${c5},' ,-----' | |
| 8558 | `--{__________) |
| 8559 | EOF |
| 8560 | ;; |
| 8561 | |
| 8562 | "BunsenLabs"*) |
| 8563 | set_colors fg 7 |
| 8564 | read -rd '' ascii_data <<'EOF' |
| 8565 | ${c1} `++ |
| 8566 | -yMMs |
| 8567 | `yMMMMN` |
| 8568 | -NMMMMMMm. |
| 8569 | :MMMMMMMMMN- |
| 8570 | .NMMMMMMMMMMM/ |
| 8571 | yMMMMMMMMMMMMM/ |
| 8572 | `MMMMMMNMMMMMMMN. |
| 8573 | -MMMMN+ /mMMMMMMy |
| 8574 | -MMMm` `dMMMMMM |
| 8575 | `MMN. .NMMMMM. |
| 8576 | hMy yMMMMM` |
| 8577 | -Mo +MMMMN |
| 8578 | /o +MMMMs |
| 8579 | +MMMN` |
| 8580 | hMMM: |
| 8581 | `NMM/ |
| 8582 | +MN: |
| 8583 | mh. |
| 8584 | -/ |
| 8585 | EOF |
| 8586 | ;; |
| 8587 | |
| 8588 | "CachyOS"*) |
| 8589 | set_colors 2 8 6 |
| 8590 | read -rd '' ascii_data <<'EOF' |
| 8591 | ${c3} ${c2}.${c3}-------------------------: |
| 8592 | ${c3} .${c1}+=${c3}========================. |
| 8593 | ${c3} :${c1}++${c3}===${c1}++===${c3}===============- :${c1}++${c3}- |
| 8594 | ${c3} :${c1}*++${c3}====${c1}+++++==${c3}===========- .==: |
| 8595 | ${c3} -${c1}*+++${c3}=====${c1}+***++=${c3}=========: |
| 8596 | ${c3} =${c1}*++++=${c3}=======------------: |
| 8597 | ${c3} =${c1}*+++++=${c3}====- ${c2}...${c3} |
| 8598 | ${c3} .${c1}+*+++++${c3}=-===: .${c1}=+++=${c3}: |
| 8599 | ${c3} :${c1}++++${c3}=====-==: -***${c1}**${c3}+ |
| 8600 | ${c3} :${c1}++=${c3}=======-=. .=+**+${c2}.${c3} |
| 8601 | ${c3}.${c1}+${c3}==========-. ${c2}.${c3} |
| 8602 | ${c3} :${c1}+++++++${c3}====- ${c2}.${c3}--==-${c2}.${c3} |
| 8603 | ${c3} :${c1}++${c3}==========. ${c2}:${c1}+++++++${c3}${c2}: |
| 8604 | ${c3} .-===========. =*****+*+ |
| 8605 | ${c3} .-===========: .+*****+: |
| 8606 | ${c3} -=======${c1}++++${c3}:::::::::::::::::::::::::-: ${c2}.${c3}---: |
| 8607 | ${c3} :======${c1}++++${c3}====${c1}+++******************=. |
| 8608 | ${c3} :=====${c1}+++${c3}==========${c1}++++++++++++++*- |
| 8609 | ${c3} .====${c1}++${c3}==============${c1}++++++++++*- |
| 8610 | ${c3} .===${c1}+${c3}==================${c1}+++++++: |
| 8611 | ${c3} .-=======================${c1}+++: |
| 8612 | ${c3} ${c2}.......................... |
| 8613 | EOF |
| 8614 | ;; |
| 8615 | |
| 8616 | "Calculate"*) |
| 8617 | set_colors 7 3 |
| 8618 | read -rd '' ascii_data <<'EOF' |
| 8619 | ${c1} ...... |
| 8620 | ,,+++++++,. |
| 8621 | .,,,....,,,${c2}+**+,,.${c1} |
| 8622 | ............,${c2}++++,,,${c1} |
| 8623 | ............... |
| 8624 | ......,,,........ |
| 8625 | .....+*#####+,,,*+. |
| 8626 | .....,*###############,..,,,,,,.. |
| 8627 | ......,*#################*..,,,,,..,,,.. |
| 8628 | .,,....*####################+***+,,,,...,++, |
| 8629 | .,,..,..*#####################*, |
| 8630 | ,+,.+*..*#######################. |
| 8631 | ,+,,+*+..,########################* |
| 8632 | .,++++++. ..+##**###################+ |
| 8633 | ..... ..+##***#################*. |
| 8634 | .,.*#*****##############*. |
| 8635 | ..,,*********#####****+. |
| 8636 | ${c2}.,++*****+++${c1}*****************${c2}+++++,.${c1} |
| 8637 | ${c2},++++++**+++++${c1}***********${c2}+++++++++,${c1} |
| 8638 | ${c2}.,,,,++++,.. .,,,,,.....,+++,.,,${c1} |
| 8639 | EOF |
| 8640 | ;; |
| 8641 | |
| 8642 | "Carbs"*) |
| 8643 | set_colors 4 5 4 4 4 4 |
| 8644 | read -rd '' ascii_data <<'EOF' |
| 8645 | ${c2} .......... |
| 8646 | ..,;:ccccccc:;'.. |
| 8647 | ..,clllc:;;;;;:cllc,. |
| 8648 | .,cllc,... ..';;'. |
| 8649 | .;lol;.. .. |
| 8650 | .,lol;. |
| 8651 | .coo:. |
| 8652 | .'lol,. |
| 8653 | .,lol,. |
| 8654 | .,lol,. |
| 8655 | 'col;. |
| 8656 | .:ooc'. |
| 8657 | .'col:. |
| 8658 | .'cllc'.. .''. |
| 8659 | ..:lolc,'.......',cll,. |
| 8660 | ..;cllllccccclllc;'. |
| 8661 | ...',;;;;;;,,... |
| 8662 | ..... |
| 8663 | EOF |
| 8664 | |
| 8665 | ;; |
| 8666 | |
| 8667 | "CalinixOS") |
| 8668 | # set_colors 4 5 4 4 4 4 |
| 8669 | set_colors 5 4 |
| 8670 | read -rd '' ascii_data <<'EOF' |
| 8671 | ${c2} |
| 8672 | ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⠤⠔⠒⠒⠋⠉⠉⠉⠉⠓⠒⠒⠦⠤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 8673 | ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠤⠒⠉⣁⣠⣤⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣤⣄⣈⠙⠲⢤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 8674 | ⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠴⠋⢁⣤⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣤⡈⠑⢦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 8675 | ⠀⠀⠀⠀⠀⠀⠀⣠⠞⢁⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡄⠈⠢⡀⠀⠀⠀⠀⠀⠀⠀ |
| 8676 | ⠀⠀⠀⠀⠀⢀⠞⠁⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠋⠉⠁⠀⠀⠀⠀⠈⠉⠙⠛⠿⣿⣿⣿⣿⣿⣿⠏⠀⠀⠀⠈⢢⡀⠀⠀⠀⠀⠀ |
| 8677 | ⠀⠀⠀⠀⡰⠃⣠⣾⣿⣿⣿⣿⣿⣿⡿⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠻⢿⡿⠁⠀⠀⠀⠀⠀⠀⠙⣄⠀⠀⠀⠀ |
| 8678 | ⠀⠀⠀⡼⠁⣴⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢆⠀⠀⠀ |
| 8679 | ⠀⠀⡼⠀⣼⣿⣿⣿⣿⣿⣿⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣆⠀⠀ |
| 8680 | ⠀⣰⠁⣸⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀⠀⠀⠀⠉⠻⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⡄⠀ |
| 8681 | ⢀⡇⢠⣿⣿⣿⣿⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠛⢿⣿⣿⣿⣿⣿⣷⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢳⠀ |
| 8682 | ⢸⠀⣸⣿⣿⣿⣿⣿⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣿⣿⣿⣿⣿⣿⣦⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⡄ |
| 8683 | ⣼⠀⣿⣿⣿⣿⣿⣿⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣿⣿⣿⣿⣿⣿⣷⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇ |
| 8684 | ⡇⠀⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢛⣿⣿⣿⣿⣿⣿⣿⡦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇ |
| 8685 | ⢻⠀⣿⣿⣿⣿⣿⣿⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣶⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇ |
| 8686 | ⢸⡀⢹⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⣿⣿⣿⣿⣿⣿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⠃ |
| 8687 | ⠀⣇⠘⣿⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⣿⣿⣿⣿⣿⡿⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡼⠀ |
| 8688 | ⠀⠸⡄⢹⣿⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠀⠀⠀⣠⣶⣿⣿⣿⣿⣿⣿⠟⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⠃⠀ |
| 8689 | ⠀⠀⢳⡀⢻⣿⣿⣿⣿⣿⣿⣆⠀⠀⠀⠀⠀⠈⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⠏⠀⠀ |
| 8690 | ⠀⠀⠀⠳⡀⠻⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⣷⣄⡀⠀⠀⠀⠀⢠⠏⠀⠀⠀ |
| 8691 | ⠀⠀⠀⠀⠙⣄⠙⢿⣿⣿⣿⣿⣿⣿⣷⣦⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣴⣾⣿⣿⣿⣿⣿⣦⡀⠀⡰⠃⠀⠀⠀⠀ |
| 8692 | ⠀⠀⠀⠀⠀⠈⠢⡈⠻⣿⣿⣿⣿⣿⣿⣿⣿⣷⣶⣤⣄⣀⡀⠀⠀⠀⠀⢀⣀⣠⣤⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⣠⠞⠁⠀⠀⠀⠀⠀ |
| 8693 | ⠀⠀⠀⠀⠀⠀⠀⠈⠢⡈⠙⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⣡⠞⠁⠀⠀⠀⠀⠀⠀⠀ |
| 8694 | ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠓⢤⡈⠛⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⣁⠴⠊⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 8695 | ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠑⠢⢄⣉⠙⠛⠿⠿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠛⠋⣉⡤⠖⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 8696 | ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠓⠒⠢⠤⠤⠤⠤⠤⠤⠤⠤⠖⠒⠋⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 8697 | |
| 8698 | EOF |
| 8699 | ;; |
| 8700 | |
| 8701 | "CalinixOS_small"*) |
| 8702 | # set_colors 4 5 4 4 4 4 |
| 8703 | set_colors 5 4 |
| 8704 | read -rd '' ascii_data <<'EOF' |
| 8705 | ${c2} |
| 8706 | ⠀⠀⠀⠀⠀⠀⠀⠀⣀⠤⠐⣂⣈⣩⣭⣭⣍⣀⣐⠀⠄⡀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 8707 | ⠀⠀⠀⠀⠀⡀⠔⣨⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣦⣅⠢⡀⠀⠀⠀⠀⠀ |
| 8708 | ⠀⠀⠀⠠⢊⣴⣾⣿⣿⣿⣿⠿⠟⠛⠛⠛⠛⠻⠿⣿⣿⣿⣿⠃⠀⠠⡀⠀⠀⠀ |
| 8709 | ⠀⠀⡐⢡⣾⣿⣿⣿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠁⠀⠀⠀⠈⢆⠀⠀ |
| 8710 | ⠀⡘⢰⣿⣿⣿⡟⠁⠀⠀⢀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢂⠀ |
| 8711 | ⢠⢠⣿⣿⣿⡟⠀⠀⠀⠀⠀⠙⠿⣿⣿⣷⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⡀ |
| 8712 | ⡄⢸⣿⣿⣿⠁⠀⠀⠀⠀⠀⠀⠀⠈⠻⣿⣿⣿⣦⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁ |
| 8713 | ⡇⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣹⣿⣿⣿⣷⠄⠀⠀⠀⠀⠀⠀⠀⠀ |
| 8714 | ⠃⢸⣿⣿⣿⡀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⣿⣿⡿⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⡀ |
| 8715 | ⠘⡘⣿⣿⣿⣧⠀⠀⠀⠀⠀⢀⣴⣿⣿⣿⠿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠁ |
| 8716 | ⠀⠡⠸⣿⣿⣿⣧⡀⠀⠀⠀⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⢀⠆⠀ |
| 8717 | ⠀⠀⠡⡘⢿⣿⣿⣿⣦⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣴⣿⣷⣦⡀⢀⠊⠀⠀ |
| 8718 | ⠀⠀⠀⠈⠊⡻⢿⣿⣿⣿⣿⣶⣤⣤⣤⣤⣤⣤⣶⣿⣿⣿⣿⡿⢟⠕⠁⠀⠀⠀ |
| 8719 | ⠀⠀⠀⠀⠀⠈⠢⢙⠻⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⡩⠐⠁⠀⠀⠀⠀⠀ |
| 8720 | ⠀⠀⠀⠀⠀⠀⠀⠀⠈⠐⠂⠭⠉⠙⣛⣛⠋⠉⠭⠐⠂⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 8721 | |
| 8722 | EOF |
| 8723 | ;; |
| 8724 | |
| 8725 | "CBL-Mariner"*) |
| 8726 | set_colors 6 |
| 8727 | read -rd '' ascii_data <<'EOF' |
| 8728 | ${c1} . |
| 8729 | :- . |
| 8730 | :==. .=: |
| 8731 | :===: -==: |
| 8732 | :-===: .====: |
| 8733 | :-====- -=====: |
| 8734 | -====== :=======: |
| 8735 | -======. .=========: |
| 8736 | -======: -==========. |
| 8737 | -======- -===========. |
| 8738 | :======- :===========. |
| 8739 | :=======. .-==========. |
| 8740 | :=======: -==========. |
| 8741 | :=======- :==========. |
| 8742 | :=======- .-========- |
| 8743 | :--------. :========- |
| 8744 | ..:::--=========- |
| 8745 | ..::---================-=- |
| 8746 | EOF |
| 8747 | ;; |
| 8748 | |
| 8749 | "CelOS"*) |
| 8750 | set_colors 4 6 0 5 |
| 8751 | read -rd '' ascii_data <<'EOF' |
| 8752 | |
| 8753 | ${c4} .,cmmmmmmmmmmmc,. |
| 8754 | .,cmMMMMMMMMMMMMMMMMMMMMmc. |
| 8755 | .cMMMMMMMMMMMMMMMMMMMMMMMMMMMmc. |
| 8756 | .cMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMc. |
| 8757 | ,:MMM ${c3}####################################${c4} |
| 8758 | cMMMMMMmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmc. |
| 8759 | .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. |
| 8760 | .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMc |
| 8761 | "******************************MMMMMMMMMMMMMc: |
| 8762 | ${c3}#################################### ${c4}MMMMMMMMMMMMMc |
| 8763 | "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM: |
| 8764 | "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM" |
| 8765 | 'MMMMMMMMM*******************************: |
| 8766 | \"MMMMMM ${c3}##################################### |
| 8767 | ${c4}`:MMMMMMmmmmmmmmmmmmmmmmmmmmmmmmmmmmm; |
| 8768 | `"MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM" |
| 8769 | `":MMMMMMMMMMMMMMMMMMMMMMMMM;' |
| 8770 | `":MMMMMMMMMMMMMMMMMMM:" |
| 8771 | "************" |
| 8772 | |
| 8773 | |
| 8774 | |
| 8775 | |
| 8776 | EOF |
| 8777 | ;; |
| 8778 | |
| 8779 | "centos_small"*) |
| 8780 | set_colors 3 2 4 5 7 |
| 8781 | read -rd '' ascii_data <<'EOF' |
| 8782 | ${c2} ____${c1}^${c4}____ |
| 8783 | ${c2} |\\ ${c1}|${c4} /| |
| 8784 | ${c2} | \\ ${c1}|${c4} / | |
| 8785 | ${c4}<---- ${c3}----> |
| 8786 | ${c3} | / ${c2}|${c1} \\ | |
| 8787 | ${c3} |/__${c2}|${c1}__\\| |
| 8788 | ${c2} v |
| 8789 | EOF |
| 8790 | ;; |
| 8791 | |
| 8792 | "CentOS"*) |
| 8793 | set_colors 3 2 4 5 7 |
| 8794 | read -rd '' ascii_data <<'EOF' |
| 8795 | ${c1} .. |
| 8796 | .PLTJ. |
| 8797 | <><><><> |
| 8798 | ${c2}KKSSV' 4KKK ${c1}LJ${c4} KKKL.'VSSKK |
| 8799 | ${c2}KKV' 4KKKKK ${c1}LJ${c4} KKKKAL 'VKK |
| 8800 | ${c2}V' ' 'VKKKK ${c1}LJ${c4} KKKKV' ' 'V |
| 8801 | ${c2}.4MA.' 'VKK ${c1}LJ${c4} KKV' '.4Mb. |
| 8802 | ${c4} . ${c2}KKKKKA.' 'V ${c1}LJ${c4} V' '.4KKKKK ${c3}. |
| 8803 | ${c4} .4D ${c2}KKKKKKKA.'' ${c1}LJ${c4} ''.4KKKKKKK ${c3}FA. |
| 8804 | ${c4}<QDD ++++++++++++ ${c3}++++++++++++ GFD> |
| 8805 | ${c4} 'VD ${c3}KKKKKKKK'.. ${c2}LJ ${c1}..'KKKKKKKK ${c3}FV |
| 8806 | ${c4} ' ${c3}VKKKKK'. .4 ${c2}LJ ${c1}K. .'KKKKKV ${c3}' |
| 8807 | ${c3} 'VK'. .4KK ${c2}LJ ${c1}KKA. .'KV' |
| 8808 | ${c3}A. . .4KKKK ${c2}LJ ${c1}KKKKA. . .4 |
| 8809 | ${c3}KKA. 'KKKKK ${c2}LJ ${c1}KKKKK' .4KK |
| 8810 | ${c3}KKSSA. VKKK ${c2}LJ ${c1}KKKV .4SSKK |
| 8811 | ${c2} <><><><> |
| 8812 | 'MKKM' |
| 8813 | '' |
| 8814 | EOF |
| 8815 | ;; |
| 8816 | |
| 8817 | "Center"*) |
| 8818 | set_colors 7 7 |
| 8819 | read -rd '' ascii_data <<'EOF' |
| 8820 | ${c2} . |
| 8821 | o, |
| 8822 | . d, . |
| 8823 | ';' ..d;.. .cl' |
| 8824 | .:; 'oldO,.oo. |
| 8825 | ..,:,xKXxoo;'. |
| 8826 | ,;;;;;ldxkONMMMXxkxc;;;;;. |
| 8827 | .....':oddXWMNOxlcl:...... |
| 8828 | .:dlxk0c;:. . |
| 8829 | :d:.,xcld,.,:. |
| 8830 | ;l, .l; ';' |
| 8831 | .o; |
| 8832 | l, |
| 8833 | EOF |
| 8834 | ;; |
| 8835 | |
| 8836 | "Chakra"*) |
| 8837 | set_colors 4 5 7 6 |
| 8838 | read -rd '' ascii_data <<'EOF' |
| 8839 | ${c1} _ _ _ "kkkkkkkk. |
| 8840 | ,kkkkkkkk., 'kkkkkkkkk, |
| 8841 | ,kkkkkkkkkkkk., 'kkkkkkkkk. |
| 8842 | ,kkkkkkkkkkkkkkkk,'kkkkkkkk, |
| 8843 | ,kkkkkkkkkkkkkkkkkkk'kkkkkkk. |
| 8844 | "''"''',;::,,"''kkk''kkkkk; __ |
| 8845 | ,kkkkkkkkkk, "k''kkkkk' ,kkkk |
| 8846 | ,kkkkkkk' ., ' .: 'kkkk',kkkkkk |
| 8847 | ,kkkkkkkk'.k' , ,kkkk;kkkkkkkkk |
| 8848 | ,kkkkkkkk';kk 'k "'k',kkkkkkkkkkkk |
| 8849 | .kkkkkkkkk.kkkk.'kkkkkkkkkkkkkkkkkk' |
| 8850 | ;kkkkkkkk''kkkkkk;'kkkkkkkkkkkkk'' |
| 8851 | 'kkkkkkk; 'kkkkkkkk.,""''"''"" |
| 8852 | ''kkkk; 'kkkkkkkkkk., |
| 8853 | ';' 'kkkkkkkkkkkk., |
| 8854 | ';kkkkkkkkkk' |
| 8855 | ';kkkkkk' |
| 8856 | "''" |
| 8857 | EOF |
| 8858 | ;; |
| 8859 | |
| 8860 | "ChaletOS"*) |
| 8861 | set_colors 4 7 1 |
| 8862 | read -rd '' ascii_data <<'EOF' |
| 8863 | ${c1} `.//+osso+/:`` |
| 8864 | `/sdNNmhyssssydmNNdo:` |
| 8865 | :hNmy+-` .-+hNNs- |
| 8866 | /mMh/` `+:` `+dMd: |
| 8867 | .hMd- -sNNMNo. /yyy /mMs` |
| 8868 | -NM+ `/dMd/--omNh::dMM `yMd` |
| 8869 | .NN+ .sNNs:/dMNy:/hNmo/s yMd` |
| 8870 | hMs `/hNd+-smMMMMMMd+:omNy- `dMo |
| 8871 | :NM. .omMy:/hNMMMMMMMMMMNy:/hMd+` :Md` |
| 8872 | /Md` `sm+.omMMMMMMMMMMMMMMMMd/-sm+ .MN: |
| 8873 | /Md` MMMMMMMMMMMMMMMMMMMN .MN: |
| 8874 | :NN. MMMMMMm....--NMMMMMN -Mm. |
| 8875 | `dMo MMMMMMd mMMMMMN hMs |
| 8876 | -MN: MMMMMMd mMMMMMN oMm` |
| 8877 | :NM: MMMMMMd mMMMMMN +Mm- |
| 8878 | -mMy. mmmmmmh dmmmmmh -hMh. |
| 8879 | oNNs- :yMm/ |
| 8880 | .+mMdo:` `:smMd/` |
| 8881 | -ohNNmhsoo++osshmNNh+. |
| 8882 | `./+syyhhyys+:`` |
| 8883 | EOF |
| 8884 | ;; |
| 8885 | |
| 8886 | "Chapeau"*) |
| 8887 | set_colors 2 7 |
| 8888 | read -rd '' ascii_data <<'EOF' |
| 8889 | ${c1} .-/-. |
| 8890 | ////////. |
| 8891 | ////////${c2}y+${c1}//. |
| 8892 | ////////${c2}mMN${c1}/////. |
| 8893 | ////////${c2}mMN+${c1}////////. |
| 8894 | ////////////////////////. |
| 8895 | /////////+${c2}shhddhyo${c1}+////////. |
| 8896 | ////////${c2}ymMNmdhhdmNNdo${c1}///////. |
| 8897 | ///////+${c2}mMms${c1}////////${c2}hNMh${c1}///////. |
| 8898 | ///////${c2}NMm+${c1}//////////${c2}sMMh${c1}/////// |
| 8899 | //////${c2}oMMNmmmmmmmmmmmmMMm${c1}/////// |
| 8900 | //////${c2}+MMmssssssssssssss+${c1}/////// |
| 8901 | `//////${c2}yMMy${c1}//////////////////// |
| 8902 | `//////${c2}smMNhso++oydNm${c1}//////// |
| 8903 | `///////${c2}ohmNMMMNNdy+${c1}/////// |
| 8904 | `//////////${c2}++${c1}////////// |
| 8905 | `////////////////. |
| 8906 | -////////- |
| 8907 | EOF |
| 8908 | ;; |
| 8909 | |
| 8910 | "Chimera"*) |
| 8911 | set_colors 1 5 4 1 |
| 8912 | read -rd '' ascii_data <<'EOF' |
| 8913 | ${c3}ddddddddddddddc ${c1},cc: |
| 8914 | ${c3}ddddddddddddddc ${c1},cc: |
| 8915 | ${c3}ddddddddddddddd ${c1},cc: |
| 8916 | ${c3}ddddddddddddl:' ${c1},cc: |
| 8917 | ${c3}dddddddddl' ${c1}..;cc: |
| 8918 | ${c3}dddddddo. ${c1},:cccccc: |
| 8919 | ${c3}ddddddl ${c1},ccc:''''' |
| 8920 | ${c3}dddddo. ${c1};ccc. ............ |
| 8921 | .ccc. cccccccccccc |
| 8922 | ${c2}...... ${c1}.ccc. .ccc''''''''' |
| 8923 | ${c2}OOOOOk. ${c1};ccc. .ccc; ...... |
| 8924 | ${c2}OOOOOOd ${c1}'ccc:,....,:ccc' ${c4}coooooo |
| 8925 | ${c2}OOOOOOOx. ${c1}':cccccccc:' ${c4}.looooooo |
| 8926 | ${c2}OOOOOOOOOd, ${c1}`'''` ${c4}.coooooooo |
| 8927 | ${c2}OOOOOOOOOOOOdc,. ${c4}..,coooooooooooo |
| 8928 | ${c2}OOOOOOOOOOOOOOOO' ${c4}.oooooooooooooooo |
| 8929 | ${c2}OOOOOOOOOOOOOOOO' ${c4}.oooooooooooooooo |
| 8930 | ${c2}OOOOOOOOOOOOOOOO' ${c4}.oooooooooooooooo |
| 8931 | EOF |
| 8932 | ;; |
| 8933 | |
| 8934 | "ChonkySealOS"*) |
| 8935 | set_colors 7 |
| 8936 | read -rd '' ascii_data <<'EOF' |
| 8937 | ${c1} .-/-. |
| 8938 | .:-=++****++=-:. |
| 8939 | .:=+*##%%%%%%%%%%##*+=:. |
| 8940 | :=*#%%%%%%%%%%%%%%%%%%%%#*=: |
| 8941 | :=*#%%%%%%%%%%%%%%%%%%%%%%%%#*=. |
| 8942 | -+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%#+- |
| 8943 | =+#%%%%@@@@@@@%%%%%%%@@@@@@@%%%%%#+= |
| 8944 | =+#@%%%%*+=-==*%%%%%%%#+====*%%%%%@#+= |
| 8945 | :+*%%%%@* +@%%%@# -@%%%%%*+: |
| 8946 | =+#%%%%%%#+====*###%%##*=--=+*%%%%%%%#+= |
| 8947 | +*%%%%%%%@@##%%%%*=::=#%%%##%@%%%%%%%%*+ |
| 8948 | +*%%%%%%%@**@%%%%%@==@%%%%%@+#%%%%%%%%*+ |
| 8949 | =+#%%%%%%@#*@%%%%%%**%%%%%@%+%%%%%%%%#+= |
| 8950 | :+*%%%%%%%@#*####**###*####*%@%%%%%%%*+: |
| 8951 | =+#@%%%%%%@%%%%%%%@@%%%%%%%%%%%%%%@#+= |
| 8952 | =+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#+= |
| 8953 | -+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%*+- |
| 8954 | .=*#%%%%%%%%%%%%%%%%%%%%%%%%#*=. |
| 8955 | :=*##%%%%%%%%%%%%%%%%%%##*=: |
| 8956 | .:=+*##%%%%%%%%%%##*+=:. |
| 8957 | .:-=++****++=-:. |
| 8958 | EOF |
| 8959 | ;; |
| 8960 | |
| 8961 | "Chrom"*) |
| 8962 | set_colors 2 1 3 4 7 |
| 8963 | read -rd '' ascii_data <<'EOF' |
| 8964 | ${c2} .,:loool:,. |
| 8965 | .,coooooooooooooc,. |
| 8966 | .,lllllllllllllllllllll,. |
| 8967 | ;ccccccccccccccccccccccccc; |
| 8968 | ${c1} '${c2}ccccccccccccccccccccccccccccc. |
| 8969 | ${c1} ,oo${c2}c::::::::okO${c5}000${c3}0OOkkkkkkkkkkk: |
| 8970 | ${c1}.ooool${c2};;;;:x${c5}K0${c4}kxxxxxk${c5}0X${c3}K0000000000. |
| 8971 | ${c1}:oooool${c2};,;O${c5}K${c4}ddddddddddd${c5}KX${c3}000000000d |
| 8972 | ${c1}lllllool${c2};l${c5}N${c4}dllllllllllld${c5}N${c3}K000000000 |
| 8973 | ${c1}lllllllll${c2}o${c5}M${c4}dccccccccccco${c5}W${c3}K000000000 |
| 8974 | ${c1};cllllllllX${c5}X${c4}c:::::::::c${c5}0X${c3}000000000d |
| 8975 | ${c1}.ccccllllllO${c5}Nk${c4}c;,,,;cx${c5}KK${c3}0000000000. |
| 8976 | ${c1} .cccccclllllxOO${c5}OOO${c1}Okx${c3}O0000000000; |
| 8977 | ${c1} .:ccccccccllllllllo${c3}O0000000OOO, |
| 8978 | ${c1} ,:ccccccccclllcd${c3}0000OOOOOOl. |
| 8979 | ${c1} '::ccccccccc${c3}dOOOOOOOkx:. |
| 8980 | ${c1} ..,::cccc${c3}xOOOkkko;. |
| 8981 | ${c1} ..,:${c3}dOkxl:. |
| 8982 | EOF |
| 8983 | ;; |
| 8984 | |
| 8985 | "cleanjaro_small"*) |
| 8986 | set_colors 7 7 |
| 8987 | read -rd '' ascii_data <<'EOF' |
| 8988 | ${c1}█████ ██████████ |
| 8989 | █████ ██████████ |
| 8990 | █████ |
| 8991 | █████ |
| 8992 | █████ |
| 8993 | ████████████████ |
| 8994 | ████████████████ |
| 8995 | EOF |
| 8996 | ;; |
| 8997 | |
| 8998 | "Cleanjaro"*) |
| 8999 | set_colors 7 7 |
| 9000 | read -rd '' ascii_data <<'EOF' |
| 9001 | ${c1}███████▌ ████████████████ |
| 9002 | ███████▌ ████████████████ |
| 9003 | ███████▌ ████████████████ |
| 9004 | ███████▌ |
| 9005 | ███████▌ |
| 9006 | ███████▌ |
| 9007 | ███████▌ |
| 9008 | ███████▌ |
| 9009 | █████████████████████████ |
| 9010 | █████████████████████████ |
| 9011 | █████████████████████████ |
| 9012 | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ |
| 9013 | EOF |
| 9014 | ;; |
| 9015 | |
| 9016 | "ClearOS"*) |
| 9017 | set_colors 2 |
| 9018 | read -rd '' ascii_data <<'EOF' |
| 9019 | ${c1} `.--::::::--.` |
| 9020 | .-:////////////////:-. |
| 9021 | `-////////////////////////-` |
| 9022 | -////////////////////////////- |
| 9023 | `//////////////-..-//////////////` |
| 9024 | ./////////////: ://///////////. |
| 9025 | `//////:..-////: :////-..-//////` |
| 9026 | ://////` -///:.``.:///-` ://///: |
| 9027 | `///////:. -////////-` `:///////` |
| 9028 | .//:--////:. -////-` `:////--://. |
| 9029 | ./: .////:. --` `:////- :/. |
| 9030 | `//-` .////:. `:////- `-//` |
| 9031 | :///-` .////:. `:////- `-///: |
| 9032 | `/////-` -///: :///- `-/////` |
| 9033 | `//////- `///: :///` .//////` |
| 9034 | `:////: `///: :///` -////:` |
| 9035 | .://: `///: :///` -//:. |
| 9036 | .:: `///: :///` -:. |
| 9037 | `///: :///` |
| 9038 | `... ...` |
| 9039 | EOF |
| 9040 | ;; |
| 9041 | |
| 9042 | "Clear Linux OS"* | "Clear_Linux"*) |
| 9043 | set_colors 4 3 7 6 |
| 9044 | read -rd '' ascii_data <<'EOF' |
| 9045 | ${c1} BBB |
| 9046 | BBBBBBBBB |
| 9047 | BBBBBBBBBBBBBBB |
| 9048 | BBBBBBBBBBBBBBBBBBBB |
| 9049 | BBBBBBBBBBB BBB |
| 9050 | BBBBBBBB${c2}YYYYY |
| 9051 | ${c1} BBBBBBBB${c2}YYYYYY |
| 9052 | ${c1} BBBBBBBB${c2}YYYYYYY |
| 9053 | ${c1} BBBBBBBBB${c2}YYYYY${c3}W |
| 9054 | ${c4} GG${c1}BBBBBBBY${c2}YYYY${c3}WWW |
| 9055 | ${c4} GGG${c1}BBBBBBB${c2}YY${c3}WWWWWWWW |
| 9056 | ${c4} GGGGGG${c1}BBBBBB${c3}WWWWWWWW |
| 9057 | ${c4} GGGGGGGG${c1}BBBB${c3}WWWWWWWW |
| 9058 | ${c4}GGGGGGGGGGG${c1}BBB${c3}WWWWWWW |
| 9059 | ${c4}GGGGGGGGGGGGG${c1}B${c3}WWWWWW |
| 9060 | ${c4}GGGGGGGG${c3}WWWWWWWWWWW |
| 9061 | ${c4}GG${c3}WWWWWWWWWWWWWWWW |
| 9062 | WWWWWWWWWWWWWWWW |
| 9063 | WWWWWWWWWW |
| 9064 | WWW |
| 9065 | EOF |
| 9066 | ;; |
| 9067 | |
| 9068 | "Clover"*) |
| 9069 | set_colors 2 6 |
| 9070 | read -rd '' ascii_data <<'EOF' |
| 9071 | ${c1} `omo``omo` |
| 9072 | `oNMMMNNMMMNo` |
| 9073 | `oNMMMMMMMMMMMMNo` |
| 9074 | oNMMMMMMMMMMMMMMMMNo |
| 9075 | `sNMMMMMMMMMMMMMMNs` |
| 9076 | `omo` `sNMMMMMMMMMMNs` `omo` |
| 9077 | `oNMMMNo` `sNMMMMMMNs` `oNMMMNo` |
| 9078 | `oNMMMMMMMNo` `oNMMNs` `oNMMMMMMMNo` |
| 9079 | oNMMMMMMMMMMMNo` `sy` `oNMMMMMMMMMMMNo |
| 9080 | `sNMMMMMMMMMMMMNo.${c2}oNNs${c1}.oNMMMMMMMMMMMMNs` |
| 9081 | `oNMMMMMMMMMMMMNs.${c2}oNNs${c1}.oNMMMMMMMMMMMMNo` |
| 9082 | oNMMMMMMMMMMMNs` `sy` `oNMMMMMMMMMMMNo |
| 9083 | `oNMMMMMMMNs` `oNMMNo` `oNMMMMMMMNs` |
| 9084 | `oNMMMNs` `sNMMMMMMNs` `oNMMMNs` |
| 9085 | `oNs` `sNMMMMMMMMMMNs` `oNs` |
| 9086 | `sNMMMMMMMMMMMMMMNs` |
| 9087 | +NMMMMMMMMMMMMMMMMNo |
| 9088 | `oNMMMMMMMMMMMMNo` |
| 9089 | `oNMMMNNMMMNs` |
| 9090 | `omo``oNs` |
| 9091 | EOF |
| 9092 | ;; |
| 9093 | |
| 9094 | "Condres"*) |
| 9095 | set_colors 2 3 6 |
| 9096 | read -rd '' ascii_data <<'EOF' |
| 9097 | ${c1}syyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy+${c3}.+. |
| 9098 | ${c1}`oyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy+${c3}:++. |
| 9099 | ${c2}/o${c1}+oyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/${c3}oo++. |
| 9100 | ${c2}/y+${c1}syyyyyyyyyyyyyyyyyyyyyyyyyyyyy${c3}+ooo++. |
| 9101 | ${c2}/hy+${c1}oyyyhhhhhhhhhhhhhhyyyyyyyyy${c3}+oo+++++. |
| 9102 | ${c2}/hhh+${c1}shhhhhdddddhhhhhhhyyyyyyy${c3}+oo++++++. |
| 9103 | ${c2}/hhdd+${c1}oddddddddddddhhhhhyyyys${c3}+oo+++++++. |
| 9104 | ${c2}/hhddd+${c1}odmmmdddddddhhhhyyyy${c3}+ooo++++++++. |
| 9105 | ${c2}/hhdddmo${c1}odmmmdddddhhhhhyyy${c3}+oooo++++++++. |
| 9106 | ${c2}/hdddmmms${c1}/dmdddddhhhhyyys${c3}+oooo+++++++++. |
| 9107 | ${c2}/hddddmmmy${c1}/hdddhhhhyyyyo${c3}+oooo++++++++++: |
| 9108 | ${c2}/hhdddmmmmy${c1}:yhhhhyyyyy+${c3}+oooo+++++++++++: |
| 9109 | ${c2}/hhddddddddy${c1}-syyyyyys+${c3}ooooo++++++++++++: |
| 9110 | ${c2}/hhhddddddddy${c1}-+yyyy+${c3}/ooooo+++++++++++++: |
| 9111 | ${c2}/hhhhhdddddhhy${c1}./yo:${c3}+oooooo+++++++++++++/ |
| 9112 | ${c2}/hhhhhhhhhhhhhy${c1}:-.${c3}+sooooo+++++++++++///: |
| 9113 | ${c2}:sssssssssssso++${c1}${c3}`:/:--------.```````` |
| 9114 | EOF |
| 9115 | ;; |
| 9116 | |
| 9117 | "Container Linux by CoreOS"* | "Container_Linux"* | "Fedora CoreOS" | "CoreOS"*) |
| 9118 | set_colors 4 7 1 |
| 9119 | read -rd '' ascii_data <<'EOF' |
| 9120 | ${c1} ..... |
| 9121 | .';:cccccccc:;'. |
| 9122 | ':ccccclc${c3}lllllllll${c1}cc:. |
| 9123 | .;cccccccc${c3}lllllllllllllll${c1}c, |
| 9124 | ;clllccccc${c3}llllllllllllllllll${c1}c, |
| 9125 | .cllclccccc${c3}lllll${c2}lll${c3}llllllllllll${c1}c: |
| 9126 | ccclclcccc${c3}cllll${c2}kWMMNKk${c3}llllllllll${c1}c: |
| 9127 | :ccclclcccc${c3}llll${c2}oWMMMMMMWO${c3}lllllllll${c1}c, |
| 9128 | .ccllllllccc${c3}clll${c2}OMMMMMMMMM0${c3}lllllllll${c1}c |
| 9129 | .lllllclcccc${c3}llll${c2}KMMMMMMMMMMo${c3}llllllll${c1}c. |
| 9130 | .lllllllcccc${c3}clll${c2}KMMMMMMMMN0${c3}lllllllll${c1}c. |
| 9131 | .cclllllcccc${c3}lllld${c2}xkkxxdo${c3}llllllllllc${c1}lc |
| 9132 | :cccllllllcccc${c3}lllccllllcclccc${c1}cccccc; |
| 9133 | .ccclllllllcccccccc${c3}lll${c1}ccccclccccccc |
| 9134 | .cllllllllllclcccclccclccllllcllc |
| 9135 | :cllllllllccclcllllllllllllcc; |
| 9136 | .cccccccccccccclcccccccccc:. |
| 9137 | .;cccclccccccllllllccc,. |
| 9138 | .';ccccclllccc:;.. |
| 9139 | ..... |
| 9140 | EOF |
| 9141 | ;; |
| 9142 | |
| 9143 | "crux_small" | KISS*) |
| 9144 | set_colors 4 5 7 6 |
| 9145 | read -rd '' ascii_data <<'EOF' |
| 9146 | ${c1} ___ |
| 9147 | (${c3}.· ${c1}| |
| 9148 | (${c2}<> ${c1}| |
| 9149 | / ${c3}__ ${c1}\\ |
| 9150 | ( ${c3}/ \\ ${c1}/| |
| 9151 | ${c2}_${c1}/\\ ${c3}__)${c1}/${c2}_${c1}) |
| 9152 | ${c2}\/${c1}-____${c2}\/ |
| 9153 | EOF |
| 9154 | ;; |
| 9155 | |
| 9156 | "CRUX"*) |
| 9157 | set_colors 4 5 7 6 |
| 9158 | read -rd '' ascii_data <<'EOF' |
| 9159 | ${c1} odddd |
| 9160 | oddxkkkxxdoo |
| 9161 | ddcoddxxxdoool |
| 9162 | xdclodod olol |
| 9163 | xoc xdd olol |
| 9164 | xdc ${c2}k00${c1}Okdlol |
| 9165 | xxd${c2}kOKKKOkd${c1}ldd |
| 9166 | xdco${c2}xOkdlo${c1}dldd |
| 9167 | ddc:cl${c2}lll${c1}oooodo |
| 9168 | odxxdd${c3}xkO000kx${c1}ooxdo |
| 9169 | oxdd${c3}x0NMMMMMMWW0od${c1}kkxo |
| 9170 | oooxd${c3}0WMMMMMMMMMW0o${c1}dxkx |
| 9171 | docldkXW${c3}MMMMMMMWWN${c1}Odolco |
| 9172 | xx${c2}dx${c1}kxxOKN${c3}WMMWN${c1}0xdoxo::c |
| 9173 | ${c2}xOkkO${c1}0oo${c3}odOW${c2}WW${c1}XkdodOxc:l |
| 9174 | ${c2}dkkkxkkk${c3}OKX${c2}NNNX0Oxx${c1}xc:cd |
| 9175 | ${c2} odxxdx${c3}xllod${c2}ddooxx${c1}dc:ldo |
| 9176 | ${c2} lodd${c1}dolccc${c2}ccox${c1}xoloo |
| 9177 | EOF |
| 9178 | ;; |
| 9179 | |
| 9180 | *"Crystal Linux"*) |
| 9181 | set_colors 13 5 |
| 9182 | read -rd '' ascii_data <<'EOF' |
| 9183 | ${c1} mysssym |
| 9184 | ${c1} mysssym |
| 9185 | ${c1} mysssym |
| 9186 | ${c1} mysssym |
| 9187 | ${c1} mysssyd |
| 9188 | ${c1} mysssyd N |
| 9189 | ${c1} mysssyd mysym |
| 9190 | ${c1} mysssyd dysssym |
| 9191 | ${c1} mysssyd dysssym |
| 9192 | ${c1} mysssyd dysssym |
| 9193 | ${c1} mysssyd dysssym |
| 9194 | ${c1} mysssyd dysssym |
| 9195 | ${c1} mysssyd dysssym |
| 9196 | ${c1} mysym dysssym |
| 9197 | ${c1} N dysssym |
| 9198 | ${c1} dysssym |
| 9199 | ${c1} dysssym |
| 9200 | ${c1} dysssym |
| 9201 | ${c1} dysssym |
| 9202 | ${c1} dysssym |
| 9203 | EOF |
| 9204 | ;; |
| 9205 | |
| 9206 | *"Cucumber"*) |
| 9207 | set_colors 2 3 |
| 9208 | read -rd '' ascii_data <<'EOF' |
| 9209 | ${c1} `.-://++++++//:-.` |
| 9210 | `:/+//${c2}::--------${c1}:://+/:` |
| 9211 | -++/:${c2}----..........----${c1}:/++- |
| 9212 | .++:${c2}---...........-......---${c1}:++. |
| 9213 | /+:${c2}---....-::/:/--//:::-....---${c1}:+/ |
| 9214 | `++:${c2}--.....:---::/--/::---:.....--${c1}:++` |
| 9215 | /+:${c2}--.....--.--::::-/::--.--.....--${c1}:+/ |
| 9216 | -o:${c2}--.......-:::://--/:::::-.......--${c1}:o- |
| 9217 | /+:${c2}--...-:-::---:::..:::---:--:-...--${c1}:+/ |
| 9218 | o/:${c2}-...-:.:.-/:::......::/:.--.:-...-${c1}:/o |
| 9219 | o/${c2}--...::-:/::/:-......-::::::-/-...-${c1}:/o |
| 9220 | /+:${c2}--..-/:/:::--:::..:::--::////-..--${c1}:+/ |
| 9221 | -o:${c2}--...----::/:::/--/:::::-----...--${c1}:o- |
| 9222 | /+:${c2}--....://:::.:/--/:.::://:....--${c1}:+/ |
| 9223 | `++:${c2}--...-:::.--.:..:.--.:/:-...--${c1}:++` |
| 9224 | /+:${c2}---....----:-..-:----....---${c1}:+/ |
| 9225 | .++:${c2}---..................---${c1}:++. |
| 9226 | -/+/:${c2}----..........----${c1}:/+/- |
| 9227 | `:/+//${c2}::--------:::${c1}/+/:` |
| 9228 | `.-://++++++//:-.` |
| 9229 | EOF |
| 9230 | ;; |
| 9231 | |
| 9232 | "CutefishOS"*) |
| 9233 | set_colors 6 7 4 |
| 9234 | read -rd '' ascii_data <<'EOF' |
| 9235 | ${c1} ___ww___ |
| 9236 | _ _wwMMM@M^^^^MMMMww_ |
| 9237 | M0w_ _wMMM~~ ~~MMm_ |
| 9238 | ~MMy _ww0M~ ~MMy |
| 9239 | ~MMMM~ o "MM |
| 9240 | ${c3} jw0M~~MMMw_ _wMM' |
| 9241 | wMM~ ~~MMmw__ __w0M~ |
| 9242 | ~ ~~MM0MmwwwwwwwwwMMM~ |
| 9243 | ~~~~^^~~~ |
| 9244 | EOF |
| 9245 | ;; |
| 9246 | |
| 9247 | "CuteOS"*) |
| 9248 | set_colors 33 50 57 |
| 9249 | read -rd '' ascii_data <<'EOF' |
| 9250 | ${c2} |
| 9251 | ${c3}1ua${c2} |
| 9252 | ${c3}MMM1ua${c2} |
| 9253 | ${c1}MM${c2}EE ${c3} MMMMM1uazE${c2} |
| 9254 | ${c1}MM ${c2}EEEE ${c3}M1MM1uazzEn ${c2}EEEE MME |
| 9255 | EEEEE ${c3}MMM uazEno ${c2}EEEE |
| 9256 | EEEEE${c1}MMMMMMEno~; ${c2}EE E${c2} |
| 9257 | EE ${c1}MMMMMMMM~;;E ${c2}MMMMM M ${c2} |
| 9258 | E ${c1}MMMMMMMMM ${c2} E E ${c2} |
| 9259 | ${c1}MMMMMMMMMMM |
| 9260 | ${c1}MMMMMMMMM ${c2}EE ${c1} |
| 9261 | MM1MMMM ${c2}EEE ${c1} |
| 9262 | MMMMM |
| 9263 | MMM |
| 9264 | M |
| 9265 | EOF |
| 9266 | ;; |
| 9267 | |
| 9268 | "CyberOS"*) |
| 9269 | set_colors 50 32 57 |
| 9270 | read -rd '' ascii_data <<'EOF' |
| 9271 | ${c3} !M$EEEEEEEEEEEP |
| 9272 | .MMMMM000000Nr. |
| 9273 | ${c3}&MMMMMM${c2}MMMMMMMMMMMMM9 |
| 9274 | ${c3}~MMM${c1}MMMM${c2}MMMMMMMMMMMMC |
| 9275 | ${c1}" ${c3}M${c1}MMMMMMM${c2}MMMMMMMMMMs |
| 9276 | ${c1}iM${c2}MMM&&${c1}MMMMMMMM${c2}MMMMMMMM\\ |
| 9277 | ${c1}BMMM${c2}MMMMM${c1}MMMMMMM${c2}MMMMMM${c3}" |
| 9278 | ${c1}9MMMMM${c2}MMMMMMM${c1}MMMM${c2}MMMM${c3}MMMf- |
| 9279 | ${c2}sMMMMMMMM${c1}MM${c2}M${c3}MMMMMMMMM3_ |
| 9280 | ${c2}+ffffffff${c1}P${c3}MMMMMMMMMMMM0 |
| 9281 | ${c2}CMMMMMMMMMMM |
| 9282 | }MMMMMMMMM |
| 9283 | ~MMMMMMM |
| 9284 | "RMMMM |
| 9285 | .PMB |
| 9286 | EOF |
| 9287 | ;; |
| 9288 | |
| 9289 | "dahlia"*) |
| 9290 | set_colors 1 7 3 |
| 9291 | read -rd '' ascii_data <<'EOF' |
| 9292 | ${c1} |
| 9293 | .#. |
| 9294 | *%@@@%* |
| 9295 | .,,,,,(&@@@@@@@&/,,,,,. |
| 9296 | ,#@@@@@@@@@@@@@@@@@@@@@#. |
| 9297 | ,#@@@@@@@&#///#&@@@@@@@#. |
| 9298 | ,/%&@@@@@%/, .,(%@@@@@&#/. |
| 9299 | *#&@@@@@@#,. .*#@@@@@@&#, |
| 9300 | .&@@@@@@@@@( .(@@@@@@@@@&&. |
| 9301 | #@@@@@@@@@@( )@@@@@@@@@@@# |
| 9302 | °@@@@@@@@@@( .(@@@@@@@@@@@° |
| 9303 | *%@@@@@@@(. ,#@@@@@@@%* |
| 9304 | ,(&@@@@@@%*. ./%@@@@@@%(, |
| 9305 | ,#@@@@@@@&(***(&@@@@@@@#. |
| 9306 | ,#@@@@@@@@@@@@@@@@@@@@@#. |
| 9307 | ,*****#&@@@@@@@&(*****, |
| 9308 | ,/%@@@%/. |
| 9309 | ,#, |
| 9310 | EOF |
| 9311 | ;; |
| 9312 | |
| 9313 | "debian_small") |
| 9314 | set_colors 1 7 3 |
| 9315 | read -rd '' ascii_data <<'EOF' |
| 9316 | ${c1} _____ |
| 9317 | / __ \\ |
| 9318 | | / | |
| 9319 | | \\___- |
| 9320 | -_ |
| 9321 | --_ |
| 9322 | EOF |
| 9323 | ;; |
| 9324 | |
| 9325 | "Debian"*) |
| 9326 | set_colors 1 7 3 |
| 9327 | read -rd '' ascii_data <<'EOF' |
| 9328 | ${c2} _,met$$$$$gg. |
| 9329 | ,g$$$$$$$$$$$$$$$P. |
| 9330 | ,g$$P" """Y$$.". |
| 9331 | ,$$P' `$$$. |
| 9332 | ',$$P ,ggs. `$$b: |
| 9333 | `d$$' ,$P"' ${c1}.${c2} $$$ |
| 9334 | $$P d$' ${c1},${c2} $$P |
| 9335 | $$: $$. ${c1}-${c2} ,d$$' |
| 9336 | $$; Y$b._ _,d$P' |
| 9337 | Y$$. ${c1}`.${c2}`"Y$$$$P"' |
| 9338 | ${c2} `$$b ${c1}"-.__ |
| 9339 | ${c2} `Y$$ |
| 9340 | `Y$$. |
| 9341 | `$$b. |
| 9342 | `Y$$b. |
| 9343 | `"Y$b._ |
| 9344 | `""" |
| 9345 | EOF |
| 9346 | ;; |
| 9347 | |
| 9348 | "digital UNIX"*) |
| 9349 | set_colors 1 6 7 |
| 9350 | read -rd '' ascii_data <<'EOF' |
| 9351 | ${c1} +-+-+-+-+-+-+-+ |
| 9352 | |${c3}d${c1}|${c3}i${c1}|${c3}g${c1}|${c3}i${c1}|${c3}t${c1}|${c3}a${c1}|${c3}l${c1}| |
| 9353 | +-+-+-+-+-+-+-+ |
| 9354 | ${c2} _ _ _ _ _______ __ |
| 9355 | | | | | \\ | |_ _\\ \\ / / |
| 9356 | | | | | \\| | | | \\ V / |
| 9357 | | | | | . ` | | | > < |
| 9358 | | |__| | |\\ |_| |_ / . \\ |
| 9359 | \\____/|_| \\_|_____/_/ \\_\\ |
| 9360 | EOF |
| 9361 | ;; |
| 9362 | |
| 9363 | "Droidian"*) |
| 9364 | set_colors 2 10 |
| 9365 | read -rd '' ascii_data <<'EOF' |
| 9366 | ${c2} _,met$$$$$gg. |
| 9367 | ,g$$$$$$$$$$$$$$$$P. |
| 9368 | ,$$P' `$$$. |
| 9369 | ',$$P ,ggs. `$$b: |
| 9370 | `d$$' ,$P"' ${c1}.${c2} $$$ |
| 9371 | $$P d$' ${c1},${c2} $$P |
| 9372 | $$: $$. ${c1}-${c2} ,d$$' |
| 9373 | $$; Y$b._ _,d$P' |
| 9374 | Y$$. ${c1}`.${c2}`"Y$$$$P"' |
| 9375 | ${c2} `$$b ${c1}"-.__ |
| 9376 | ${c2} `Y$$ |
| 9377 | `Y$$. |
| 9378 | `$$b. |
| 9379 | `Y$$b. |
| 9380 | `"Y$b._ |
| 9381 | EOF |
| 9382 | ;; |
| 9383 | |
| 9384 | "Deepin"*) |
| 9385 | set_colors 2 7 |
| 9386 | read -rd '' ascii_data <<'EOF' |
| 9387 | ${c1} ............ |
| 9388 | .';;;;;. .,;,. |
| 9389 | .,;;;;;;;. ';;;;;;;. |
| 9390 | .;::::::::' .,::;;,''''',. |
| 9391 | ,'.:::::::: .;;'. '; |
| 9392 | ;' 'cccccc, ,' :: '.. .: |
| 9393 | ,, :ccccc. ;: .c, '' :. ,; |
| 9394 | .l. cllll' ., .lc :; .l' l. |
| 9395 | .c :lllc ;cl: .l' .ll. :' |
| 9396 | .l 'looc. . ,o: 'oo' c, |
| 9397 | .o. .:ool::coc' .ooo' o. |
| 9398 | :: ..... .;dddo ;c |
| 9399 | l:... .';lddddo. ,o |
| 9400 | lxxxxxdoolllodxxxxxxxxxc :l |
| 9401 | ,dxxxxxxxxxxxxxxxxxxl. 'o, |
| 9402 | ,dkkkkkkkkkkkkko;. .;o; |
| 9403 | .;okkkkkdl;. .,cl:. |
| 9404 | .,:cccccccc:,. |
| 9405 | EOF |
| 9406 | ;; |
| 9407 | |
| 9408 | |
| 9409 | "openKylin"*) |
| 9410 | set_colors 2 7 |
| 9411 | read -rd '' ascii_data <<'EOF' |
| 9412 | ${c1} |
| 9413 | /KKK] |
| 9414 | KKKKKKK` ]KKKK\ |
| 9415 | KKKKK/ /KKKKKKKKK\ |
| 9416 | KKKK/ ,KKKKKKKKKKKK^ |
| 9417 | ,]KKK =KKK` /KKKKKKOOOOOO` |
| 9418 | ,KKKKKK =KK /` [\OOOOOOO\ |
| 9419 | \KKKKK =K ,OOOOOOO` |
| 9420 | ,KKKKK =^ \OOOOOO |
| 9421 | ,KKKK ^ OOOOOO^ |
| 9422 | *KKK^ =OOOOO^ |
| 9423 | OOKK^ OOOOOO^ |
| 9424 | \OOOK\ /OOOOOO` |
| 9425 | OOOOOO] ,OOOOOOO^ |
| 9426 | ,OOOOOOOO\] ,[OOOOOOOOO/ |
| 9427 | \OOOOOOOOOOOOOOOOOOOOO` |
| 9428 | [OOOOOOOOOOOOOOOO/` |
| 9429 | ,[OOOOOOOOO] |
| 9430 | EOF |
| 9431 | ;; |
| 9432 | |
| 9433 | "DesaOS") |
| 9434 | set_colors 2 7 |
| 9435 | read -rd '' ascii_data <<'EOF' |
| 9436 | ${c1}███████████████████████ |
| 9437 | ███████████████████████ |
| 9438 | ███████████████████████ |
| 9439 | ███████████████████████ |
| 9440 | ████████ ███████ |
| 9441 | ████████ ███████ |
| 9442 | ████████ ███████ |
| 9443 | ████████ ███████ |
| 9444 | ████████ ███████ |
| 9445 | ████████ ███████ |
| 9446 | ████████ ███████ |
| 9447 | ██████████████████████████████ |
| 9448 | ██████████████████████████████ |
| 9449 | ████████████████████████ |
| 9450 | ████████████████████████ |
| 9451 | ████████████████████████ |
| 9452 | EOF |
| 9453 | ;; |
| 9454 | |
| 9455 | "Devuan"*) |
| 9456 | set_colors 5 7 |
| 9457 | read -rd '' ascii_data <<'EOF' |
| 9458 | ${c1} ..,,;;;::;,.. |
| 9459 | `':ddd;:,. |
| 9460 | `'dPPd:,. |
| 9461 | `:b$$b`. |
| 9462 | 'P$$$d` |
| 9463 | .$$$$$` |
| 9464 | ;$$$$$P |
| 9465 | .:P$$$$$$` |
| 9466 | .,:b$$$$$$$;' |
| 9467 | .,:dP$$$$$$$$b:' |
| 9468 | .,:;db$$$$$$$$$$Pd'` |
| 9469 | ,db$$$$$$$$$$$$$$b:'` |
| 9470 | :$$$$$$$$$$$$b:'` |
| 9471 | `$$$$$bd:''` |
| 9472 | `'''` |
| 9473 | EOF |
| 9474 | ;; |
| 9475 | |
| 9476 | "DietPi"*) |
| 9477 | set_colors 2 0 |
| 9478 | read -rd '' ascii_data <<'EOF' |
| 9479 | ${c1} :=+******+- -+******+=: |
| 9480 | =#-::-::::-=#:-#=-::::-::-#= |
| 9481 | :%-::--==-::-%%-::-==--::-%: |
| 9482 | +#-:::::=+++${c2}@@${c1}+++=-::::-#= |
| 9483 | :#+-::::=%${c2}@@@@@${c1}=::::-+#: |
| 9484 | =@%##%${c2}@@@@@@@@${c1}%##%@= |
| 9485 | ${c2} .#@@@@@@@@@@@@@@@@@@@@#. |
| 9486 | %@@@@@@@@@@@@@@@@@@@@@@% |
| 9487 | -@@@@@@@@@@@@@@@@@@@@@@@@: |
| 9488 | .#@@@@@@@@@@%%%%%@@@@@@@@@@@#. |
| 9489 | #@@@${c1}+-=*#%${c2}%%%%%%%%%${c1}%%#+--#${c2}@@@# |
| 9490 | %@@%${c1}*. .:${c2}=*%%%%*${c1}=: .#${c2}@@@% |
| 9491 | :%@@@${c1}#+=-:${c2}:-*%%%%+::${c1}:-=+%${c2}@@@%: |
| 9492 | :@@@@%@%%%%@${c1}#${c2}#${c1}#${c2}%@%%%%@%@@@@. |
| 9493 | +@@@@@@@@@${c1}%${c2}=*+${c1}%${c2}@%@@@@@@@@+ |
| 9494 | #@@@@@@@@@@@@@@@@@@@@@@# |
| 9495 | -#@@@@@@@@@@@@@@@@@@#- |
| 9496 | -*%@@@@@@@@@@%*- |
| 9497 | .+%@@@@%+. |
| 9498 | EOF |
| 9499 | ;; |
| 9500 | |
| 9501 | "DracOS"*) |
| 9502 | set_colors 1 7 3 |
| 9503 | read -rd '' ascii_data <<'EOF' |
| 9504 | ${c1} `-:/- |
| 9505 | -os: |
| 9506 | -os/` |
| 9507 | :sy+-` |
| 9508 | `/yyyy+. |
| 9509 | `+yyyyo- |
| 9510 | `/yyyys: |
| 9511 | `:osssoooo++- +yyyyyy/` |
| 9512 | ./yyyyyyo yo`:syyyy+. |
| 9513 | -oyyy+ +- :yyyyyo- |
| 9514 | `:sy: `. `/yyyyys: |
| 9515 | ./o/.` .oyyso+oo:` |
| 9516 | :+oo+//::::///:-.` `.` |
| 9517 | EOF |
| 9518 | ;; |
| 9519 | |
| 9520 | "DarkOs") |
| 9521 | set_colors 1 6 5 3 2 |
| 9522 | read -rd '' ascii_data <<'EOF' |
| 9523 | |
| 9524 | ${c3}⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⠢⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9525 | ${c1}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣶⠋⡆⢹⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9526 | ${c5}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡆⢀⣤⢛⠛⣠⣿⠀⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9527 | ${c6}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣶⣿⠟⣡⠊⣠⣾⣿⠃⣠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9528 | ${c2}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣴⣯⣿⠀⠊⣤⣿⣿⣿⠃⣴⣧⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9529 | ${c1}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⣶⣿⣿⡟⣠⣶⣿⣿⣿⢋⣤⠿⠛⠉⢁⣭⣽⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9530 | ${c4} ⠀⠀⠀⠀⠀⠀ ⠀⣠⠖⡭⢉⣿⣯⣿⣯⣿⣿⣿⣟⣧⠛⢉⣤⣶⣾⣿⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9531 | ${c5}⠀⠀⠀⠀⠀⠀⠀⠀⣴⣫⠓⢱⣯⣿⢿⠋⠛⢛⠟⠯⠶⢟⣿⣯⣿⣿⣿⣿⣿⣿⣦⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9532 | ${c2}⠀⠀⠀⠀⠀⠀⢀⡮⢁⣴⣿⣿⣿⠖⣠⠐⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠛⠛⠛⢿⣶⣄⠀⠀⠀⠀⠀⠀⠀ |
| 9533 | ${c3}⠀⠀⠀⠀⢀⣤⣷⣿⣿⠿⢛⣭⠒⠉⠀⠀⠀⣀⣀⣄⣤⣤⣴⣶⣶⣶⣿⣿⣿⣿⣿⠿⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9534 | ${c1}⠀⢀⣶⠏⠟⠝⠉⢀⣤⣿⣿⣶⣾⣿⣿⣿⣿⣿⣿⣟⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9535 | ${c6}⢴⣯⣤⣶⣿⣿⣿⣿⣿⡿⣿⣯⠉⠉⠉⠉⠀⠀⠀⠈⣿⡀⣟⣿⣿⢿⣿⣿⣿⣿⣿⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9536 | ${c5}⠀⠀⠀⠉⠛⣿⣧⠀⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠃⣿⣿⣯⣿⣦⡀⠀⠉⠻⣿⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9537 | ${c3}⠀⠀⠀⠀⠀⠀⠉⢿⣮⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⠀⣯⠉⠉⠛⢿⣿⣷⣄⠀⠈⢻⣆⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9538 | ${c2}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠢⠀⠀⠀⠀⠀⠀⠀⢀⢡⠃⣾⣿⣿⣦⠀⠀⠀⠙⢿⣿⣤⠀⠙⣄⠀⠀⠀⠀⠀⠀⠀ |
| 9539 | ${c6}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⢋⡟⢠⣿⣿⣿⠋⢿⣄⠀⠀⠀⠈⡄⠙⣶⣈⡄⠀⠀⠀⠀⠀⠀ |
| 9540 | ${c1}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠚⢲⣿⠀⣾⣿⣿⠁⠀⠀⠉⢷⡀⠀⠀⣇⠀⠀⠈⠻⡀⠀⠀⠀⠀⠀ |
| 9541 | ${c4}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢢⣀⣿⡏⠀⣿⡿⠀⠀⠀⠀⠀⠀⠙⣦⠀⢧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9542 | ${c3}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠿⣧⣾⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⣮⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9543 | ${c5}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠙⠛⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9544 | |
| 9545 | EOF |
| 9546 | ;; |
| 9547 | |
| 9548 | "Itc"*) |
| 9549 | set_colors 1 |
| 9550 | read -rd '' ascii_data <<'EOF' |
| 9551 | ${c1}....................-==============+... |
| 9552 | ${c1}....................-==============:... |
| 9553 | ${c1}...:===========-....-==============:... |
| 9554 | ${c1}...-===========:....-==============-... |
| 9555 | ${c1}....*==========+........-::********-... |
| 9556 | ${c1}....*===========+.:*====**==*+-.-...... |
| 9557 | ${c1}....:============*+-..--:+**====*---... |
| 9558 | ${c1}......::--........................::... |
| 9559 | ${c1}..+-:+-.+::*:+::+:-++::++-.:-.*.:++:++. |
| 9560 | ${c1}..:-:-++++:-::--:+::-::.:++-++:++--:-:. ⠀⠀⠀⠀⠀ |
| 9561 | ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 9562 | EOF |
| 9563 | ;; |
| 9564 | |
| 9565 | "dragonfly_old"*) |
| 9566 | set_colors 1 7 3 |
| 9567 | read -rd '' ascii_data <<'EOF' |
| 9568 | ${c1} .-. |
| 9569 | ${c3} ()${c1}I${c3}() |
| 9570 | ${c1} "==.__:-:__.==" |
| 9571 | "==.__/~|~\__.==" |
| 9572 | "==._( Y )_.==" |
| 9573 | ${c2}.-'~~""~=--...,__${c1}\/|\/${c2}__,...--=~""~~'-. |
| 9574 | ( ..=${c1}\\=${c1}/${c2}=.. ) |
| 9575 | `'-. ,.-"`;${c1}/=\\${c2};"-.,_ .-'` |
| 9576 | `~"-=-~` .-~` ${c1}|=|${c2} `~-. `~-=-"~` |
| 9577 | .-~` /${c1}|=|${c2}\ `~-. |
| 9578 | .~` / ${c1}|=|${c2} \ `~. |
| 9579 | .-~` .' ${c1}|=|${c2} `. `~-. |
| 9580 | (` _,.-="` ${c1} |=|${c2} `"=-.,_ `) |
| 9581 | `~"~"` ${c1} |=|${c2} `"~"~` |
| 9582 | ${c1} /=\\ |
| 9583 | \\=/ |
| 9584 | ^ |
| 9585 | EOF |
| 9586 | ;; |
| 9587 | |
| 9588 | "dragonfly_small"*) |
| 9589 | set_colors 1 7 3 |
| 9590 | read -rd '' ascii_data <<'EOF' |
| 9591 | ${c2} ,${c1}_${c2}, |
| 9592 | ('-_${c1}|${c2}_-') |
| 9593 | >--${c1}|${c2}--< |
| 9594 | (_-'${c1}|${c2}'-_) |
| 9595 | ${c1}| |
| 9596 | | |
| 9597 | | |
| 9598 | EOF |
| 9599 | ;; |
| 9600 | |
| 9601 | "DragonFly"*) |
| 9602 | set_colors 1 7 3 |
| 9603 | read -rd '' ascii_data <<'EOF' |
| 9604 | ${c2},--, ${c1}| ${c2},--, |
| 9605 | ${c2}| `-, ${c1},^, ${c2},-' | |
| 9606 | ${c2} `, `-, ${c3}(/ \) ${c2},-' ,' |
| 9607 | ${c2} `-, `-,${c1}/ \${c2},-' ,-' |
| 9608 | ${c2} `------${c1}( )${c2}------' |
| 9609 | ${c2} ,----------${c1}( )${c2}----------, |
| 9610 | ${c2} | _,-${c1}( )${c2}-,_ | |
| 9611 | ${c2} `-,__,-' ${c1}\ /${c2} `-,__,-' |
| 9612 | ${c1} | | |
| 9613 | | | |
| 9614 | | | |
| 9615 | | | |
| 9616 | | | |
| 9617 | | | |
| 9618 | `|' |
| 9619 | EOF |
| 9620 | ;; |
| 9621 | |
| 9622 | "Drauger"*) |
| 9623 | set_colors 1 7 |
| 9624 | read -rd '' ascii_data <<'EOF' |
| 9625 | ${c1} -``- |
| 9626 | `:+``+:` |
| 9627 | `/++``++/. |
| 9628 | .++/. ./++. |
| 9629 | :++/` `/++: |
| 9630 | `/++: :++/` |
| 9631 | ./+/- -/+/. |
| 9632 | -++/. ./++- |
| 9633 | :++:` `:++: |
| 9634 | `/++- -++/` |
| 9635 | ./++. ./+/. |
| 9636 | -++/` `/++- |
| 9637 | :++:` `:++: |
| 9638 | `/++- -++/` |
| 9639 | .:-.`..............................`.-:. |
| 9640 | `.-/++++++++++++++++++++++++++++++++/-.` |
| 9641 | EOF |
| 9642 | ;; |
| 9643 | |
| 9644 | "elementary_small"*) |
| 9645 | set_colors 4 7 1 |
| 9646 | read -rd '' ascii_data <<'EOF' |
| 9647 | ${c2} _______ |
| 9648 | / ____ \\ |
| 9649 | / | / /\\ |
| 9650 | |__\\ / / | |
| 9651 | \\ /__/ / |
| 9652 | \\_______/ |
| 9653 | EOF |
| 9654 | ;; |
| 9655 | |
| 9656 | "Elementary"*) |
| 9657 | set_colors 4 7 1 |
| 9658 | read -rd '' ascii_data <<'EOF' |
| 9659 | ${c2} eeeeeeeeeeeeeeeee |
| 9660 | eeeeeeeeeeeeeeeeeeeeeee |
| 9661 | eeeee eeeeeeeeeeee eeeee |
| 9662 | eeee eeeee eee eeee |
| 9663 | eeee eeee eee eeee |
| 9664 | eee eee eee eee |
| 9665 | eee eee eee eee |
| 9666 | ee eee eeee eeee |
| 9667 | ee eee eeeee eeeeee |
| 9668 | ee eee eeeee eeeee ee |
| 9669 | eee eeee eeeeee eeeee eee |
| 9670 | eee eeeeeeeeee eeeeee eee |
| 9671 | eeeeeeeeeeeeeeeeeeeeeeee eeeee |
| 9672 | eeeeeeee eeeeeeeeeeee eeee |
| 9673 | eeeee eeeee |
| 9674 | eeeeeee eeeeeee |
| 9675 | eeeeeeeeeeeeeeeee |
| 9676 | EOF |
| 9677 | ;; |
| 9678 | |
| 9679 | "Elive"*) |
| 9680 | set_colors 7 6 6 |
| 9681 | read -rd '' ascii_data <<'EOF' |
| 9682 | ${c1} |
| 9683 | *@${c2},,&(%%%..%*. |
| 9684 | ${c1}(@${c2}&%/##############((/${c1}*, |
| 9685 | ${c2}@${c1}@&${c2}#########${c1}*..../${c2}########%${c1}*.. |
| 9686 | ${c2}@${c1}&${c2}#%%%%%. ${c3},.${c1},${c2}%%%%%%. |
| 9687 | /%${c2}(%%%%. ${c1}(${c2}%%%%#. |
| 9688 | /${c1}*${c2}%%##,. .,%%###, |
| 9689 | ,####. ,${c1}*${c2}#%${c1}#${c3}/,(/ ${c2}/${c1}#${c2}###, |
| 9690 | ((###/ ,,##########${c1}(${c3}/(# ${c2}%####, |
| 9691 | %#(((${c1}. .${c1}./${c2}((((((((((((((${c1}(${c2}#/${c3}*.. ${c3}*.${c2}(((${c1}/ |
| 9692 | ${c2}%#///${c1}. ${c3}***${c2}.*///////////// |
| 9693 | ${c3}#${c2}#////* ${c3}***${c2}.*/////. |
| 9694 | ${c3}(${c2}(***** ${c3}*** |
| 9695 | ${c2},*****.. |
| 9696 | ..${c1}*${c2}*****.. *${c1}%${c2}/****. |
| 9697 | .,,*******,${c3},,../##(${c2}%&${c1}&${c2}#******${c1},${c2}. |
| 9698 | ,*${c1},${c2},,,,,,,,,,,,,,,,,,,${c1},${c2}.. |
| 9699 | *//${c1}/,,${c2},,,,,,,${c1},..${c2} |
| 9700 | EOF |
| 9701 | ;; |
| 9702 | |
| 9703 | "endeavouros_small"*) |
| 9704 | set_colors 1 5 4 |
| 9705 | read -rd '' ascii_data <<'EOF' |
| 9706 | ${c1} /${c2}o${c3}. |
| 9707 | ${c1} :${c2}sssso${c3}- |
| 9708 | ${c1} :${c2}ossssssso${c3}: |
| 9709 | ${c1} /${c2}ssssssssssso${c3}+ |
| 9710 | ${c1} -+${c2}ssssssssssssssso${c3}+ |
| 9711 | ${c1} //${c2}osssssssssssssso${c3}+- |
| 9712 | `+++++++++++++++-` |
| 9713 | EOF |
| 9714 | ;; |
| 9715 | |
| 9716 | "EndeavourOS"*) |
| 9717 | set_colors 1 5 4 |
| 9718 | read -rd '' ascii_data <<'EOF' |
| 9719 | ${c1} ./${c2}o${c3}. |
| 9720 | ${c1} ./${c2}sssso${c3}- |
| 9721 | ${c1} `:${c2}osssssss+${c3}- |
| 9722 | ${c1} `:+${c2}sssssssssso${c3}/. |
| 9723 | ${c1} `-/o${c2}ssssssssssssso${c3}/. |
| 9724 | ${c1} `-/+${c2}sssssssssssssssso${c3}+:` |
| 9725 | ${c1} `-:/+${c2}sssssssssssssssssso${c3}+/. |
| 9726 | ${c1} `.://o${c2}sssssssssssssssssssso${c3}++- |
| 9727 | ${c1} .://+${c2}ssssssssssssssssssssssso${c3}++: |
| 9728 | ${c1} .:///o${c2}ssssssssssssssssssssssssso${c3}++: |
| 9729 | ${c1} `:////${c2}ssssssssssssssssssssssssssso${c3}+++. |
| 9730 | ${c1}`-////+${c2}ssssssssssssssssssssssssssso${c3}++++- |
| 9731 | ${c1} `..-+${c2}oosssssssssssssssssssssssso${c3}+++++/` |
| 9732 | ./++++++++++++++++++++++++++++++/:. |
| 9733 | `:::::::::::::::::::::::::------`` |
| 9734 | EOF |
| 9735 | ;; |
| 9736 | |
| 9737 | "EncryptOS"*) |
| 9738 | set_colors 2 5 6 |
| 9739 | read -rd '' ascii_data <<'EOF' |
| 9740 | ${c2} ******* |
| 9741 | ${c2} *** **. |
| 9742 | ${c2} ** ** |
| 9743 | ${c2} ** ** |
| 9744 | |
| 9745 | ${c2} ***************** |
| 9746 | ${c2} ,,,,,,,,,,,,,,,,*** |
| 9747 | ${c2} ,,,,,,, ,,,,,,, |
| 9748 | ${c2} ,,,,,,, ,,,,,,, |
| 9749 | ${c2} ,,,,,,, ,,,,,,, |
| 9750 | ${c2} ,,,,,,, ,,,,,,, |
| 9751 | ${c2} ,,,,,,,,,,,,,,,,,,, |
| 9752 | ${c2} ,,,,,,,,,,,,. |
| 9753 | |
| 9754 | EOF |
| 9755 | ;; |
| 9756 | |
| 9757 | "Endless"*) |
| 9758 | set_colors 1 7 |
| 9759 | read -rd '' ascii_data <<'EOF' |
| 9760 | ${c1} `:+yhmNMMMMNmhy+:` |
| 9761 | -odMMNhso//////oshNMMdo- |
| 9762 | /dMMh+. .+hMMd/ |
| 9763 | /mMNo` `oNMm: |
| 9764 | `yMMo` `oMMy` |
| 9765 | `dMN- -NMd` |
| 9766 | hMN. .NMh |
| 9767 | /MM/ -os` /MM/ |
| 9768 | dMm `smNmmhs/- `:sNMd+ `` mMd |
| 9769 | MMy oMd--:+yMMMMMNo.:ohmMMMNy` yMM |
| 9770 | MMy -NNyyhmMNh+oNMMMMMy:. dMo yMM |
| 9771 | dMm `/++/-``/yNNh+/sdNMNddMm- mMd |
| 9772 | /MM/ `dNy: `-::- /MM/ |
| 9773 | hMN. .NMh |
| 9774 | `dMN- -NMd` |
| 9775 | `yMMo` `oMMy` |
| 9776 | /mMNo` `oNMm/ |
| 9777 | /dMMh+. .+hMMd/ |
| 9778 | -odMMNhso//////oshNMMdo- |
| 9779 | `:+yhmNMMMMNmhy+:` |
| 9780 | EOF |
| 9781 | ;; |
| 9782 | |
| 9783 | "Enso"*) |
| 9784 | set_colors 8 7 |
| 9785 | read -rd '' ascii_data <<'EOF' |
| 9786 | ${c1} |
| 9787 | .:--==--:. |
| 9788 | :=*#%%%%%%%#####*+-. |
| 9789 | .+%%%%%%%%%%%%###%%#*##*: |
| 9790 | .*%%%%%%%%%#+==-==++*####*##- |
| 9791 | =%%%%%%%#=: .-+**#***. |
| 9792 | *%%%%%%#- ++*#**. |
| 9793 | +%%%%%%+ -*+#** |
| 9794 | :%%%%%%* .*+**= |
| 9795 | *%%%%%%: --#*# |
| 9796 | %%%%%%% +++#. |
| 9797 | %%%%%%%. ++=*. |
| 9798 | *%%%%%%+ .-+*+ |
| 9799 | :%%%%%%%- -:*+: |
| 9800 | =%%%%%%%*. :.*+- |
| 9801 | +%%%%%%%%*- :*=- |
| 9802 | =%%%%%%%%%%#+=: =+=: |
| 9803 | .+%%%%%%%%%%%%%. .-==: |
| 9804 | .=#%%%%%%%%%%= ..:--:. |
| 9805 | .-+#%%%%%+ |
| 9806 | EOF |
| 9807 | ;; |
| 9808 | |
| 9809 | "EuroLinux"*) |
| 9810 | set_colors 4 7 |
| 9811 | read -rd '' ascii_data <<'EOF' |
| 9812 | ${c1} __ |
| 9813 | -wwwWWWWWWWWWwww- |
| 9814 | -WWWWWWWWWWWWWWWWWWw- |
| 9815 | \WWWWWWWWWWWWWWWWWWW- |
| 9816 | _Ww `WWWWWWWWWWWWWWWWWWWw |
| 9817 | -W${c2}E${c1}Www -WWWWWWWWW- |
| 9818 | _WW${c2}U${c1}WWWW- _WWWWWWWW |
| 9819 | _WW${c2}R${c1}WWWWWWWWWWWWWWWWWWWWWWWWWWWWWW- |
| 9820 | wWW${c2}O${c1}WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW |
| 9821 | WWW${c2}L${c1}WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWw |
| 9822 | WWW${c2}I${c1}WWWWWWWWWWWWWWWWWWWWWWWWWWWWww- |
| 9823 | wWW${c2}N${c1}WWWWw |
| 9824 | WW${c2}U${c1}WWWWWWw |
| 9825 | wW${c2}X${c1}WWWWWWWWww |
| 9826 | wWWWWWWWWWWWWWWWw |
| 9827 | wWWWWWWWWWWWWWWWw |
| 9828 | WWWWWWWWWWWWWw |
| 9829 | wWWWWWWWw |
| 9830 | EOF |
| 9831 | ;; |
| 9832 | |
| 9833 | "EvolutionOS"*) |
| 9834 | set_colors 4 7 |
| 9835 | read -rd '' ascii_data <<'EOF' |
| 9836 | ${c1}\e[1;32m dddddddddddddddddddddddd |
| 9837 | .dddd''''''''''''''''''''''dddd. |
| 9838 | dd: dddddddddddddddddddd; dd: |
| 9839 | dd: ldl:'''''''''''''''' dd: |
| 9840 | dd: ldl: dd: |
| 9841 | dd: ldl: dd: |
| 9842 | dd: ldl: dd: |
| 9843 | dd: ldl: dd: |
| 9844 | dd: ldl: ddddddd; ddddd; dd: |
| 9845 | dd: ldl: ''''''' ''''' dd: |
| 9846 | dd: ldl: dd: |
| 9847 | dd: ldl: dd: |
| 9848 | dd: ldl: dd: |
| 9849 | dd: ldl: dd: |
| 9850 | dd: ldl: ddddddddddddddd; dd: |
| 9851 | dddd:.''' ''''''''''''''' dddd: |
| 9852 | dddddddddddddddddddddddddd;;' |
| 9853 | '''''''''''''''''''''''''\e[0m |
| 9854 | EOF |
| 9855 | ;; |
| 9856 | |
| 9857 | "eweOS"*) |
| 9858 | set_colors 7 11 9 8 1 |
| 9859 | read -rd '' ascii_data <<'EOF' |
| 9860 | ${c2} #####%%% |
| 9861 | ${c2} ##%%${c3}////${c2}%%%%%${c3}/// |
| 9862 | ${c2} #%%%%${c3}////((((////${c2}% |
| 9863 | ${c1} *@@@@@@@${c3}/${c5},,,${c3}/////${c5},,,${c2}%${c1}@@@@@@@ |
| 9864 | ${c1} .@@@@@@@@@@@${c3}////////${c2}%%%${c1}@@@@@@@@@@@@ |
| 9865 | ${c1} @@@${c4}...${c1}@@@@@@${c3}////${c2}%%${c3}////${c1}@@@@@@@@@@@@@@@@ |
| 9866 | ${c1} @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 9867 | ${c1} @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 9868 | ${c1} @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 9869 | ${c1} @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 9870 | ${c1} @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 9871 | ${c1} @@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 9872 | ${c1} @@@@@@@@@@@@@@@@@@@@@@@ |
| 9873 | ${c1} @@@@@@ @@@@@@ |
| 9874 | ${c1} @@@ @@@ |
| 9875 | EOF |
| 9876 | ;; |
| 9877 | |
| 9878 | "Exherbo"*) |
| 9879 | set_colors 4 7 1 |
| 9880 | read -rd '' ascii_data <<'EOF' |
| 9881 | ${c2} , |
| 9882 | OXo. |
| 9883 | NXdX0: .cok0KXNNXXK0ko:. |
| 9884 | KX '0XdKMMK;.xMMMk, .0MMMMMXx; ... |
| 9885 | 'NO..xWkMMx kMMM cMMMMMX,NMWOxOXd. |
| 9886 | cNMk NK .oXM. OMMMMO. 0MMNo kW. |
| 9887 | lMc o: ., .oKNk; ;NMMWlxW' |
| 9888 | ;Mc .. .,,' .0M${c1}g;${c2}WMN'dWMMMMMMO |
| 9889 | XX ,WMMMMW. cM${c1}cfli${c2}WMKlo. .kMk |
| 9890 | .Mo .WM${c1}GD${c2}MW. XM${c1}WO0${c2}MMk oMl |
| 9891 | ,M: ,XMMWx::,''oOK0x; NM. |
| 9892 | 'Ml ,kNKOxxxxxkkO0XXKOd:. oMk |
| 9893 | NK .0Nxc${c3}:::::::::::::::${c2}fkKNk, .MW |
| 9894 | ,Mo .NXc${c3}::${c2}qXWXb${c3}::::::::::${c2}oo${c3}::${c2}lNK. .MW |
| 9895 | ;Wo oMd${c3}:::${c2}oNMNP${c3}::::::::${c2}oWMMMx${c3}:${c2}c0M; lMO |
| 9896 | 'NO;W0c${c3}:::::::::::::::${c2}dMMMMO${c3}::${c2}lMk .WM' |
| 9897 | xWONXdc${c3}::::::::::::::${c2}oOOo${c3}::${c2}lXN. ,WMd |
| 9898 | 'KWWNXXK0Okxxo,${c3}:::::::${c2},lkKNo xMMO |
| 9899 | :XMNxl,';:lodxkOO000Oxc. .oWMMo |
| 9900 | 'dXMMXkl;,. .,o0MMNo' |
| 9901 | ':d0XWMMMMWNNNNMMMNOl' |
| 9902 | ':okKXWNKkl' |
| 9903 | EOF |
| 9904 | ;; |
| 9905 | |
| 9906 | "fedora_small") |
| 9907 | set_colors 12 |
| 9908 | read -rd '' ascii_data <<'EOF' |
| 9909 | ${c1} ,'''''. |
| 9910 | | ,. | |
| 9911 | | | '_' |
| 9912 | ,....| |.. |
| 9913 | .' ,_;| ..' |
| 9914 | | | | | |
| 9915 | | ',_,' | |
| 9916 | '. ,' |
| 9917 | ''''' |
| 9918 | EOF |
| 9919 | ;; |
| 9920 | |
| 9921 | "Fedora_old"* | "RFRemix"*) |
| 9922 | set_colors 4 7 1 |
| 9923 | read -rd '' ascii_data <<'EOF' |
| 9924 | ${c1} /:-------------:\\ |
| 9925 | :-------------------:: |
| 9926 | :-----------${c2}/shhOHbmp${c1}---:\\ |
| 9927 | /-----------${c2}omMMMNNNMMD ${c1}---: |
| 9928 | :-----------${c2}sMMMMNMNMP${c1}. ---: |
| 9929 | :-----------${c2}:MMMdP${c1}------- ---\\ |
| 9930 | ,------------${c2}:MMMd${c1}-------- ---: |
| 9931 | :------------${c2}:MMMd${c1}------- .---: |
| 9932 | :---- ${c2}oNMMMMMMMMMNho${c1} .----: |
| 9933 | :-- .${c2}+shhhMMMmhhy++${c1} .------/ |
| 9934 | :- -------${c2}:MMMd${c1}--------------: |
| 9935 | :- --------${c2}/MMMd${c1}-------------; |
| 9936 | :- ------${c2}/hMMMy${c1}------------: |
| 9937 | :--${c2} :dMNdhhdNMMNo${c1}------------; |
| 9938 | :---${c2}:sdNMMMMNds:${c1}------------: |
| 9939 | :------${c2}:://:${c1}-------------:: |
| 9940 | :---------------------:// |
| 9941 | EOF |
| 9942 | ;; |
| 9943 | |
| 9944 | "Fedora_unicode") |
| 9945 | set_colors 12 7 |
| 9946 | read -rd '' ascii_data <<'EOF' |
| 9947 | ${c1} ▄████████████████████▄ |
| 9948 | ▄████████████████████████▄ |
| 9949 | ▄████████████████████████████▄ |
| 9950 | ▄███████████████${c2} ${c1}█████████▄ |
| 9951 | ▄████████████████${c2} ${c1}██████████▄ |
| 9952 | ████████████████${c2} ${c1}████${c2} ${c1}██████████ |
| 9953 | ████████████████${c2} ${c1}████${c2} ${c1}██████████ |
| 9954 | ████████████████${c2} ${c1}██████████████████ |
| 9955 | █████████${c2} ${c1}▀█${c2} ${c1}██████████████ |
| 9956 | ███████${c2} ${c1}█${c2} ${c1}██████████████ |
| 9957 | ██████${c2} ${c1}██████${c2} ${c1}██████████████████ |
| 9958 | ██████${c2} ${c1}███████${c2} ${c1}██████████████████ |
| 9959 | ██████${c2} ${c1}███${c2} ${c1}███████████████████ |
| 9960 | ███████${c2} ${c1}██████████████████▀ |
| 9961 | █████████${c2} ${c1}██████████████████▀ |
| 9962 | ████████████████████████████████▀ |
| 9963 | ▀█████████████████████████████▀ |
| 9964 | ▀█████████████████████████▀ |
| 9965 | EOF |
| 9966 | ;; |
| 9967 | |
| 9968 | "Fedora Silverblue" | "Silverblue"*) |
| 9969 | set_colors 4 7 12 |
| 9970 | read -rd '' ascii_data <<'EOF' |
| 9971 | ${c1} .;ooooooooooooooooooooooooooo. |
| 9972 | ${c1} ,dddddddddddddddddddddddddddddd'${c3}; |
| 9973 | ${c1} lddddddddddddddddddddddddddddd'${c3};;; |
| 9974 | ${c1}ddddd${c2},XXX.${c1}ddddd${c2},XXX.${c1}dddd'${c2},XXX.${c3};;;;; |
| 9975 | ${c1}ddddd${c2}XX${c1}x${c2}XX${c1}ddddd${c2}XX${c1}x${c2}XX${c1}ddd'${c2},XX${c3}x${c2}XX${c3};;;;; |
| 9976 | ${c1}ddddd${c2}'XXX'${c1}ddddd${c2}'XXX'${c1}dd'${c2}XXXXXX'${c3};;;;; |
| 9977 | ${c1}dddddd${c2};X;${c1}ddddddd${c2};X:${c1}d'${c2}XXX${c3};;;;;;;;;;; |
| 9978 | ${c1}dddddd${c2};X;${c1}ddddddd${c2};X:${c2}XXX${c3};;;;;;;;;;;;; |
| 9979 | ${c1}dddddd${c2};X;${c1}dddddd'${c2};XXX,,,,,,XXX.${c3};;;;; |
| 9980 | ${c1}dddddd${c2};X;${c1}dddd'${c2}XXXX${c2}XXXXXXXXX${c3}x${c2}XX${c3};;;;; |
| 9981 | ${c1}dddddd${c2};X;${c1}dd'${c2}XXX${c3};;;;;;;;;;;${c2}XXX${c3};;;;;; |
| 9982 | ${c1}dddddd${c2};X;${c1}'${c2}XXX${c3};;;;;;;;;;;;;;;;;;;;;; |
| 9983 | ${c1}dddddd${c2};XXXXX,,,,,,,,,,,,,;XXX:${c3};;;;; |
| 9984 | ${c1}dddddd${c2}:XXXXXXXXXXXXXXXXXXXX${c3}x${c2}XX${c3};;;;; |
| 9985 | ${c1}ddddd'${c3};;;;;;;;;;;;;;;;;;;${c2}'XXX'${c3};;;;' |
| 9986 | ${c1}ddd'${c3};;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 9987 | ${c1}o'${c3};;;;;;;;;;;;;;;;;;;;;;;;;;;;' |
| 9988 | EOF |
| 9989 | ;; |
| 9990 | |
| 9991 | "Fedora Kinoite"* | "Kinoite"*) |
| 9992 | set_colors 12 7 |
| 9993 | read -rd '' ascii_data <<'EOF' |
| 9994 | ${c1} ,clll:.${c2} .,::::::::::::' |
| 9995 | ${c1}:ooooooo${c2} .;:::::::::::::: |
| 9996 | ${c1}looooooo${c2} ,:::::::::::::::' |
| 9997 | ${c1}looooooo${c2} .:::::::::::::::: |
| 9998 | ${c1}looooooo${c2} ;:::::::::::::::. |
| 9999 | ${c1}looooooo${c2} .:::::::::::::::: |
| 10000 | ${c1}looooool${c2};;;;,:::::::::::::::: |
| 10001 | ${c1}looool${c2}::, .:::::::::::::: |
| 10002 | ${c1}looooc${c2}:: ;:: |
| 10003 | ${c1}looooc${c2}::;. .::; |
| 10004 | ${c1}loooool${c2}:::::::::::. |
| 10005 | ${c1}looooooo${c2}. .::::::' |
| 10006 | ${c1}looooooo${c2} .::::::,;,.. |
| 10007 | ${c1}looooooo${c2} :::;' ';:;. |
| 10008 | ${c1}looooooo${c2} ::: ::: |
| 10009 | ${c1}cooooooo${c2} .::' '::. |
| 10010 | ${c1}.ooooc ${c2} ::, ,:: |
| 10011 | '''' |
| 10012 | EOF |
| 10013 | ;; |
| 10014 | |
| 10015 | "Fedora Sericea"* | "Sericea"*) |
| 10016 | set_colors 12 7 |
| 10017 | read -rd '' ascii_data <<'EOF' |
| 10018 | ${c1} :oooo, .',' |
| 10019 | .';;;.;oooooooolooooo' |
| 10020 | coooooooooooooooooooooooolc' |
| 10021 | .':oooooooooooo${c2}ll${c1}ooooooooooooool |
| 10022 | .oooooooooooooooo${c2}ll${c1}oooooooooooo${c2}l${c1}ool |
| 10023 | ooooooooooooooooo${c2}ll${c1}ooooooooooo${c2}ll${c1}oo' |
| 10024 | oooo${c2}l${c1}oooooooooo${c2}lll${c1}ooooooooo${c2}lll${c1}oo |
| 10025 | .ooooo${c2}lll${c1}ooooo${c2}lll${c1}ooooooooo${c2}lll${c1}ool |
| 10026 | .ooooooo${c2}lll${c1}oo${c2}llll${c1}oooo${c2}lllll${c1}ooooo: |
| 10027 | 'oooooooo${c2}llllllllllll${c1}oooooooo' |
| 10028 | .c,.oo${c2}lllll${c1}oooooooo.${c2} |
| 10029 | 'll; |
| 10030 | 'll. |
| 10031 | lll |
| 10032 | lll |
| 10033 | ;ll, |
| 10034 | .l: |
| 10035 | EOF |
| 10036 | ;; |
| 10037 | |
| 10038 | "Fedora"*) |
| 10039 | set_colors 12 7 |
| 10040 | read -rd '' ascii_data <<'EOF' |
| 10041 | ${c1} .',;::::;,'. |
| 10042 | .';:cccccccccccc:;,. |
| 10043 | .;cccccccccccccccccccccc;. |
| 10044 | .:cccccccccccccccccccccccccc:. |
| 10045 | .;ccccccccccccc;${c2}.:dddl:.${c1};ccccccc;. |
| 10046 | .:ccccccccccccc;${c2}OWMKOOXMWd${c1};ccccccc:. |
| 10047 | .:ccccccccccccc;${c2}KMMc${c1};cc;${c2}xMMc${c1};ccccccc:. |
| 10048 | ,cccccccccccccc;${c2}MMM.${c1};cc;${c2};WW:${c1};cccccccc, |
| 10049 | :cccccccccccccc;${c2}MMM.${c1};cccccccccccccccc: |
| 10050 | :ccccccc;${c2}oxOOOo${c1};${c2}MMM0OOk.${c1};cccccccccccc: |
| 10051 | cccccc;${c2}0MMKxdd:${c1};${c2}MMMkddc.${c1};cccccccccccc; |
| 10052 | ccccc;${c2}XM0'${c1};cccc;${c2}MMM.${c1};cccccccccccccccc' |
| 10053 | ccccc;${c2}MMo${c1};ccccc;${c2}MMW.${c1};ccccccccccccccc; |
| 10054 | ccccc;${c2}0MNc.${c1}ccc${c2}.xMMd${c1};ccccccccccccccc; |
| 10055 | cccccc;${c2}dNMWXXXWM0:${c1};cccccccccccccc:, |
| 10056 | cccccccc;${c2}.:odl:.${c1};cccccccccccccc:,. |
| 10057 | :cccccccccccccccccccccccccccc:'. |
| 10058 | .:cccccccccccccccccccccc:;,.. |
| 10059 | '::cccccccccccccc::;,. |
| 10060 | EOF |
| 10061 | ;; |
| 10062 | |
| 10063 | "Feren"*) |
| 10064 | set_colors 4 7 1 |
| 10065 | read -rd '' ascii_data <<'EOF' |
| 10066 | ${c1} `----------` |
| 10067 | :+ooooooooo+. |
| 10068 | -o+oooooooooo+- |
| 10069 | ..`/+++++++++++/...````````````````` |
| 10070 | .++++++++++++++++++++++++++/////- |
| 10071 | ++++++++++++++++++++++++++++++++//:` |
| 10072 | -++++++++++++++++++++++++++++++/-` |
| 10073 | ++++++++++++++++++++++++++++:. |
| 10074 | -++++++++++++++++++++++++/. |
| 10075 | +++++++++++++++++++++/-` |
| 10076 | -++++++++++++++++++//-` |
| 10077 | .:+++++++++++++//////- |
| 10078 | .:++++++++//////////- |
| 10079 | `-++++++---:::://///. |
| 10080 | `.:///+++. ` |
| 10081 | `......... |
| 10082 | EOF |
| 10083 | ;; |
| 10084 | |
| 10085 | "FemboyOS"*) |
| 10086 | set_colors 4 |
| 10087 | read -rd '' ascii_data <<'EOF' |
| 10088 | ${c1}MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM |
| 10089 | MMMMWKkxkKWMMMMMMMMMMMMMMMMMMMMWKkxkKWMM |
| 10090 | MMMMXo. .;xKWMMMMMMMMMMMMMMMMMMXo. .oXMM |
| 10091 | MMWXx,..'..oXMMMMMMMMMMMMMMMMWKx, .lXMM |
| 10092 | MMNo. .cOc.,xKWMMMMMMMMMMMMWXx;.....cXMM |
| 10093 | MMXl..;kKl. .oXMMMMMMMMMMWKx;..,ok:.'o0W |
| 10094 | WKx,.cKWNk;..lXMMMMMMMMWKx;..,o0NXl. .oN |
| 10095 | No. .lXMMWKc.,dKWMMMMMMNo..;d0NWMNx,..lX |
| 10096 | Nk:,:kNMMMNk:,ckNMMMMMMNxcxXWMMMMMN0ockN |
| 10097 | MWNNNWMMMMMWNNNWMMMMMMMMWWWMMMMMMMMMWWWM |
| 10098 | MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM |
| 10099 | MMMMMMMNXKXNWMMMMMMMMMMMWNKOKWMMMMMMMMMM |
| 10100 | MMMMMMWKdccxXMMMMMMMMMMW0o'.oXMMMMMMMMMM |
| 10101 | MMMMMMMNO:.'o0NKkkkkkOXXo. .lXMMMMMMMMMM |
| 10102 | MMMMMMMMNx,..;o;. .:o,..;kNMMMMMMMMMM |
| 10103 | MMMMMMMMMNO: ... .cKWMMMMMMMMMMM |
| 10104 | MMMMMMMMMMNx,. .;dk:. .;kNMMMMMMMMMMMM |
| 10105 | MMMMMMMMMMMN0ocxXWNkl:,:xXWMMMMMMMMMMMMM |
| 10106 | MMMMMMMMMMMMMWNWMMMWWNNNWMMMMMMMMMMMMMMM |
| 10107 | MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM |
| 10108 | EOF |
| 10109 | ;; |
| 10110 | |
| 10111 | "Finnix"*) |
| 10112 | set_colors 4 7 7 |
| 10113 | read -rd '' ascii_data <<'EOF' |
| 10114 | ${c1} ,,:;;;;:,, |
| 10115 | ,;*%S########S%*;, |
| 10116 | ;?#################S?: |
| 10117 | :%######################?: |
| 10118 | +##########################; |
| 10119 | +############################; |
| 10120 | :#############.**,#############, |
| 10121 | *###########+ +###########+ |
| 10122 | ?########## ${c3}Finnix${c1} ##########* |
| 10123 | *###########, ,###########+ |
| 10124 | :#############%..%#############, |
| 10125 | *############################+ |
| 10126 | *##########################+ |
| 10127 | ;S######################%: |
| 10128 | ,+%##################%; |
| 10129 | :+?S##########S?+: |
| 10130 | ,:;++++;:, |
| 10131 | EOF |
| 10132 | ;; |
| 10133 | |
| 10134 | "Furreto"*) |
| 10135 | set_colors 211 255 225 199 |
| 10136 | read -rd '' ascii_data <<'EOF' |
| 10137 | ${c1} |
| 10138 | ${c1}.xOOko .odd, |
| 10139 | o${c3}X${c2}WWK${c3}O${c1}OOO. 'O${c3}N${c2}WW${c3}0${c1}kkk. |
| 10140 | .k0${c3}XKO${c1}OOOOOcOO${c2}NWN${c1}OOOOO. |
| 10141 | xOOOOOOOOOkkOOOOOOOOO; |
| 10142 | .O0OkkocxO000000kcdk0OO0OOkx |
| 10143 | k${c3}W${c2}MX${c1}kkkkloxkkkx; :dxxxxddc... |
| 10144 | 'kO0OOOOOkc .cl:..kk0KK0Okc |
| 10145 | ;kOOO0000xd. dO00000Oo .xkO${c3}N${c2}MM${c3}X${c1}OOOO |
| 10146 | .dddxkOOOkddc.k${c3}K${c2}NWW${c3}N${c1}000000l.ddk${c2}00${c1}00OOOO. |
| 10147 | 'dd:;ddddd;.d${c3}K${c2}MMM${c3}W${c1}K00KKK0O::ddxkO00Oko |
| 10148 | .okxkOKK0kkOO00KKOxxlodddddddl |
| 10149 | .00OOkkkkkkkkOOO00OOOO0O; .dddl |
| 10150 | 'kkkkkxxkkkkkkkOOkxdxkxxddd. |
| 10151 | cddddddddxxkkkkk${c4}xddddddddddo |
| 10152 | 'ddddddodddddddddddddddddddc |
| 10153 | .ddddddodddddddddodddddddc |
| 10154 | .odddo. |
| 10155 | |
| 10156 | .kOOkkk; |
| 10157 | lkKWNkkkxc |
| 10158 | kkxkkkkkkx. |
| 10159 | ,,..xxx. |
| 10160 | |
| 10161 | EOF |
| 10162 | ;; |
| 10163 | |
| 10164 | "freebsd_small") |
| 10165 | set_colors 1 7 3 |
| 10166 | read -rd '' ascii_data <<'EOF' |
| 10167 | ${c1}/\\,-'''''-,/\\ |
| 10168 | \\_) (_/ |
| 10169 | | | |
| 10170 | | | |
| 10171 | ; ; |
| 10172 | '-_____-' |
| 10173 | EOF |
| 10174 | ;; |
| 10175 | |
| 10176 | FreeBSD*|HardenedBSD*) |
| 10177 | set_colors 1 7 3 |
| 10178 | [[ $ascii_distro == *HardenedBSD* ]] && set_colors 4 7 3 |
| 10179 | |
| 10180 | read -rd '' ascii_data <<'EOF' |
| 10181 | ${c2}``` ${c1}` |
| 10182 | ${c2}` `.....---...${c1}....--.``` -/ |
| 10183 | ${c2}+o .--` ${c1}/y:` +. |
| 10184 | ${c2} yo`:. ${c1}:o `+- |
| 10185 | ${c2}y/ ${c1}-/` -o/ |
| 10186 | ${c2}.- ${c1}::/sy+:. |
| 10187 | ${c2}/ ${c1}`-- / |
| 10188 | ${c2}`: ${c1}:` |
| 10189 | ${c2}`: ${c1}:` |
| 10190 | ${c2}/ ${c1}/ |
| 10191 | ${c2}.- ${c1}-. |
| 10192 | ${c2}-- ${c1}-. |
| 10193 | ${c2}`:` ${c1}`:` |
| 10194 | .-- `--. |
| 10195 | .---.....----. |
| 10196 | EOF |
| 10197 | ;; |
| 10198 | |
| 10199 | "FreeMiNT"*) |
| 10200 | set_colors 7 |
| 10201 | read -rd '' ascii_data <<'EOF' |
| 10202 | ${c1} ## |
| 10203 | ## ######### |
| 10204 | #### ## |
| 10205 | #### #### ## |
| 10206 | #### #### ## ## |
| 10207 | #### #### ## ## |
| 10208 | #### #### ## ## ## |
| 10209 | #### ###### |
| 10210 | ###### ## ## #### |
| 10211 | #### ################ |
| 10212 | #### ## #### |
| 10213 | ## #### ###### |
| 10214 | ## ## #### #### |
| 10215 | ## ## ## ## ## #### |
| 10216 | #### ## ## ## |
| 10217 | EOF |
| 10218 | ;; |
| 10219 | |
| 10220 | "Frugalware"*) |
| 10221 | set_colors 4 7 1 |
| 10222 | read -rd '' ascii_data <<'EOF' |
| 10223 | ${c1} `++/::-.` |
| 10224 | /o+++++++++/::-.` |
| 10225 | `o+++++++++++++++o++/::-.` |
| 10226 | /+++++++++++++++++++++++oo++/:-.`` |
| 10227 | .o+ooooooooooooooooooosssssssso++oo++/:-` |
| 10228 | ++osoooooooooooosssssssssssssyyo+++++++o: |
| 10229 | -o+ssoooooooooooosssssssssssssyyo+++++++s` |
| 10230 | o++ssoooooo++++++++++++++sssyyyyo++++++o: |
| 10231 | :o++ssoooooo${c2}/-------------${c1}+syyyyyo+++++oo |
| 10232 | `o+++ssoooooo${c2}/-----${c1}+++++ooosyyyyyyo++++os: |
| 10233 | /o+++ssoooooo${c2}/-----${c1}ooooooosyyyyyyyo+oooss |
| 10234 | .o++++ssooooos${c2}/------------${c1}syyyyyyhsosssy- |
| 10235 | ++++++ssooooss${c2}/-----${c1}+++++ooyyhhhhhdssssso |
| 10236 | -s+++++syssssss${c2}/-----${c1}yyhhhhhhhhhhhddssssy. |
| 10237 | sooooooyhyyyyyh${c2}/-----${c1}hhhhhhhhhhhddddyssy+ |
| 10238 | :yooooooyhyyyhhhyyyyyyhhhhhhhhhhdddddyssy` |
| 10239 | yoooooooyhyyhhhhhhhhhhhhhhhhhhhddddddysy/ |
| 10240 | -ysooooooydhhhhhhhhhhhddddddddddddddddssy |
| 10241 | .-:/+osssyyyysyyyyyyyyyyyyyyyyyyyyyyssy: |
| 10242 | ``.-/+oosysssssssssssssssssssssss |
| 10243 | ``.:/+osyysssssssssssssh. |
| 10244 | `-:/+osyyssssyo |
| 10245 | .-:+++` |
| 10246 | EOF |
| 10247 | ;; |
| 10248 | |
| 10249 | "Funtoo"*) |
| 10250 | set_colors 5 7 |
| 10251 | read -rd '' ascii_data <<'EOF' |
| 10252 | ${c1} .dKXXd . |
| 10253 | :XXl;:. .OXo |
| 10254 | .'OXO'' .''''''''''''''''''''':XNd..'oco.lco, |
| 10255 | xXXXXXX, cXXXNNNXXXXNNXXXXXXXXNNNNKOOK; d0O .k |
| 10256 | kXX xXo KNNN0 KNN. 'xXNo :c; 'cc. |
| 10257 | kXX xNo KNNN0 KNN. :xxxx. 'NNo |
| 10258 | kXX xNo loooc KNN. oNNNN. 'NNo |
| 10259 | kXX xN0:. KNN' oNNNX' ,XNk |
| 10260 | kXX xNNXNNNNNNNNXNNNNNNNNXNNOxXNX0Xl |
| 10261 | ... ......................... .;cc;. |
| 10262 | EOF |
| 10263 | ;; |
| 10264 | |
| 10265 | "GalliumOS"*) |
| 10266 | set_colors 4 7 1 |
| 10267 | read -rd '' ascii_data <<'EOF' |
| 10268 | ${c1}sooooooooooooooooooooooooooooooooooooo+: |
| 10269 | yyooooooooooooooooooooooooooooooooo+/::: |
| 10270 | yyysoooooooooooooooooooooooooooo+/:::::: |
| 10271 | yyyyyoooooooooooooooooooooooo+/::::::::: |
| 10272 | yyyyyysoooooooooooooooooo++/:::::::::::: |
| 10273 | yyyyyyysoooooooooooooo++/::::::::::::::: |
| 10274 | yyyyyyyyysoooooo${c2}sydddys${c1}+/::::::::::::::: |
| 10275 | yyyyyyyyyysooo${c2}smMMMMMMMNd${c1}+:::::::::::::: |
| 10276 | yyyyyyyyyyyyo${c2}sMMMMMMMMMMMN${c1}/::::::::::::: |
| 10277 | yyyyyyyyyyyyy${c2}dMMMMMMMMMMMM${c1}o//::::::::::: |
| 10278 | yyyyyyyyyyyyy${c2}hMMMMMMMMMMMm${c1}--//:::::::::: |
| 10279 | yyyyyyyyyyyyyy${c2}hmMMMMMMMNy${c1}:..-://:::::::: |
| 10280 | yyyyyyyyyyyyyyy${c2}yyhhyys+:${c1}......://::::::: |
| 10281 | yyyyyyyyyyyyyyys+:--...........-///::::: |
| 10282 | yyyyyyyyyyyys+:--................://:::: |
| 10283 | yyyyyyyyyo+:-.....................-//::: |
| 10284 | yyyyyyo+:-..........................://: |
| 10285 | yyyo+:-..............................-// |
| 10286 | o/:-...................................: |
| 10287 | EOF |
| 10288 | ;; |
| 10289 | |
| 10290 | "garuda_small") |
| 10291 | set_colors 7 7 3 7 2 4 |
| 10292 | read -rd '' ascii_data <<'EOF' |
| 10293 | ${c3} .----. |
| 10294 | .' ${c6},${c3} '. |
| 10295 | ${c4} .' ${c6}'${c3}-----| |
| 10296 | '${c5}. -----, |
| 10297 | '.____.' |
| 10298 | EOF |
| 10299 | ;; |
| 10300 | |
| 10301 | "Garuda"*) |
| 10302 | set_colors 7 7 3 7 2 4 |
| 10303 | read -rd '' ascii_data <<'EOF' |
| 10304 | |
| 10305 | ${c3} |
| 10306 | .%;888:8898898: |
| 10307 | x;XxXB%89b8:b8%b88: |
| 10308 | .8Xxd 8X:. |
| 10309 | .8Xx; 8x:. |
| 10310 | .tt8x ${c6}.d${c3} x88; |
| 10311 | .@8x8; ${c6}.db:${c3} xx@; |
| 10312 | ${c4},tSXX° .bbbbbbbbbbbbbbbbbbbB8x@; |
| 10313 | .SXxx bBBBBBBBBBBBBBBBBBBBbSBX8; |
| 10314 | ,888S pd! |
| 10315 | 8X88/ q |
| 10316 | GBB. |
| 10317 | ${c5}x%88 d888@8@X@X@X88X@@XX@@X@8@X. |
| 10318 | dxXd dB8b8b8B8B08bB88b998888b88x. |
| 10319 | dxx8o .@@;. |
| 10320 | dx88 .t@x. |
| 10321 | d:SS@8ba89aa67a853Sxxad. |
| 10322 | .d988999889889899dd. |
| 10323 | |
| 10324 | EOF |
| 10325 | ;; |
| 10326 | |
| 10327 | "gentoo_small") |
| 10328 | set_colors 5 7 |
| 10329 | read -rd '' ascii_data <<'EOF' |
| 10330 | ${c1} _-----_ |
| 10331 | ( \\ |
| 10332 | \ 0 \\ |
| 10333 | ${c2} \ ) |
| 10334 | / _/ |
| 10335 | ( _- |
| 10336 | \____- |
| 10337 | EOF |
| 10338 | ;; |
| 10339 | |
| 10340 | "Gentoo"*) |
| 10341 | set_colors 5 7 |
| 10342 | read -rd '' ascii_data <<'EOF' |
| 10343 | ${c1} -/oyddmdhs+:. |
| 10344 | -o${c2}dNMMMMMMMMNNmhy+${c1}-` |
| 10345 | -y${c2}NMMMMMMMMMMMNNNmmdhy${c1}+- |
| 10346 | `o${c2}mMMMMMMMMMMMMNmdmmmmddhhy${c1}/` |
| 10347 | om${c2}MMMMMMMMMMMN${c1}hhyyyo${c2}hmdddhhhd${c1}o` |
| 10348 | .y${c2}dMMMMMMMMMMd${c1}hs++so/s${c2}mdddhhhhdm${c1}+` |
| 10349 | oy${c2}hdmNMMMMMMMN${c1}dyooy${c2}dmddddhhhhyhN${c1}d. |
| 10350 | :o${c2}yhhdNNMMMMMMMNNNmmdddhhhhhyym${c1}Mh |
| 10351 | .:${c2}+sydNMMMMMNNNmmmdddhhhhhhmM${c1}my |
| 10352 | /m${c2}MMMMMMNNNmmmdddhhhhhmMNh${c1}s: |
| 10353 | `o${c2}NMMMMMMMNNNmmmddddhhdmMNhs${c1}+` |
| 10354 | `s${c2}NMMMMMMMMNNNmmmdddddmNMmhs${c1}/. |
| 10355 | /N${c2}MMMMMMMMNNNNmmmdddmNMNdso${c1}:` |
| 10356 | +M${c2}MMMMMMNNNNNmmmmdmNMNdso${c1}/- |
| 10357 | yM${c2}MNNNNNNNmmmmmNNMmhs+/${c1}-` |
| 10358 | /h${c2}MMNNNNNNNNMNdhs++/${c1}-` |
| 10359 | `/${c2}ohdmmddhys+++/:${c1}.` |
| 10360 | `-//////:--. |
| 10361 | EOF |
| 10362 | ;; |
| 10363 | |
| 10364 | "Pentoo"*) |
| 10365 | set_colors 5 7 |
| 10366 | read -rd '' ascii_data <<'EOF' |
| 10367 | ${c2} `:oydNNMMMMNNdyo:` |
| 10368 | :yNMMMMMMMMMMMMMMMMNy: |
| 10369 | :dMMMMMMMMMMMMMMMMMMMMMMd: |
| 10370 | oMMMMMMMho/-....-/ohMMMMMMMo |
| 10371 | oMMMMMMy. .yMMMMMMo |
| 10372 | .MMMMMMo oMMMMMM. |
| 10373 | +MMMMMm mMMMMM+ |
| 10374 | oMMMMMh hMMMMMo |
| 10375 | //hMMMMMm//${c1}`${c2} ${c1}`${c2}////mMMMMMh// |
| 10376 | MMMMMMMMMMM${c1}/${c2} ${c1}/o/`${c2} ${c1}.${c2}smMMMMMMMMMMM |
| 10377 | MMMMMMMMMMm ${c1}`NMN:${c2} ${c1}.${c2}yMMMMMMMMMM |
| 10378 | MMMMMMMMMMMh${c1}:.${c2} dMMMMMMMMM |
| 10379 | MMMMMMMMMMMMMy${c1}.${c2} ${c1}-${c2}NMMMMMMMMM |
| 10380 | MMMMMMMMMMMd:${c1}`${c2} ${c1}-${c2}yNMMMMMMMMMM |
| 10381 | MMMMMMMMMMh${c1}`${c2} ${c1}./${c2}hNMMMMMMMMMMMM |
| 10382 | MMMMMMMMMM${c1}s${c2} ${c1}.:${c2}ymMMMMMMMMMMMMMMM |
| 10383 | MMMMMMMMMMN${c1}s:..-/${c2}ohNMMMMMMMMMMMMMMMMMM |
| 10384 | MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM |
| 10385 | MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM |
| 10386 | MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM |
| 10387 | |
| 10388 | EOF |
| 10389 | ;; |
| 10390 | |
| 10391 | "glaucus"*) |
| 10392 | set_colors 5 |
| 10393 | read -rd '' ascii_data <<'EOF' |
| 10394 | ${c1} ,, ,d88P |
| 10395 | ,d8P ,ad8888* |
| 10396 | ,888P d88888* ,,ad8888P* |
| 10397 | d d888P a88888P* ,ad8888888* |
| 10398 | .d8 d8888: d888888* ,d888888P* |
| 10399 | .888; 88888b d8888888b8888888P |
| 10400 | d8888J888888a88888888888888P* ,d |
| 10401 | 88888888888888888888888888P ,,d8* |
| 10402 | 888888888888888888888888888888888* |
| 10403 | *8888888888888888888888888888888* |
| 10404 | Y888888888P* `*``*888888888888* |
| 10405 | *^888^* *Y888P** |
| 10406 | EOF |
| 10407 | ;; |
| 10408 | |
| 10409 | "gNewSense"*) |
| 10410 | set_colors 4 5 7 6 |
| 10411 | read -rd '' ascii_data <<'EOF' |
| 10412 | ${c1} ..,,,,.. |
| 10413 | .oocchhhhhhhhhhccoo. |
| 10414 | .ochhlllllllc hhhhhh ollllllhhco. |
| 10415 | ochlllllllllll hhhllllllhhh lllllllllllhco |
| 10416 | .cllllllllllllll hlllllo +hllh llllllllllllllc. |
| 10417 | ollllllllllhco'' hlllllo +hllh ``ochllllllllllo |
| 10418 | hllllllllc' hllllllllllllh `cllllllllh |
| 10419 | ollllllh +llllllllllll+ hllllllo |
| 10420 | `cllllh. ohllllllho .hllllc' |
| 10421 | ochllc. ++++ .cllhco |
| 10422 | `+occooo+. .+ooocco+' |
| 10423 | `+oo++++ ++++oo+' |
| 10424 | EOF |
| 10425 | ;; |
| 10426 | |
| 10427 | "GNOME"*) |
| 10428 | set_colors 4 |
| 10429 | read -rd '' ascii_data <<'EOF' |
| 10430 | ${c1} ,@@@@@@@@, |
| 10431 | @@@@@@ @@@@@@@@@@@@ |
| 10432 | ,@@. @@@@@@@ *@@@@@@@@@@@@ |
| 10433 | @@@@@% @@@@@@( @@@@@@@@@@@& |
| 10434 | @@@@@@ @@@@* @@@@@@@@@# |
| 10435 | @@@@* @@@@, *@@@@@% |
| 10436 | @@@@@. |
| 10437 | @@@@# @@@@@@@@@@@@@@@@ |
| 10438 | ,@@@@@@@@@@@@@@@@@@@@@@@, |
| 10439 | ,@@@@@@@@@@@@@@@@@@@@@@@@@@& |
| 10440 | .@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 10441 | @@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 10442 | @@@@@@@@@@@@@@@@@@@@@@@@( |
| 10443 | @@@@@@@@@@@@@@@@@@@@% |
| 10444 | @@@@@@@@@@@@@@@@ |
| 10445 | @@@@@@@@@@@@* @@@@@@@@/ |
| 10446 | &@@@@@@@@@@ @@@@@@@@@* |
| 10447 | @@@@@@@@@@@, @@@@@@@@@* |
| 10448 | ,@@@@@@@@@@@@@@@@@@@@& |
| 10449 | &@@@@@@@@@@@@@@ |
| 10450 | ... |
| 10451 | EOF |
| 10452 | ;; |
| 10453 | |
| 10454 | "GNU") |
| 10455 | set_colors fg 7 |
| 10456 | read -rd '' ascii_data <<'EOF' |
| 10457 | ${c1} _-`````-, ,- '- . |
| 10458 | .' .- - | | - -. `. |
| 10459 | /.' / `. \ |
| 10460 | :/ : _... ..._ `` : |
| 10461 | :: : /._ .`:'_.._\. || : |
| 10462 | :: `._ ./ ,` : \ . _.'' . |
| 10463 | `:. / | -. \-. \\_ / |
| 10464 | \:._ _/ .' .@) \@) ` `\ ,.' |
| 10465 | _/,--' .- .\,-.`--`. |
| 10466 | ,'/'' (( \ ` ) |
| 10467 | /'/' \ `-' ( |
| 10468 | '/'' `._,-----' |
| 10469 | ''/' .,---' |
| 10470 | ''/' ;: |
| 10471 | ''/'' ''/ |
| 10472 | ''/''/'' |
| 10473 | '/'/' |
| 10474 | `; |
| 10475 | EOF |
| 10476 | ;; |
| 10477 | |
| 10478 | "GoboLinux"*) |
| 10479 | set_colors 5 4 6 2 |
| 10480 | read -rd '' ascii_data <<'EOF' |
| 10481 | ${c1} _____ _ |
| 10482 | / ____| | | |
| 10483 | | | __ ___ | |__ ___ |
| 10484 | | | |_ |/ _ \| '_ \ / _ \ |
| 10485 | | |__| | (_) | |_) | (_) | |
| 10486 | \_____|\___/|_.__/ \___/ |
| 10487 | EOF |
| 10488 | ;; |
| 10489 | |
| 10490 | "GrapheneOS"*) |
| 10491 | set_colors 7 4 |
| 10492 | read -rd '' ascii_data <<'EOF' |
| 10493 | ${c1} B? |
| 10494 | G~ |
| 10495 | G~& |
| 10496 | G!^:^?# |
| 10497 | &^.:::.J |
| 10498 | &PG& #G5JJ7~^~?JY5B& #PG |
| 10499 | B5JJPGJ77YG5JYP# && &B5JYPGJ7?YG5JYP# |
| 10500 | &Y..::.:P& &?..::.:G |
| 10501 | #!::::? B~::::J |
| 10502 | B~J# B!?# |
| 10503 | !P 75 |
| 10504 | !P 75 |
| 10505 | !5 7Y |
| 10506 | &Y~:^!P &J~:^!P |
| 10507 | P..::.:B Y..::.:# |
| 10508 | #PYJJ~^^!JJYP# &B5YJ?~^^!JJYG# |
| 10509 | &YYG# && #PYJ5G5??JGGYJ5G& && #PYP |
| 10510 | B^.::..7& |
| 10511 | J::::^G |
| 10512 | #Y^G& |
| 10513 | B~ |
| 10514 | G! |
| 10515 | # |
| 10516 | EOF |
| 10517 | ;; |
| 10518 | |
| 10519 | "Grombyang"*) |
| 10520 | set_colors 4 2 1 |
| 10521 | read -rd '' ascii_data <<'EOF' |
| 10522 | ${c1} eeeeeeeeeeee |
| 10523 | eeeeeeeeeeeeeeeee |
| 10524 | eeeeeeeeeeeeeeeeeeeeeee |
| 10525 | eeeee ${c2}.o+ ${c1}eeee |
| 10526 | eeee ${c2}`ooo/ ${c1}eeee |
| 10527 | eeee ${c2}`+oooo: ${c1}eeee |
| 10528 | eee ${c2}`+oooooo: ${c1}eee |
| 10529 | eee ${c2}-+oooooo+: ${c1}eee |
| 10530 | ee ${c2}`/:oooooooo+: ${c1}ee |
| 10531 | ee ${c2}`/+ +++ +: ${c1}ee |
| 10532 | ee ${c2}+o+\ ${c1}ee |
| 10533 | eee ${c2}+o+\ ${c1}eee |
| 10534 | eee ${c2}// \\ooo/ \\\ ${c1}eee |
| 10535 | eee ${c2}//++++oooo++++\\\ ${c1}eee |
| 10536 | eeee ${c2}::::++oooo+::::: ${c1}eeee |
| 10537 | eeeee ${c3}Grombyang OS ${c1} eeee |
| 10538 | eeeeeeeeeeeeeeeeeeeeeee |
| 10539 | eeeeeeeeeeeeeeeee |
| 10540 | EOF |
| 10541 | ;; |
| 10542 | |
| 10543 | "guix_small"*) |
| 10544 | set_colors 3 7 6 1 8 |
| 10545 | read -rd '' ascii_data <<'EOF' |
| 10546 | ${c1}|.__ __.| |
| 10547 | |__ \\ / __| |
| 10548 | \\ \\ / / |
| 10549 | \\ \\ / / |
| 10550 | \\ \\ / / |
| 10551 | \\ \\/ / |
| 10552 | \\__/ |
| 10553 | EOF |
| 10554 | ;; |
| 10555 | |
| 10556 | "Guix"*) |
| 10557 | set_colors 3 7 6 1 8 |
| 10558 | read -rd '' ascii_data <<'EOF' |
| 10559 | ${c1} .. `. |
| 10560 | `--..```..` `..```..--` |
| 10561 | .-:///-:::. `-:::///:-. |
| 10562 | ````.:::` `:::.```` |
| 10563 | -//:` -::- |
| 10564 | ://: -::- |
| 10565 | `///- .:::` |
| 10566 | -+++-:::. |
| 10567 | :+/:::- |
| 10568 | `-....` |
| 10569 | EOF |
| 10570 | ;; |
| 10571 | |
| 10572 | "haiku_small"*) |
| 10573 | set_colors 2 8 |
| 10574 | read -rd '' ascii_data <<'EOF' |
| 10575 | ${c1} ,^, |
| 10576 | / \\ |
| 10577 | *--_ ; ; _--* |
| 10578 | \\ '" "' / |
| 10579 | '. .' |
| 10580 | .-'" "'-. |
| 10581 | '-.__. .__.-' |
| 10582 | |_| |
| 10583 | EOF |
| 10584 | ;; |
| 10585 | |
| 10586 | "Haiku"*) |
| 10587 | set_colors 1 3 7 2 |
| 10588 | read -rd '' ascii_data <<'EOF' |
| 10589 | ${c3} |
| 10590 | |
| 10591 | MMMM MMMM |
| 10592 | MMMM MMMM |
| 10593 | MMMM MMMM |
| 10594 | MMMM MMMM |
| 10595 | MMMM${c4} .ciO| /YMMMMM*" |
| 10596 | ${c3} MMMM${c4} .cOMMMMM|/MMMMM/` |
| 10597 | , ,iMM|/MMMMMMMMMMMMMMM* |
| 10598 | `*.__,-cMMMMMMMMMMMMMMMMM/`${c3}.MMM |
| 10599 | MM${c4}MMMMMMM/`:MMM/ ${c3}MMMM |
| 10600 | MMMM MMMM |
| 10601 | MMMM MMMM |
| 10602 | """" """" |
| 10603 | EOF |
| 10604 | ;; |
| 10605 | |
| 10606 | "HamoniKR"*) |
| 10607 | set_colors 4 7 99 1 3 7 |
| 10608 | read -rd '' ascii_data <<'EOF' |
| 10609 | ${c1} |
| 10610 | cO0Ox. |
| 10611 | .ldddddddo. |
| 10612 | .lddddddddddo |
| 10613 | 'lddddddddddddc |
| 10614 | ,oddddddddddddd; |
| 10615 | 'ldddddddddddddo. |
| 10616 | .oddddddddddddddc. |
| 10617 | ,dddddddddddddddo. |
| 10618 | ,ccoooooooocoddooo: |
| 10619 | ,cooooooooooooooooop ${c3} c000x. |
| 10620 | ${c1}.cooooooooooooooopcllll${c3} .cddddddo. |
| 10621 | ${c1}coooooooooooooop' .qlll.${c3} .ddoooooooo; |
| 10622 | ${c1}cooooooooooc; ${c3}'qlllp. .ddoooooooooo; |
| 10623 | ${c1}.cooooooc; ${c3}'lllbc...coooooooooooo; |
| 10624 | ${c1} .cooc' ${c3}.llllcoooooooooooooo. |
| 10625 | .coooooooooooooop: |
| 10626 | .coooooooooooooop' |
| 10627 | .cooooooooooooop. |
| 10628 | .cooooooooooooop. |
| 10629 | .coooooooooooop. |
| 10630 | .cooooooooooop. |
| 10631 | .cooooooooop. |
| 10632 | .cooooop' |
| 10633 | EOF |
| 10634 | ;; |
| 10635 | |
| 10636 | "Huayra"*) |
| 10637 | set_colors 4 7 |
| 10638 | read -rd '' ascii_data <<'EOF' |
| 10639 | ${c2} ` |
| 10640 | . . ` |
| 10641 | `` - . . |
| 10642 | `.` -` `. - `` .` |
| 10643 | ..`-`-` + - / .` ``` |
| 10644 | .--.+--`+:- :/.` .-``.` |
| 10645 | -+/so::h:.d-`./:`.` |
| 10646 | :hNhyMomy:os-...-. ```` |
| 10647 | .dhsshNmNhoo+:-``.``` |
| 10648 | ${c1}`ohy:-${c2}NMds+::-.`` |
| 10649 | ````${c1}.hNN+`${c2}mMNho/:-....```` |
| 10650 | ````` `../dmNhoo+/:..`` |
| 10651 | ```` .dh++o/:....` |
| 10652 | .+s/` `/s-.-.:.`` ```` |
| 10653 | ::` `::`..` |
| 10654 | .` `.. |
| 10655 | `` |
| 10656 | EOF |
| 10657 | ;; |
| 10658 | |
| 10659 | "HydroOS"*) |
| 10660 | set_colors 1 2 3 4 5 |
| 10661 | read -rd '' ascii_data <<'EOF' |
| 10662 | ${c1} |
| 10663 | _ _ _ ____ _____ |
| 10664 | | | | | | | / __ \ / ____| |
| 10665 | | |__| |_ _ __| |_ __ ___ | | | | (___ |
| 10666 | | __ | | | |/ _` | '__/ _ \| | | |\___ \ |
| 10667 | | | | | |_| | (_| | | | (_) | |__| |____) | |
| 10668 | |_| |_|\__, |\__,_|_| \___/ \____/|_____/ |
| 10669 | __/ | |
| 10670 | |___/ |
| 10671 | EOF |
| 10672 | ;; |
| 10673 | |
| 10674 | "hyperbola_small"*) |
| 10675 | set_colors 8 |
| 10676 | read -rd '' ascii_data <<'EOF' |
| 10677 | ${c1} |`__.`/ |
| 10678 | \____/ |
| 10679 | .--. |
| 10680 | / \\ |
| 10681 | / ___ \\ |
| 10682 | / .` `.\\ |
| 10683 | /.` `.\\ |
| 10684 | EOF |
| 10685 | ;; |
| 10686 | |
| 10687 | "Hyperbola"*) |
| 10688 | set_colors 8 |
| 10689 | read -rd '' ascii_data <<'EOF' |
| 10690 | ${c1} WW |
| 10691 | KX W |
| 10692 | WO0W NX0O |
| 10693 | NOO0NW WNXK0OOKW |
| 10694 | W0OOOOOOOOOOOOKN |
| 10695 | N0OOOOOOO0KXW |
| 10696 | WNXXXNW |
| 10697 | NXK00000KN |
| 10698 | WNK0OOOOOOOOOO0W |
| 10699 | NK0OOOOOOOOOOOOOO0W |
| 10700 | X0OOOOOOO00KK00OOOOOK |
| 10701 | X0OOOO0KNWW WX0OO0W |
| 10702 | X0OO0XNW KOOW |
| 10703 | N00KNW KOW |
| 10704 | NKXN W0W |
| 10705 | WW W |
| 10706 | EOF |
| 10707 | ;; |
| 10708 | |
| 10709 | "Hybrid"*) |
| 10710 | set_colors 4 12 |
| 10711 | read -rd '' ascii_data <<'EOF' |
| 10712 | ${c1} / ${c2}# |
| 10713 | ${c1}////& ${c2}##### |
| 10714 | ${c1}///// ${c2}###### |
| 10715 | ${c1}///// ////////// ${c2}###### |
| 10716 | ${c1}///// //////////////////// ${c2}###### |
| 10717 | ${c1}////////////////////////// ${c2}###### |
| 10718 | ${c1}///////// /// ${c2}###### |
| 10719 | ${c1}/////// / ${c2}###### |
| 10720 | ${c1}////// ${c2}###### |
| 10721 | ${c1}///// ${c2}###### |
| 10722 | ${c1}///// ${c2}###### |
| 10723 | ${c1}///// ${c2}###### |
| 10724 | ${c1}///// ${c2}###### |
| 10725 | ${c1}///// ${c2}###### |
| 10726 | ${c1}///// ${c2}######### |
| 10727 | ${c1}////& ${c2}######## |
| 10728 | EOF |
| 10729 | ;; |
| 10730 | |
| 10731 | "iglunix"*|"iglu"*) |
| 10732 | set_colors 8 |
| 10733 | read -rd '' ascii_data <<'EOF' |
| 10734 | ${c1} | |
| 10735 | | | |
| 10736 | | |
| 10737 | | ________ |
| 10738 | | /\ | \ |
| 10739 | / \ | \ | |
| 10740 | / \ \ | |
| 10741 | / \________\ |
| 10742 | \ / / |
| 10743 | \ / / |
| 10744 | \ / / |
| 10745 | \/________/ |
| 10746 | EOF |
| 10747 | ;; |
| 10748 | |
| 10749 | "Interix"*) |
| 10750 | set_colors 1 7 4 0 3 |
| 10751 | read -rd '' ascii_data <<'EOF' |
| 10752 | ${c1} .${c3}. |
| 10753 | ${c1} 75${c3}G! |
| 10754 | ${c1} ^?PG${c3}&&J. |
| 10755 | ${c1} :!5GPP${c3}&&&B! |
| 10756 | ${c1} :YPPPPP${c3}&&&&&Y: |
| 10757 | ${c1} !5PPPPPP${c3}&&&&&&B! |
| 10758 | ${c1} :?PPPPPPPP${c3}&&&&&&&&Y~ |
| 10759 | ${c1} !5PPPPPPPPP${c3}###&&&&&&B7 |
| 10760 | ${c1} :?PPPP5555555${c3}B####&&&&&&5: |
| 10761 | ${c1} ~5PPPP555YJ${c5}7!~7?${c3}5B###&&&&&B?. |
| 10762 | ${c1} .:JPPPP5555Y${c5}?^....:^?${c3}G####&&&&&5: |
| 10763 | ${c1} 75PPP555555Y${c5}7:....:^!${c3}5#####&&&&&B7. |
| 10764 | ${c1} :JPPPP${c2}555555YY?${c5}~::::^~${c2}7YPGBB###${c3}&&&&&5^ |
| 10765 | ${c1}75${c2}GGPPPPPP555555YJ?77??YYYYYY55PPGGB#${c3}&B? |
| 10766 | ${c2}~!!7JY5PGGBBBBBBBBGGGGGGGBGGGGGP5YJ?7~~~ |
| 10767 | .::^~7?JYPGBB#BGPYJ?7!7^:. |
| 10768 | ..:^... |
| 10769 | EOF |
| 10770 | ;; |
| 10771 | |
| 10772 | "Ironclad"*) |
| 10773 | set_colors 5 7 0 |
| 10774 | read -rd '' ascii_data <<'EOF' |
| 10775 | ${c3} |
| 10776 | &#BGPPPPPG#& |
| 10777 | B5?77!!?YJJ7!7YBB& |
| 10778 | &G5YJ77!7JYYYYYBPJ&PY# |
| 10779 | #PYYYYYY?!?YYYYY7?7JP5JJ |
| 10780 | B?YYYYYY7!!7JYYYYJ!!?JJJ5 |
| 10781 | && B7?J?77?7!!!!!77777!7Y5YYBBPGGG& |
| 10782 | G77?YBB!!!!!!!!!!!!!JYJ??7JYJJY# PYPPG& |
| 10783 | J777JB?!7JJ???!!!7?JYYYYYPJ!7JB |
| 10784 | GYYG #JJJJJ??7!!!JYYY5PGB&GB& |
| 10785 | #Y!?GB5YYJY5PG###& |
| 10786 | GJJP |
| 10787 | EOF |
| 10788 | |
| 10789 | ;; |
| 10790 | "januslinux"*|"janus"*|"Ataraxia Linux"*|"Ataraxia"*) |
| 10791 | set_colors 4 5 6 2 |
| 10792 | read -rd '' ascii_data <<'EOF' |
| 10793 | ${c1} 'l: |
| 10794 | loooooo |
| 10795 | loooo coooool |
| 10796 | looooooooooooooooooool |
| 10797 | looooooooooooooooo |
| 10798 | lool cooo |
| 10799 | coooooooloooooooo |
| 10800 | clooooo ;lood cloooo |
| 10801 | :loooocooo cloo loooo |
| 10802 | loooo :ooooool loooo |
| 10803 | looo cooooo cooooo |
| 10804 | looooooooooooo ;loooooo ${c2}looooooc |
| 10805 | ${c1}looooooooo loo cloooooool ${c2}looooc |
| 10806 | ${c1} cooo cooooooooooo ${c2}looolooooool |
| 10807 | ${c1} cooo: ${c2}coooooooooooooooooool |
| 10808 | loooooooooooolc: loooc; |
| 10809 | cooo: loooooooooooc |
| 10810 | ;oool looooooo: |
| 10811 | coool olc, |
| 10812 | looooc ,, |
| 10813 | coooooc loc |
| 10814 | :oooool, coool:, looool:, |
| 10815 | looool: ooooooooooooooo: |
| 10816 | cooolc .ooooooooooool |
| 10817 | EOF |
| 10818 | ;; |
| 10819 | |
| 10820 | "Kaisen"*) |
| 10821 | set_colors 1 7 3 |
| 10822 | read -rd '' ascii_data <<'EOF' |
| 10823 | ${c1} ` |
| 10824 | `:+oyyho. |
| 10825 | `+:`sdddddd/ |
| 10826 | `+` :ho oyo++ohds-` |
| 10827 | .ho :dd. .: `sddddddhhyso+/- |
| 10828 | ody.ddd-:yd- +hysssyhddddddddho` |
| 10829 | yddddddhddd` ` `--` -+hddddddh. |
| 10830 | hddy-+dddddy+ohh/..+sddddy/:::+ys |
| 10831 | :ddd/sdddddddddd- oddddddd ` |
| 10832 | `yddddddddddddddd/ /ddddddd/ |
| 10833 | :. :ydddddddddddddddddo..sddddddy/` |
| 10834 | odhdddddddo- `ddddh+-``....-+hdddddds. |
| 10835 | -ddddddhd: /dddo -ydddddddhdddddddd- |
| 10836 | /hdy:o - `:sddds .`./hdddddddddddddo |
| 10837 | `/- `+hddyosy+ :dddddddy-.-od/ |
| 10838 | :sydds -hddddddd` / |
| 10839 | .+shd- `:ohddddddddd` |
| 10840 | `:+ooooooooooooo: |
| 10841 | EOF |
| 10842 | ;; |
| 10843 | |
| 10844 | "kali_small" | "kalilinux_small" | "kali_linux_small") |
| 10845 | set_colors 4 8 |
| 10846 | read -rd '' ascii_data <<'EOF' |
| 10847 | ${c1} -#. # |
| 10848 | @### |
| 10849 | -###### |
| 10850 | @######### |
| 10851 | =##. .##### |
| 10852 | ## ## ## |
| 10853 | ## ## # |
| 10854 | ## @### |
| 10855 | ##. ### |
| 10856 | ##% ##- |
| 10857 | -##% -* |
| 10858 | :*##+ |
| 10859 | :*#* |
| 10860 | -# |
| 10861 | @ |
| 10862 | : |
| 10863 | EOF |
| 10864 | ;; |
| 10865 | |
| 10866 | "Kali"*) |
| 10867 | set_colors 4 8 |
| 10868 | read -rd '' ascii_data <<'EOF' |
| 10869 | ${c1}.............. |
| 10870 | ..,;:ccc,. |
| 10871 | ......''';lxO. |
| 10872 | .....''''..........,:ld; |
| 10873 | .';;;:::;,,.x, |
| 10874 | ..'''. 0Xxoc:,. ... |
| 10875 | .... ,ONkc;,;cokOdc',. |
| 10876 | . OMo ':${c2}dd${c1}o. |
| 10877 | dMc :OO; |
| 10878 | 0M. .:o. |
| 10879 | ;Wd |
| 10880 | ;XO, |
| 10881 | ,d0Odlc;,.. |
| 10882 | ..',;:cdOOd::,. |
| 10883 | .:d;.':;. |
| 10884 | 'd, .' |
| 10885 | ;l .. |
| 10886 | .o |
| 10887 | c |
| 10888 | .' |
| 10889 | . |
| 10890 | EOF |
| 10891 | ;; |
| 10892 | |
| 10893 | "KaOS"*) |
| 10894 | set_colors 4 7 1 |
| 10895 | read -rd '' ascii_data <<'EOF' |
| 10896 | ${c1} .. |
| 10897 | ..... ..OSSAAAAAAA.. |
| 10898 | .KKKKSS. .SSAAAAAAAAAAA. |
| 10899 | .KKKKKSO. .SAAAAAAAAAA... |
| 10900 | KKKKKKS. .OAAAAAAAA. |
| 10901 | KKKKKKS. .OAAAAAA. |
| 10902 | KKKKKKS. .SSAA.. |
| 10903 | .KKKKKS..OAAAAAAAAAAAA........ |
| 10904 | DKKKKO.=AA=========A===AASSSO.. |
| 10905 | AKKKS.==========AASSSSAAAAAASS. |
| 10906 | .=KKO..========ASS.....SSSSASSSS. |
| 10907 | .KK. .ASS..O.. =SSSSAOSS: |
| 10908 | .OK. .ASSSSSSSO...=A.SSA. |
| 10909 | .K ..SSSASSSS.. ..SSA. |
| 10910 | .SSS.AAKAKSSKA. |
| 10911 | .SSS....S.. |
| 10912 | EOF |
| 10913 | ;; |
| 10914 | |
| 10915 | "KDE"*) |
| 10916 | set_colors 2 7 |
| 10917 | read -rd '' ascii_data <<'EOF' |
| 10918 | ${c1} `..---+/---..` |
| 10919 | `---.`` `` `.---.` |
| 10920 | .--.` `` `-:-. |
| 10921 | `:/: `.----//----.` :/- |
| 10922 | .:. `---` `--.` .:` |
| 10923 | .:` `--` .:- `:. |
| 10924 | `/ `:. `.-::-.` -:` `/` |
| 10925 | /. /. `:++++++++:` .: .: |
| 10926 | `/ .: `+++++++++++/ /` `+` |
| 10927 | /+` -- .++++++++++++` :. .+: |
| 10928 | `/ .: `+++++++++++/ /` `+` |
| 10929 | /` /. `:++++++++:` .: .: |
| 10930 | ./ `:. `.:::-.` -:` `/` |
| 10931 | .:` `--` .:- `:. |
| 10932 | .:. `---` `--.` .:` |
| 10933 | `:/: `.----//----.` :/- |
| 10934 | .-:.` `` `-:-. |
| 10935 | `---.`` `` `.---.` |
| 10936 | `..---+/---..` |
| 10937 | EOF |
| 10938 | ;; |
| 10939 | |
| 10940 | "Kibojoe"*) |
| 10941 | set_colors 2 7 4 |
| 10942 | read -rd '' ascii_data <<'EOF' |
| 10943 | ${c3} ./+oooooo+/. |
| 10944 | -/+ooooo+/:.` |
| 10945 | ${c1}`${c3}yyyo${c2}+++/++${c3}osss${c1}. |
| 10946 | ${c1}+NMN${c3}yssssssssssss${c1}. |
| 10947 | ${c1}.dMMMMN${c3}sssssssssssy${c1}Ns` |
| 10948 | +MMMMMMMm${c3}sssssssssssh${c1}MNo` |
| 10949 | `hMMMMMNNNMd${c3}sssssssssssd${c1}MMN/ |
| 10950 | .${c3}syyyssssssy${c1}NNmmmmd${c3}sssss${c1}hMMMMd: |
| 10951 | -NMmh${c3}yssssssssyhhhhyssyh${c1}mMMMMMMMy` |
| 10952 | -NMMMMMNN${c3}mdhyyyyyyyhdm${c1}NMMMMMMMMMMMN+ |
| 10953 | `NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMd. |
| 10954 | ods+/:-----://+oyydmNMMMMMMMMMMMMMMMMMN- |
| 10955 | ` .-:+osyhhdmmNNNmdo |
| 10956 | EOF |
| 10957 | ;; |
| 10958 | |
| 10959 | "Kogaion"*) |
| 10960 | set_colors 4 7 1 |
| 10961 | read -rd '' ascii_data <<'EOF' |
| 10962 | ${c1} ;; ,; |
| 10963 | ;;; ,;; |
| 10964 | ,;;;; ;;;; |
| 10965 | ,;;;;;;;; ;;;; |
| 10966 | ;;;;;;;;;;; ;;;;; |
| 10967 | ,;;;;;;;;;;;; ';;;;;, |
| 10968 | ;;;;;;;;;;;;;;, ';;;;;;; |
| 10969 | ;;;;;;;;;;;;;;;;;, ';;;;; |
| 10970 | ; ';;;;;;;;;;;;;;;;;;, ;;; |
| 10971 | ;;;, ';;;;;;;;;;;;;;;;;;;,;; |
| 10972 | ;;;;;, ';;;;;;;;;;;;;;;;;;, |
| 10973 | ;;;;;;;;, ';;;;;;;;;;;;;;;;, |
| 10974 | ;;;;;;;;;;;;, ';;;;;;;;;;;;;; |
| 10975 | ';;;;;;;;;;;;; ';;;;;;;;;;;;; |
| 10976 | ';;;;;;;;;;;;;, ';;;;;;;;;;; |
| 10977 | ';;;;;;;;;;;;; ;;;;;;;;;; |
| 10978 | ';;;;;;;;;;;; ;;;;;;;; |
| 10979 | ';;;;;;;; ;;;;;; |
| 10980 | ';;;;; ;;;; |
| 10981 | ';;; ;; |
| 10982 | EOF |
| 10983 | ;; |
| 10984 | |
| 10985 | "Korora"*) |
| 10986 | set_colors 4 7 1 |
| 10987 | read -rd '' ascii_data <<'EOF' |
| 10988 | ${c2} ____________ |
| 10989 | _add55555555554${c1}: |
| 10990 | _w?'${c1}``````````'${c2})k${c1}: |
| 10991 | _Z'${c1}`${c2} ]k${c1}: |
| 10992 | m(${c1}`${c2} )k${c1}: |
| 10993 | _.ss${c1}`${c2}m[${c1}`${c2}, ]e${c1}: |
| 10994 | .uY"^`${c1}`${c2}Xc${c1}`${c2}?Ss. d(${c1}` |
| 10995 | jF'${c1}`${c2} `@. ${c1}`${c2}Sc .jr${c1}` |
| 10996 | jr${c1}`${c2} `?n_ ${c1}`${c2}$; _a2"${c1}` |
| 10997 | .m${c1}:${c2} `~M${c1}`${c2}1k${c1}`${c2}5?!`${c1}` |
| 10998 | :#${c1}:${c2} ${c1}`${c2})e${c1}``` |
| 10999 | :m${c1}:${c2} ,#'${c1}` |
| 11000 | :#${c1}:${c2} .s2'${c1}` |
| 11001 | :m,________.aa7^${c1}` |
| 11002 | :#baaaaaaas!J'${c1}` |
| 11003 | ``````````` |
| 11004 | EOF |
| 11005 | ;; |
| 11006 | |
| 11007 | "KSLinux"*) |
| 11008 | set_colors 4 7 1 |
| 11009 | read -rd '' ascii_data <<'EOF' |
| 11010 | ${c1} K K U U RRRR ooo |
| 11011 | K K U U R R o o |
| 11012 | KKK U U RRRR o o |
| 11013 | K K U U R R o o |
| 11014 | K K UUU R R ooo |
| 11015 | |
| 11016 | ${c2} SSS AAA W W AAA |
| 11017 | S A A W W A A |
| 11018 | SSS AAAAA W W W AAAAA |
| 11019 | S A A WW WW A A |
| 11020 | SSS A A W W A A |
| 11021 | EOF |
| 11022 | ;; |
| 11023 | |
| 11024 | "Kubuntu"*) |
| 11025 | set_colors 4 7 1 |
| 11026 | read -rd '' ascii_data <<'EOF' |
| 11027 | ${c1} `.:/ossyyyysso/:. |
| 11028 | .:oyyyyyyyyyyyyyyyyyyo:` |
| 11029 | -oyyyyyyyo${c2}dMMy${c1}yyyyyyysyyyyo- |
| 11030 | -syyyyyyyyyy${c2}dMMy${c1}oyyyy${c2}dmMMy${c1}yyyys- |
| 11031 | oyyys${c2}dMy${c1}syyyy${c2}dMMMMMMMMMMMMMy${c1}yyyyyyo |
| 11032 | `oyyyy${c2}dMMMMy${c1}syysoooooo${c2}dMMMMy${c1}yyyyyyyyo` |
| 11033 | oyyyyyy${c2}dMMMMy${c1}yyyyyyyyyyys${c2}dMMy${c1}sssssyyyo |
| 11034 | -yyyyyyyy${c2}dMy${c1}syyyyyyyyyyyyyys${c2}dMMMMMy${c1}syyy- |
| 11035 | oyyyysoo${c2}dMy${c1}yyyyyyyyyyyyyyyyyy${c2}dMMMMy${c1}syyyo |
| 11036 | yyys${c2}dMMMMMy${c1}yyyyyyyyyyyyyyyyyysosyyyyyyyy |
| 11037 | yyys${c2}dMMMMMy${c1}yyyyyyyyyyyyyyyyyyyyyyyyyyyyy |
| 11038 | oyyyyysos${c2}dy${c1}yyyyyyyyyyyyyyyyyy${c2}dMMMMy${c1}syyyo |
| 11039 | -yyyyyyyy${c2}dMy${c1}syyyyyyyyyyyyyys${c2}dMMMMMy${c1}syyy- |
| 11040 | oyyyyyy${c2}dMMMy${c1}syyyyyyyyyyys${c2}dMMy${c1}oyyyoyyyo |
| 11041 | `oyyyy${c2}dMMMy${c1}syyyoooooo${c2}dMMMMy${c1}oyyyyyyyyo |
| 11042 | oyyysyyoyyyys${c2}dMMMMMMMMMMMy${c1}yyyyyyyo |
| 11043 | -syyyyyyyyy${c2}dMMMy${c1}syyy${c2}dMMMy${c1}syyyys- |
| 11044 | -oyyyyyyy${c2}dMMy${c1}yyyyyysosyyyyo- |
| 11045 | ./oyyyyyyyyyyyyyyyyyyo/. |
| 11046 | `.:/oosyyyysso/:.` |
| 11047 | EOF |
| 11048 | ;; |
| 11049 | |
| 11050 | "LainOS"*) |
| 11051 | set_colors 4 14 7 2 3 5 |
| 11052 | read -rd '' ascii_data <<'EOF' |
| 11053 | ${c2} /==\\ |
| 11054 | \\==/ |
| 11055 | ${c1} · · · · · · · |
| 11056 | · · · · · · · · · · |
| 11057 | · · · ${c2}.-======-.${c1}· · · · |
| 11058 | ${c2} .::.${c1} ·${c2}.-============-.${c1}· ${c2}.::. |
| 11059 | .:==:${c1}· ${c2}.:===:'${c1}. ·· .${c2}':===:.${c1} ·${c2}:==:. |
| 11060 | .:===:${c1} · ${c2}:===.${c1} · ${c3}.--.${c1} · ${c2}.===:${c1} · ${c2}:===:. |
| 11061 | :===:${c1}· · ${c2}:===.${c1} · ${c3}.:====:.${c1} · ${c2}.===:${c1} · ·${c2}:===: |
| 11062 | (===:${c1}· · ${c2}:===-${c1} · ${c3}:======:${c1} · ${c2}-===:${c1} · ·${c2}:===) |
| 11063 | :===:${c1}· · ${c2}:===.${c1} · ${c3}':====:'${c1} · ${c2}.===:${c1} · ·${c2}:===: |
| 11064 | ':===:${c1} · ${c2}:===.${c1} · ${c3}'--'${c1} · ${c2}.===:${c1} · ${c2}:===:' |
| 11065 | ':==:${c1}· ${c2}':===:.${c1}' ·· '${c2}.:===:'${c1} ·${c2}:==:' |
| 11066 | '::'${c1} · ${c2}'===-. .-==='${c1} · ${c2}'::' |
| 11067 | ${c2}/==\\${c1} · · · ${c2}:=== ===:${c1} · · · ${c2}/==\\ |
| 11068 | \\==/${c1} · · ·${c2}:===${c1} ·${c2}===:${c1}· · · ${c2}\\==/${c2} |
| 11069 | .-. ${c1}· ${c2}:===${c1}· ${c2}===:${c1} ·${c2} ${c2}.-. |
| 11070 | .===. .=== ===. .===. |
| 11071 | .======== ========. |
| 11072 | ''''' ''''' |
| 11073 | EOF |
| 11074 | ;; |
| 11075 | |
| 11076 | "LEDE"*) |
| 11077 | set_colors 4 7 1 |
| 11078 | read -rd '' ascii_data <<'EOF' |
| 11079 | ${c1} _________ |
| 11080 | / /\ |
| 11081 | / LE / \ |
| 11082 | / DE / \ |
| 11083 | /________/ LE \ |
| 11084 | \ \ DE / |
| 11085 | \ LE \ / |
| 11086 | \ DE \ / |
| 11087 | \________\/ |
| 11088 | EOF |
| 11089 | ;; |
| 11090 | |
| 11091 | "LangitKetujuh_old") |
| 11092 | set_colors 7 4 |
| 11093 | read -rd '' ascii_data <<'EOF' |
| 11094 | ${c1} |
| 11095 | L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L |
| 11096 | 'L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L |
| 11097 | L7L. 'L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L |
| 11098 | L7L7L7L L7L7L7L |
| 11099 | L7L7L7L L7L7L7L |
| 11100 | L7L7L7L L7L7L7L7L7L7L7L7L7L7L7L |
| 11101 | L7L7L7L 'L7L7L7L7L7L7L7L7L7L |
| 11102 | L7L7L7L 'L7L7L7L7L7L7L7L |
| 11103 | L7L7L7L L7L7L7L |
| 11104 | L7L7L7L L7L7L7L |
| 11105 | L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L. 'L7L |
| 11106 | L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L. |
| 11107 | L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L7L |
| 11108 | ${c2} |
| 11109 | EOF |
| 11110 | ;; |
| 11111 | |
| 11112 | "LangitKetujuh"*) |
| 11113 | set_colors 4 2 |
| 11114 | read -rd '' ascii_data <<'EOF' |
| 11115 | ${c1} |
| 11116 | . 'MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMML7 |
| 11117 | MM. 'MMMMMMMMMMMMMMMMMMMMMMMMMMML7L7 |
| 11118 | MMMMMM MMMMMMML7L7L7L7L7L7L7L7L7L7 |
| 11119 | L7MMMM L7L7L7 |
| 11120 | L7L7MM 'L7L7L7L7L7L7L7L7L7L: |
| 11121 | L7L7L7 'L7L7L7L7L7L7L::: |
| 11122 | L7L7L7 'L7L7L7:::::: |
| 11123 | :7L7L7 :::::: |
| 11124 | ::L7L7L7L7L7L7L7L7L7L::::::. :::::: |
| 11125 | :::::7L7L7L7L7L7:::::::::::::::. ':: |
| 11126 | :::::::::::::::::::::::::::::::::::. ' |
| 11127 | ${c2} |
| 11128 | |
| 11129 | EOF |
| 11130 | ;; |
| 11131 | |
| 11132 | "LaxerOS"*) |
| 11133 | set_colors 7 4 |
| 11134 | read -rd '' ascii_data <<'EOF' |
| 11135 | ${c2} |
| 11136 | /. |
| 11137 | `://:- |
| 11138 | `//////: |
| 11139 | .////////:` |
| 11140 | -//////////:` |
| 11141 | -/////////////` |
| 11142 | :///////////////. |
| 11143 | `://////.```-//////- |
| 11144 | `://///:` .//////- |
| 11145 | `//////: `//////: |
| 11146 | .//////- `://///:` |
| 11147 | -//////- `://///:` |
| 11148 | -//////. ://////` |
| 11149 | ://////` -//////. |
| 11150 | `/////:` ./////: |
| 11151 | .-::-` .:::-` |
| 11152 | |
| 11153 | .:://////////////////////////////////::. |
| 11154 | //////////////////////////////////////// |
| 11155 | .:////////////////////////////////////:. |
| 11156 | |
| 11157 | EOF |
| 11158 | ;; |
| 11159 | |
| 11160 | "LibreELEC"*) |
| 11161 | set_colors 2 3 7 14 13 |
| 11162 | read -rd '' ascii_data <<'EOF' |
| 11163 | ${c1} :+ooo/. ${c2}./ooo+: |
| 11164 | ${c1} :+ooooooo/. ${c2}./ooooooo+: |
| 11165 | ${c1} :+ooooooooooo:${c2}:ooooooooooo+: |
| 11166 | ${c1} :+ooooooooooo+- ${c2}-+ooooooooooo+: |
| 11167 | ${c1} :+ooooooooooo+- ${c3}-- ${c2}-+ooooooooooo+: |
| 11168 | ${c1}.+ooooooooooo+- ${c3}:+oo+: ${c2}-+ooooooooooo+- |
| 11169 | ${c1}-+ooooooooo+- ${c3}:+oooooo+: ${c2}-+oooooooooo- |
| 11170 | ${c1} :+ooooo+- ${c3}:+oooooooooo+: ${c2}-+oooooo: |
| 11171 | ${c1} :+o+- ${c3}:+oooooooooooooo+: ${c2}-+oo: |
| 11172 | ${c4} ./ ${c3}:oooooooooooooooooo: ${c5}/. |
| 11173 | ${c4} ./oo+: ${c3}-+oooooooooooooo+- ${c5}:+oo/. |
| 11174 | ${c4} ./oooooo+: ${c3}-+oooooooooo+- ${c5}:+oooooo/. |
| 11175 | ${c4}-oooooooooo+: ${c3}-+oooooo+- ${c5}:+oooooooooo- |
| 11176 | ${c4}.+ooooooooooo+: ${c3}-+oo+- ${c5}:+ooooooooooo+. |
| 11177 | ${c4} -+ooooooooooo+: ${c3}.. ${c5}:+ooooooooooo+- |
| 11178 | ${c4} -+ooooooooooo+: ${c5}:+ooooooooooo+- |
| 11179 | ${c4} -+oooooooooo+:${c5}:+oooooooooo+- |
| 11180 | ${c4} -+oooooo+: ${c5}:+oooooo+- |
| 11181 | ${c4} -+oo+: ${c5}:+oo+- |
| 11182 | ${c4} .. ${c5}.. |
| 11183 | EOF |
| 11184 | ;; |
| 11185 | |
| 11186 | "Linux") |
| 11187 | set_colors fg 8 3 |
| 11188 | read -rd '' ascii_data <<'EOF' |
| 11189 | ${c2} ##### |
| 11190 | ${c2} ####### |
| 11191 | ${c2} ##${c1}O${c2}#${c1}O${c2}## |
| 11192 | ${c2} #${c3}#####${c2}# |
| 11193 | ${c2} ##${c1}##${c3}###${c1}##${c2}## |
| 11194 | ${c2} #${c1}##########${c2}## |
| 11195 | ${c2} #${c1}############${c2}## |
| 11196 | ${c2} #${c1}############${c2}### |
| 11197 | ${c3} ##${c2}#${c1}###########${c2}##${c3}# |
| 11198 | ${c3}######${c2}#${c1}#######${c2}#${c3}###### |
| 11199 | ${c3}#######${c2}#${c1}#####${c2}#${c3}####### |
| 11200 | ${c3} #####${c2}#######${c3}##### |
| 11201 | EOF |
| 11202 | ;; |
| 11203 | |
| 11204 | "LinuxFromScratch" | *"LFS" | "linux-from-scratch" | "linux_from_scratch") |
| 11205 | set_colors fg 8 3 |
| 11206 | read -rd '' ascii_data <<'EOF' |
| 11207 | ${c2} .:@:. |
| 11208 | ${c2} :@@@@@@@: |
| 11209 | ${c2} @@@@@@@@@- |
| 11210 | ${c2} .:%. @@@@@@@@@+. @% |
| 11211 | ${c2} *@@@%+: :@@@@@@@%=: .=%@@@@@@= |
| 11212 | ${c2} :@@@@@@##@@@@@@@@@%*+%@%+@@@@@@@+ |
| 11213 | ${c2} @@#${c1}####${c2}+@@@@@@@%:${c1}######${c2}=@@@@@@@@@- |
| 11214 | ${c2} *@%${c1}######${c2}.@@@@@#${c1}#########${c2}-@@@@@@@@#. |
| 11215 | ${c2} %@-${c1}#${c2}.@${c1}=${c2}:${c1}##${c2}+@@@@-${c1}###${c2}%@${c1}:${c2}=${c1}###${c2}*@#*+=-+#: |
| 11216 | ${c2} @@.${c1}#${c2}@@*${c1}=${c2}:${c1}#${c2}-%%**-${c1}##${c2}%@@%${c1}*${c2}*${c1}###${c2}#=- |
| 11217 | ${c2} @@-${c1}#${c2}@@@@+.-${c3}...${c2}:=.${c1}#${c2}%@@@@%${c1}###${c2}#- |
| 11218 | ${c2} %@%${c1}##${c2}*#:${c3}.o.....o...${c2}-%@+${c1}###${c2}#@+ -: |
| 11219 | ${c2} +@@*${c1}#${c3}....................${c2}+@@@@@@@@+ |
| 11220 | ${c2} @%:${c3}....................._:${c2}@@@@@@@=. |
| 11221 | ${c2} .=:${c3}...............__*-=`.${c2}=@@@@@@#=. |
| 11222 | ${c2} :+:${c3}....:==*__*-=`:..==-:${c2}#@@@@@%+: |
| 11223 | ${c2} .--=-: ${c3}+..::.....-: ${c2}=%@*=: |
| 11224 | ${c2} :........- |
| 11225 | ${c2} .:...--. |
| 11226 | EOF |
| 11227 | ;; |
| 11228 | |
| 11229 | "Linux_small") |
| 11230 | set_colors fg 8 3 |
| 11231 | read -rd '' ascii_data << 'EOF' |
| 11232 | ${c2} ___ |
| 11233 | ${c2} (${c1}.. ${c2}| |
| 11234 | ${c2} (${c3}<> ${c2}| |
| 11235 | ${c2} / ${c1}__ ${c2}\\ |
| 11236 | ${c2} ( ${c1}/ \\ ${c2}/| |
| 11237 | ${c3}_${c2}/\\ ${c1}__)${c2}/${c3}_${c2}) |
| 11238 | ${c3}\/${c2}-____${c3}\/ |
| 11239 | EOF |
| 11240 | ;; |
| 11241 | |
| 11242 | "linuxlite_small"*) |
| 11243 | set_colors 3 7 |
| 11244 | read -rd '' ascii_data <<'EOF' |
| 11245 | ${c1} /\\ |
| 11246 | / \\ |
| 11247 | / ${c2}/ ${c1}/ |
| 11248 | > ${c2}/ ${c1}/ |
| 11249 | \\ ${c2}\\ ${c1}\\ |
| 11250 | \\_${c2}\\${c1}_\\ |
| 11251 | ${c2} \\ |
| 11252 | EOF |
| 11253 | ;; |
| 11254 | |
| 11255 | "Linux Lite"* | "Linux_Lite"*) |
| 11256 | set_colors 3 7 |
| 11257 | read -rd '' ascii_data <<'EOF' |
| 11258 | ${c1} ,xXc |
| 11259 | .l0MMMMMO |
| 11260 | .kNMMMMMWMMMN, |
| 11261 | KMMMMMMKMMMMMMo |
| 11262 | 'MMMMMMNKMMMMMM: |
| 11263 | kMMMMMMOMMMMMMO |
| 11264 | .MMMMMMX0MMMMMW. |
| 11265 | oMMMMMMxWMMMMM: |
| 11266 | WMMMMMNkMMMMMO |
| 11267 | :MMMMMMOXMMMMW |
| 11268 | .0MMMMMxMMMMM; |
| 11269 | :;cKMMWxMMMMO |
| 11270 | 'MMWMMXOMMMMl |
| 11271 | kMMMMKOMMMMMX: |
| 11272 | .WMMMMKOWMMM0c |
| 11273 | lMMMMMWO0MNd:' |
| 11274 | oollXMKXoxl;. |
| 11275 | ':. .: .' |
| 11276 | .. |
| 11277 | . |
| 11278 | EOF |
| 11279 | ;; |
| 11280 | |
| 11281 | "LMDE"*) |
| 11282 | set_colors 2 7 |
| 11283 | read -rd '' ascii_data <<'EOF' |
| 11284 | ${c2} `.-::---.. |
| 11285 | ${c1} .:++++ooooosssoo:. |
| 11286 | .+o++::. `.:oos+. |
| 11287 | ${c1} :oo:.` -+oo${c2}: |
| 11288 | ${c1} ${c2}`${c1}+o/` .${c2}::::::${c1}-. .++-${c2}` |
| 11289 | ${c1}${c2}`${c1}/s/ .yyyyyyyyyyo: +o-${c2}` |
| 11290 | ${c1}${c2}`${c1}so .ss ohyo` :s-${c2}: |
| 11291 | ${c1}${c2}`${c1}s/ .ss h m myy/ /s`${c2}` |
| 11292 | ${c1}`s: `oo s m Myy+-o:` |
| 11293 | `oo :+sdoohyoydyso/. |
| 11294 | :o. .:////////++: |
| 11295 | ${c1} `/++ ${c2}-:::::- |
| 11296 | ${c1} ${c2}`${c1}++- |
| 11297 | ${c1} ${c2}`${c1}/+- |
| 11298 | ${c1} ${c2}.${c1}+/. |
| 11299 | ${c1} ${c2}.${c1}:+-. |
| 11300 | `--.`` |
| 11301 | EOF |
| 11302 | ;; |
| 11303 | |
| 11304 | "Lubuntu"*) |
| 11305 | set_colors 4 7 1 |
| 11306 | read -rd '' ascii_data <<'EOF' |
| 11307 | ${c1} `.:/ossyyyysso/:. |
| 11308 | `.:yyyyyyyyyyyyyyyyyy:.` |
| 11309 | .:yyyyyyyyyyyyyyyyyyyyyyyy:. |
| 11310 | .:yyyyyyyyyyyyyyyyyyyyyyyyyyyy:. |
| 11311 | -yyyyyyyyyyyyyy${c2}+hNMMMNh+${c1}yyyyyyyyy- |
| 11312 | :yy${c2}mNy+${c1}yyyyyyyy${c2}+Nmso++smMdhyysoo+${c1}yy: |
| 11313 | -yy${c2}+MMMmmy${c1}yyyyyy${c2}hh${c1}yyyyyyyyyyyyyyyyyyy- |
| 11314 | .yyyy${c2}NMN${c1}yy${c2}shhs${c1}yyy${c2}+o${c1}yyyyyyyyyyyyyyyyyyyy. |
| 11315 | :yyyy${c2}oNM+${c1}yyyy${c2}+sso${c1}yyyyyyy${c2}ss${c1}yyyyyyyyyyyyy: |
| 11316 | :yyyyy${c2}+dNs${c1}yyyyyyy${c2}++${c1}yyyyy${c2}oN+${c1}yyyyyyyyyyyy: |
| 11317 | :yyyyy${c2}oMMmhysso${c1}yyyyyyyyyy${c2}mN+${c1}yyyyyyyyyyy: |
| 11318 | :yyyyyy${c2}hMm${c1}yyyyy${c2}+++${c1}yyyyyyy${c2}+MN${c1}yyyyyyyyyyy: |
| 11319 | .yyyyyyy${c2}ohmy+${c1}yyyyyyyyyyyyy${c2}NMh${c1}yyyyyyyyyy. |
| 11320 | -yyyyyyyyyy${c2}++${c1}yyyyyyyyyyyy${c2}MMh${c1}yyyyyyyyy- |
| 11321 | :yyyyyyyyyyyyyyyyyyyyy${c2}+mMN+${c1}yyyyyyyy: |
| 11322 | -yyyyyyyyyyyyyyyyy${c2}+sdMMd+${c1}yyyyyyyy- |
| 11323 | .:yyyyyyyyy${c2}hmdmmNMNdy+${c1}yyyyyyyy:. |
| 11324 | .:yyyyyyy${c2}my${c1}yyyyyyyyyyyyyyy:. |
| 11325 | `.:yyyy${c2}s${c1}yyyyyyyyyyyyy:.` |
| 11326 | `.:/oosyyyysso/:.` |
| 11327 | EOF |
| 11328 | ;; |
| 11329 | |
| 11330 | "Lunar"*) |
| 11331 | set_colors 4 7 3 |
| 11332 | read -rd '' ascii_data <<'EOF' |
| 11333 | ${c1}`-. `-. |
| 11334 | -ohys/-` `:+shy/` |
| 11335 | -omNNdyo/` :+shmNNy/` |
| 11336 | ${c3} - |
| 11337 | /mMmo |
| 11338 | hMMMN` |
| 11339 | .NMMs |
| 11340 | ${c1} -:+oooo+//: ${c3}/MN${c1}. -///oooo+/-` |
| 11341 | /:.` ${c3}/${c1} `.:/` |
| 11342 | ${c3} __ |
| 11343 | | | _ _ ___ ___ ___ |
| 11344 | | |__| | | | .'| _| |
| 11345 | |_____|___|_|_|__,|_| |
| 11346 | EOF |
| 11347 | ;; |
| 11348 | |
| 11349 | "MacaroniOS"* | "Macaroni OS"*) |
| 11350 | |
| 11351 | set_colors 2 3 15 14 |
| 11352 | read -rd '' ascii_data <<'EOF' |
| 11353 | ${c2} |
| 11354 | -=+++==--::.. .-+++==-:. |
| 11355 | .:--:-=++==-:. :=*+=--==+***######**+-: |
| 11356 | .---:-===-----===+++==-:.. :=+=--=+*****+++*****#%%%#- |
| 11357 | .=*********+++========+++++=--:. .:-=+++++++=-:.. .=*=::. |
| 11358 | :-=-. .:::---===+++++++++++*******++====+**+++=-:. :+*-.. |
| 11359 | .. -++ ..:--==+***********=:. -*= |
| 11360 | . :+. . ${c3}...${c2} .:--===:. .++ |
| 11361 | .*: . ${c3}:+#%%@@%%#=: ${c2}-- |
| 11362 | ${c2}-= ${c3}-#@@@@@@@@@@@@#: ${c2}. |
| 11363 | ${c3}:*%@%%@@@@@@@@@@@%+ .:--====-:. |
| 11364 | :*%%%%%%%%%@@@@@@@@@*. :=*#%%%%@@@@@%#+- |
| 11365 | .*%%%%%%%%%%%%%@@#+--=- -*%%%%%%%%%%%@@@@@%#= |
| 11366 | -#%%%%%%%%%%%%%#: :+: :+%*#%%%%%%%%%%%%%%%%%*. |
| 11367 | +%%%%%%%%%%%%%%: .#*: *+-*%%%%%%%%%%%%%%%%%+ |
| 11368 | +%%%%%%%%%%%%%# . . . :%%%%%%%%%%%%%%%%%#. |
| 11369 | =#%%%%%%%%%%%%# . . =%%%%%%%%%%%%%%%%%*. |
| 11370 | .*%%%%%%%%%%%%%* : =%%%%%%%%%%%%%%%%%#- |
| 11371 | :#%%%%%%%%%%%%%#=.... .=*%%%%%%%%%%%%%%%%%%*: |
| 11372 | :*%@@%%%%%%%%%%%%#+. :+#%%%%%%%%%%%%%#*- |
| 11373 | =*%%@@%%%%%%%#*- .-=+**##**+=: |
| 11374 | :=*######+=: |
| 11375 | EOF |
| 11376 | ;; |
| 11377 | |
| 11378 | "mac"*"_small") |
| 11379 | set_colors 2 3 1 5 4 |
| 11380 | read -rd '' ascii_data <<'EOF' |
| 11381 | ${c1} .:' |
| 11382 | _ :'_ |
| 11383 | ${c2} .'`_`-'_``. |
| 11384 | :________.-' |
| 11385 | ${c3}:_______: |
| 11386 | :_______: |
| 11387 | ${c4} :_______`-; |
| 11388 | ${c5} `._.-._.' |
| 11389 | EOF |
| 11390 | ;; |
| 11391 | |
| 11392 | "mac"* | "Darwin") |
| 11393 | set_colors 2 3 1 1 5 4 |
| 11394 | read -rd '' ascii_data <<'EOF' |
| 11395 | ${c1} c.' |
| 11396 | ,xNMM. |
| 11397 | .OMMMMo |
| 11398 | lMM" |
| 11399 | .;loddo:. .olloddol;. |
| 11400 | cKMMMMMMMMMMNWMMMMMMMMMM0: |
| 11401 | ${c2} .KMMMMMMMMMMMMMMMMMMMMMMMWd. |
| 11402 | XMMMMMMMMMMMMMMMMMMMMMMMX. |
| 11403 | ${c3};MMMMMMMMMMMMMMMMMMMMMMMM: |
| 11404 | :MMMMMMMMMMMMMMMMMMMMMMMM: |
| 11405 | ${c4}.MMMMMMMMMMMMMMMMMMMMMMMMX. |
| 11406 | kMMMMMMMMMMMMMMMMMMMMMMMMWd. |
| 11407 | ${c5}'XMMMMMMMMMMMMMMMMMMMMMMMMMMk |
| 11408 | 'XMMMMMMMMMMMMMMMMMMMMMMMMK. |
| 11409 | ${c6}kMMMMMMMMMMMMMMMMMMMMMMd |
| 11410 | ;KMMMMMMMWXXWMMMMMMMk. |
| 11411 | "cooc*" "*coo'" |
| 11412 | EOF |
| 11413 | ;; |
| 11414 | |
| 11415 | "mageia_small"*) |
| 11416 | set_colors 6 7 |
| 11417 | read -rd '' ascii_data <<'EOF' |
| 11418 | ${c1} * |
| 11419 | * |
| 11420 | ** |
| 11421 | ${c2} /\\__/\\ |
| 11422 | / \\ |
| 11423 | \\ / |
| 11424 | \\____/ |
| 11425 | EOF |
| 11426 | ;; |
| 11427 | |
| 11428 | "Mageia"*) |
| 11429 | set_colors 6 7 |
| 11430 | read -rd '' ascii_data <<'EOF' |
| 11431 | ${c1} .°°. |
| 11432 | °° .°°. |
| 11433 | .°°°. °° |
| 11434 | . . |
| 11435 | °°° .°°°. |
| 11436 | .°°°. '___' |
| 11437 | ${c2} .${c1}'___' ${c2} . |
| 11438 | :dkxc;'. ..,cxkd; |
| 11439 | .dkk. kkkkkkkkkk .kkd. |
| 11440 | .dkk. ';cloolc;. .kkd |
| 11441 | ckk. .kk; |
| 11442 | xO: cOd |
| 11443 | xO: lOd |
| 11444 | lOO. .OO: |
| 11445 | .k00. .00x |
| 11446 | .k00; ;00O. |
| 11447 | .lO0Kc;,,,,,,;c0KOc. |
| 11448 | ;d00KKKKKK00d; |
| 11449 | .,KKKK,. |
| 11450 | EOF |
| 11451 | ;; |
| 11452 | |
| 11453 | "Magix"*) |
| 11454 | set_colors 206 39 |
| 11455 | read -rd '' ascii_data <<'EOF' |
| 11456 | ${c2} @ |
| 11457 | @@--=====@@ |
| 11458 | @@--==@@ @@====+@ |
| 11459 | @-@@ @==@ |
| 11460 | @=@ |
| 11461 | @=@${c1} @=@ @-==== @=@${c2} |
| 11462 | @=@${c1} @-===@==++@===+@${c2} |
| 11463 | @=@${c1} @--====@@=====+@${c2} |
| 11464 | -=@${c1} @--==========++@${c2} |
| 11465 | ==${c1} @--==========++@${c2} @=@ |
| 11466 | @==${c1} @--=======@==++@${c2} @=+@ |
| 11467 | @==${c1} @-==========++${c2} @=@ |
| 11468 | @==${c1} @-=======@=%${c2} @=@ |
| 11469 | @==${c1} @@@@@@${c2} @=@ |
| 11470 | @====@@@ @@===+% |
| 11471 | @@=====@@==++++@@ |
| 11472 | =#@=@ |
| 11473 | @==@++@ |
| 11474 | @@@ |
| 11475 | EOF |
| 11476 | ;; |
| 11477 | "MagpieOS"*) |
| 11478 | set_colors 2 1 3 5 |
| 11479 | read -rd '' ascii_data <<'EOF' |
| 11480 | ${c1} ;00000 :000Ol |
| 11481 | .x00kk00: O0kk00k; |
| 11482 | l00: :00. o0k :O0k. |
| 11483 | .k0k. x${c2}d$dddd${c1}k' .d00; |
| 11484 | k0k. ${c2}.dddddl ${c1}o00, |
| 11485 | o00. ${c2}':cc:. ${c1}d0O |
| 11486 | .00l ,00. |
| 11487 | l00. d0x |
| 11488 | k0O .:k0o |
| 11489 | O0k ;dO0000d. |
| 11490 | k0O .O0O${c2}xxxxk${c1}00: |
| 11491 | o00. k0O${c2}dddddd${c1}occ |
| 11492 | '00l x0O${c2}dddddo${c3};..${c1} |
| 11493 | x00. .x00${c2}kxxd${c3}:..${c1} |
| 11494 | .O0x .:oxxx${c4}Okl.${c1} |
| 11495 | .x0d ${c4},xx,${c1} |
| 11496 | .:o. ${c4}.xd ckd${c1} |
| 11497 | .. ${c4}dxl .xx; |
| 11498 | :xxolldxd' |
| 11499 | ;oxdl. |
| 11500 | EOF |
| 11501 | ;; |
| 11502 | |
| 11503 | "MainsailOS_small"*) |
| 11504 | set_colors 1 |
| 11505 | read -rd '' ascii_data <<'EOF' |
| 11506 | ${c1} -: |
| 11507 | +%* |
| 11508 | .#%%+ |
| 11509 | -%%%: += |
| 11510 | +%%#..#%%- |
| 11511 | .#%%+ -%%%- += |
| 11512 | -%%%- +%%#..#%%+ |
| 11513 | EOF |
| 11514 | ;; |
| 11515 | |
| 11516 | "MainsailOS"*) |
| 11517 | set_colors 1 |
| 11518 | read -rd '' ascii_data <<'EOF' |
| 11519 | ${c1} - |
| 11520 | *%: |
| 11521 | :%%%# |
| 11522 | =%%%%%- |
| 11523 | *%%%%%%# |
| 11524 | :#%%%%%%%#. |
| 11525 | -%%%%%%%%+ |
| 11526 | *%%%%%%%%- : |
| 11527 | .#%%%%%%%#. *%= |
| 11528 | -%%%%%%%%+ :#%%%* |
| 11529 | +%%%%%%%%- =%%%%%%#. |
| 11530 | .#%%%%%%%#. *%%%%%%%%: |
| 11531 | -%%%%%%%%* :#%%%%%%%#. |
| 11532 | +%%%%%%%%- =%%%%%%%%+ :%*. |
| 11533 | .#%%%%%%%#: *%%%%%%%%- +%%%%*: |
| 11534 | :%%%%%%%%* :#%%%%%%%#. .*%%%%%%%* |
| 11535 | +%%%%%%%%= -%%%%%%%%+ :%%%%%%%%* |
| 11536 | .#%%%%%%%%: *%%%%%%%%- =%%%%%%%%= |
| 11537 | EOF |
| 11538 | ;; |
| 11539 | |
| 11540 | "Mandriva"* | "Mandrake"*) |
| 11541 | set_colors 4 3 |
| 11542 | read -rd '' ascii_data <<'EOF' |
| 11543 | ${c2} `` |
| 11544 | `-. |
| 11545 | ${c1} ` ${c2}.--- |
| 11546 | ${c1} -/ ${c2}-::--` |
| 11547 | ${c1} `++ ${c2}`----...```-:::::. |
| 11548 | ${c1} `os. ${c2}.::::::::::::::-``` ` ` |
| 11549 | ${c1} +s+ ${c2}.::::::::::::::::---...--` |
| 11550 | ${c1}-ss: ${c2}`-::::::::::::::::-.``.`` |
| 11551 | ${c1}/ss- ${c2}.::::::::::::-.`` ` |
| 11552 | ${c1}+ss: ${c2}.::::::::::::- |
| 11553 | ${c1}/sso ${c2}.::::::-::::::- |
| 11554 | ${c1}.sss/ ${c2}-:::-.` .::::: |
| 11555 | ${c1} /sss+. ${c2}..`${c1} `--` ${c2}.::: |
| 11556 | ${c1} -ossso+/:://+/-` ${c2}.:` |
| 11557 | ${c1} -/+ooo+/-. ${c2}` |
| 11558 | EOF |
| 11559 | ;; |
| 11560 | |
| 11561 | "manjaro_small"*) |
| 11562 | set_colors 2 7 |
| 11563 | read -rd '' ascii_data <<'EOF' |
| 11564 | ${c1}||||||||| |||| |
| 11565 | ||||||||| |||| |
| 11566 | |||| |||| |
| 11567 | |||| |||| |||| |
| 11568 | |||| |||| |||| |
| 11569 | |||| |||| |||| |
| 11570 | |||| |||| |||| |
| 11571 | EOF |
| 11572 | ;; |
| 11573 | |
| 11574 | "Manjaro"*) |
| 11575 | set_colors 2 7 |
| 11576 | read -rd '' ascii_data <<'EOF' |
| 11577 | ${c1}██████████████████ ████████ |
| 11578 | ██████████████████ ████████ |
| 11579 | ██████████████████ ████████ |
| 11580 | ██████████████████ ████████ |
| 11581 | ████████ ████████ |
| 11582 | ████████ ████████ ████████ |
| 11583 | ████████ ████████ ████████ |
| 11584 | ████████ ████████ ████████ |
| 11585 | ████████ ████████ ████████ |
| 11586 | ████████ ████████ ████████ |
| 11587 | ████████ ████████ ████████ |
| 11588 | ████████ ████████ ████████ |
| 11589 | ████████ ████████ ████████ |
| 11590 | ████████ ████████ ████████ |
| 11591 | EOF |
| 11592 | ;; |
| 11593 | |
| 11594 | "MassOS"*) |
| 11595 | set_colors 7 |
| 11596 | read -rd '' ascii_data <<'EOF' |
| 11597 | ${c1} -+++/+++osyyhdmNNMMMMNdy/ |
| 11598 | /MMMMMMMMMMMMMMMMMMMMMMMMm. |
| 11599 | /MMMMMMMMMMMMMMMMMMMMMMMMMm |
| 11600 | /MMMMMMMMMMMMMMMMMMMMMMMMMM: |
| 11601 | :ddddddddhddddddddhdddddddd/ |
| 11602 | /NNNNNNNm:NNNNNNNN-NNNNNNNNo |
| 11603 | /MMMMMMMN:MMMMMMMM-MMMMMMMMs |
| 11604 | /MMMMMMMN:MMMMMMMM-MMMMMMMMs |
| 11605 | /MMMMMMMN:MMMMMMMM-MMMMMMMMs |
| 11606 | /MMMMMMMN:MMMMMMMM-MMMMMMMMs |
| 11607 | /MMMMMMMN:MMMMMMMM-MMMMMMMMs |
| 11608 | /MMMMMMMN:MMMMMMMM-MMMMMMMMs |
| 11609 | /MMMMMMMN:MMMMMMMM-MMMMMMMMs |
| 11610 | /MMMMMMMN:MMMMMMMM-MMMMMMMMs |
| 11611 | :MMMMMMMN:MMMMMMMM-MMMMMMMMs |
| 11612 | dMMMMMMN:MMMMMMMM-MMMMMMMMs |
| 11613 | `yNMMMMN:MMMMMMMM-MMMMMMMMs |
| 11614 | `:+oss.ssssssss.ssssssss/ |
| 11615 | EOF |
| 11616 | ;; |
| 11617 | |
| 11618 | "TeArch"*) |
| 11619 | set_colors 39 7 1 |
| 11620 | read -rd '' ascii_data <<'EOF' |
| 11621 | ${c1} @@@@@@@@@@@@@@ |
| 11622 | @@@@@@@@@ @@@@@@ |
| 11623 | @@@@@ @@@@@ |
| 11624 | @@ @@ |
| 11625 | @% @@ |
| 11626 | @ @ |
| 11627 | @@@@@@@@@@@@@@@@@@@@@@@@ @@ |
| 11628 | .@@@@@@@@@@@@/@@@@@@@@@@@@ |
| 11629 | @@@@@@@@@@@@///@@@@@@@@@@@@ |
| 11630 | @@@@@@@@@@@@@((((@@@@@@@@@@@@ |
| 11631 | @@@@@@@@@@@#(((((((#@@@@@@@@@@@ |
| 11632 | @@@@@@@@@@@#//////////@@@@@@@@@@& |
| 11633 | @@@@@@@@@@////@@@@@////@@@@@@@@@@ |
| 11634 | @@@@@@@@//////@@@@@/////@@@@@@@@@ |
| 11635 | @@@@@@@//@@@@@@@@@@@@@@@//@@@@@@@ |
| 11636 | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 11637 | @@ .@@@@@@@@@@@@@@@@@@@@@@@@@ @ |
| 11638 | @@@@@@ @@@. @@@@@@@ |
| 11639 | @@@@@@@&@@@@@@@# #@@@@@@@@@@@@@@@@ |
| 11640 | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 11641 | @@@@@@@@@@@@@@@@@@@@@ |
| 11642 | EOF |
| 11643 | ;; |
| 11644 | |
| 11645 | "Maui"*) |
| 11646 | set_colors 6 7 |
| 11647 | read -rd '' ascii_data <<'EOF' |
| 11648 | ${c1} `.-://////:--` |
| 11649 | .:/oooooooooooooooo+:. |
| 11650 | `:+ooooooooooooooooooooooo:` |
| 11651 | `:oooooooooooooooooooooooooooo/` |
| 11652 | ..```-oooooo/-`` `:oooooo+:.` `-- |
| 11653 | :. +oo+-` /ooo/` -/ |
| 11654 | -o. `o+- +o/` -o: |
| 11655 | `oo` ::` :o/ `+. .+o` /oo. |
| 11656 | /o+ . -+oo- ` /oo/ `ooo/ |
| 11657 | +o- /ooo+` .+ooo. :ooo+ |
| 11658 | ++ .+oooo: -oooo+ `oooo+ |
| 11659 | :. .oooooo` :ooooo- :oooo: |
| 11660 | ` .oooooo: :ooooo+ `ooo+-` |
| 11661 | .+oooooo` -oooooo: `o/- |
| 11662 | +oooooo: .ooooooo. |
| 11663 | /ooooooo` /ooooooo/ .. |
| 11664 | `:oooooooo/:::/ooooooooo+:--:/:` |
| 11665 | `:+oooooooooooooooooooooo+:` |
| 11666 | .:+oooooooooooooooo+:. |
| 11667 | `.-://////:-.` |
| 11668 | EOF |
| 11669 | ;; |
| 11670 | |
| 11671 | "Mauna"*) |
| 11672 | set_colors 4 6 |
| 11673 | read -rd '' ascii_data <<'EOF' |
| 11674 | ${c1} .. :-=++++=-: |
| 11675 | .-+*+ -********* **= |
| 11676 | =***= +******+ =---=+*. |
| 11677 | +**** +****+ :-=++*++=-- |
| 11678 | =****= **** :+***********+: |
| 11679 | +****+ *** ${c2}.-- ${c1}+******- |
| 11680 | =*****: *- ${c2}:+=: ${c1}=*****: |
| 11681 | ${c2}. ${c1}+*****: : ${c2}-+++ ${c1}:****= |
| 11682 | ${c2}-+ ${c1}:*****+ ${c2}- ++++ ${c1}:***- |
| 11683 | ${c2}-++=: ${c1}=+****: ${c2}:++ +++++ ${c1}**+ |
| 11684 | ${c2} +++++= ${c1}-====-${c2}++++: +++++ ${c1}*+ |
| 11685 | ${c2} .=++++++++++++++: ${c2}+++++= ${c1}. |
| 11686 | ${c2} .=+++++++++= :=+++++= |
| 11687 | .:::--- -+++++++- |
| 11688 | :-==++==-. |
| 11689 | EOF |
| 11690 | ;; |
| 11691 | |
| 11692 | "Meowix"*) |
| 11693 | set_colors 1 3 3 4 |
| 11694 | read -rd '' ascii_data <<'EOF' |
| 11695 | ${c1} #${c2}% ${c3}&${c4}* |
| 11696 | ${c1} ##${c2}%% ${c3}&&${c4}** |
| 11697 | ${c1} ## ${c2}%% ${c3}&& ${c4}** |
| 11698 | ${c1} ## ${c2}%% ${c3}&& ${c4}** |
| 11699 | ${c1} ## ${c2}%% ${c3}&& ${c4}** |
| 11700 | ${c1} ## ${c2}%% ${c3}&& ${c4}** |
| 11701 | ${c1} ## ${c2}%%${c3}&& ${c4}** |
| 11702 | ${c1} ## ${c2}%% ${c4}** |
| 11703 | ${c1} ## ${c4}** |
| 11704 | ${c1}## ${c4}** |
| 11705 | EOF |
| 11706 | ;; |
| 11707 | |
| 11708 | "Mer"*) |
| 11709 | set_colors 4 7 1 |
| 11710 | read -rd '' ascii_data <<'EOF' |
| 11711 | ${c1} dMs |
| 11712 | .-` |
| 11713 | `y`-o+` |
| 11714 | ``NMMy |
| 11715 | .--`:++. |
| 11716 | .hNNNNs |
| 11717 | /MMMMMN |
| 11718 | `ommmd/ +/ |
| 11719 | ```` +/ |
| 11720 | `:+sssso/-` |
| 11721 | .-::. `-::-` `smNMNmdmNMNd/ .://-` |
| 11722 | .ymNMNNdmNMMNm+` -dMMh:.....+dMMs `sNNMMNo |
| 11723 | dMN+::NMMy::hMM+ mMMo `ohhy/ `dMM+ yMMy::- |
| 11724 | MMm yMM- :MMs NMN` `:::::--sMMh dMM` |
| 11725 | MMm yMM- -MMs mMM+ `ymmdsymMMMs dMM` |
| 11726 | NNd sNN- -NNs -mMNs-.--..:dMMh` dNN |
| 11727 | --- .--` `--. .smMMmdddmMNdo` .-- |
| 11728 | ./ohddds+:` |
| 11729 | +h- `.:-. |
| 11730 | ./`.dMMMN+ |
| 11731 | +MMMMMd |
| 11732 | `+dmmy- |
| 11733 | ``` .+` |
| 11734 | .dMNo-y. |
| 11735 | `hmm/ |
| 11736 | .:` |
| 11737 | dMs |
| 11738 | EOF |
| 11739 | ;; |
| 11740 | |
| 11741 | "Minix"*) |
| 11742 | set_colors 1 7 3 |
| 11743 | read -rd '' ascii_data <<'EOF' |
| 11744 | ${c2} -sdhyo+:-` -/syymm: |
| 11745 | sdyooymmNNy. `` .smNmmdysNd |
| 11746 | odyoso+syNNmysoyhhdhsoomNmm+/osdm/ |
| 11747 | :hhy+-/syNNmddhddddddmNMNo:sdNd: |
| 11748 | `smNNdNmmNmddddddddddmmmmmmmy` |
| 11749 | `ohhhhdddddmmNNdmddNmNNmdddddmdh- |
| 11750 | odNNNmdyo/:/-/hNddNy-`..-+ydNNNmd: |
| 11751 | `+mNho:` smmd/ sNNh :dmms` -+ymmo. |
| 11752 | -od/ -m${c1}mm${c2}mo -NN+ +m${c1}mm${c2}m- yms: |
| 11753 | +sms -.` :so: .NN+ :os/ .-`mNh: |
| 11754 | .-hyh+:////- -sNNd:` .--://ohNs- |
| 11755 | `:hNNNNNNNMMd/sNMmhsdMMh/ymmNNNmmNNy/ |
| 11756 | -+sNNNNMMNNNsmNMo: :NNmymNNNNMMMms: |
| 11757 | //oydNMMMMydMMNysNMMmsMMMMMNyo/` |
| 11758 | ../-yNMMy--/::/-.sMMmos+.` |
| 11759 | -+oyhNsooo+omy/``` |
| 11760 | `::ohdmds-` |
| 11761 | EOF |
| 11762 | ;; |
| 11763 | |
| 11764 | "MIRACLE LINUX"* | "MIRACLE_LINUX"*) |
| 11765 | set_colors 29 |
| 11766 | read -rd '' ascii_data <<'EOF' |
| 11767 | ${c1} ,A |
| 11768 | .### |
| 11769 | .#' .#### .#. |
| 11770 | r##: :#### ####. |
| 11771 | +###; :#### ######C |
| 11772 | :####: #### ,######".#. |
| 11773 | .# :####. :### #####'.#####. |
| 11774 | ##: `####. ### ###'.########+. |
| 11775 | #### `####::## ##'.#######+' |
| 11776 | ####+.`###i## #',####:' |
| 11777 | `+###MI`##### 'l###:' |
| 11778 | `+####+`### ;#E' |
| 11779 | `+###:## #' |
| 11780 | `:### ' |
| 11781 | '## |
| 11782 | '; |
| 11783 | EOF |
| 11784 | ;; |
| 11785 | |
| 11786 | |
| 11787 | "Linspire"* | "Freespire"* | "Lindows"*) |
| 11788 | set_colors 4 2 |
| 11789 | read -rd '' ascii_data <<'EOF' |
| 11790 | ${c2} __^ |
| 11791 | ${c2} __/ \\ |
| 11792 | ${c2} MMy dMy __/ \\ |
| 11793 | ${c2} dMMy MMy ${c1}MM${c2} \\ |
| 11794 | ${c2} MMMy ,, ${c1}dMMMMn ${c2}\\ |
| 11795 | ${c2} dMMy dMM dMMMMMMy ${c1}dMM MM dMMMMMy dMM MM.nMMM dMMMMMM |
| 11796 | ${c1}MMM ${c2}MMy MMy MMy ${c1}dMM MMy MMy MMy MMy dy dMy |
| 11797 | ${c1}MMM ${c2}dMM dMM MMy ${c1}dMMMMy dMM dMM dMM dMM dMMMMMMM |
| 11798 | ${c2} dMMy MMy MMy MMy ${c1}dMMy MM MMy MMy MMy dMM |
| 11799 | ${c2}dMMy dMM dMM dMM ${c1}dMM MMy dMMMMMy dMM dMM MMy MM |
| 11800 | ${c2}MMMMMMMMMM MMy MMy MMy ${c1}dMMMyyy MMy MMy MMy dMMMMMMy |
| 11801 | ${c2} ${c1}dy |
| 11802 | EOF |
| 11803 | ;; |
| 11804 | |
| 11805 | "linuxmint_small"*) |
| 11806 | set_colors 2 7 |
| 11807 | read -rd '' ascii_data <<'EOF' |
| 11808 | ${c1} ___________ |
| 11809 | |_ \\ |
| 11810 | | ${c2}| _____ ${c1}| |
| 11811 | | ${c2}| | | | ${c1}| |
| 11812 | | ${c2}| | | | ${c1}| |
| 11813 | | ${c2}\\__${c2}___/ ${c1}| |
| 11814 | \\_________/ |
| 11815 | EOF |
| 11816 | ;; |
| 11817 | |
| 11818 | "Linux Mint Old"* | "LinuxMintOld"* | "mint_old"*) |
| 11819 | set_colors 2 7 |
| 11820 | read -rd '' ascii_data <<'EOF' |
| 11821 | ${c1}MMMMMMMMMMMMMMMMMMMMMMMMMmds+. |
| 11822 | MMm----::-://////////////oymNMd+` |
| 11823 | MMd ${c2}/++ ${c1}-sNMd: |
| 11824 | MMNso/` ${c2}dMM `.::-. .-::.` ${c1}.hMN: |
| 11825 | ddddMMh ${c2}dMM :hNMNMNhNMNMNh: ${c1}`NMm |
| 11826 | NMm ${c2}dMM .NMN/-+MMM+-/NMN` ${c1}dMM |
| 11827 | NMm ${c2}dMM -MMm `MMM dMM. ${c1}dMM |
| 11828 | NMm ${c2}dMM -MMm `MMM dMM. ${c1}dMM |
| 11829 | NMm ${c2}dMM .mmd `mmm yMM. ${c1}dMM |
| 11830 | NMm ${c2}dMM` ..` ... ydm. ${c1}dMM |
| 11831 | hMM- ${c2}+MMd/-------...-:sdds ${c1}dMM |
| 11832 | -NMm- ${c2}:hNMNNNmdddddddddy/` ${c1}dMM |
| 11833 | -dMNs-${c2}``-::::-------.`` ${c1}dMM |
| 11834 | `/dMNmy+/:-------------:/yMMM |
| 11835 | ./ydNMMMMMMMMMMMMMMMMMMMMM |
| 11836 | .MMMMMMMMMMMMMMMMMMM |
| 11837 | EOF |
| 11838 | ;; |
| 11839 | |
| 11840 | "Linux Mint"* | "LinuxMint"* | "mint"*) |
| 11841 | set_colors 2 7 |
| 11842 | read -rd '' ascii_data <<'EOF' |
| 11843 | ${c2} ...-:::::-... |
| 11844 | ${c2} .-MMMMMMMMMMMMMMM-. |
| 11845 | .-MMMM${c1}`..-:::::::-..`${c2}MMMM-. |
| 11846 | .:MMMM${c1}.:MMMMMMMMMMMMMMM:.${c2}MMMM:. |
| 11847 | -MMM${c1}-M---MMMMMMMMMMMMMMMMMMM.${c2}MMM- |
| 11848 | `:MMM${c1}:MM` :MMMM:....::-...-MMMM:${c2}MMM:` |
| 11849 | :MMM${c1}:MMM` :MM:` `` `` `:MMM:${c2}MMM: |
| 11850 | .MMM${c1}.MMMM` :MM. -MM. .MM- `MMMM.${c2}MMM. |
| 11851 | :MMM${c1}:MMMM` :MM. -MM- .MM: `MMMM-${c2}MMM: |
| 11852 | :MMM${c1}:MMMM` :MM. -MM- .MM: `MMMM:${c2}MMM: |
| 11853 | :MMM${c1}:MMMM` :MM. -MM- .MM: `MMMM-${c2}MMM: |
| 11854 | .MMM${c1}.MMMM` :MM:--:MM:--:MM: `MMMM.${c2}MMM. |
| 11855 | :MMM${c1}:MMM- `-MMMMMMMMMMMM-` -MMM-${c2}MMM: |
| 11856 | :MMM${c1}:MMM:` `:MMM:${c2}MMM: |
| 11857 | .MMM${c1}.MMMM:--------------:MMMM.${c2}MMM. |
| 11858 | '-MMMM${c1}.-MMMMMMMMMMMMMMM-.${c2}MMMM-' |
| 11859 | '.-MMMM${c1}``--:::::--``${c2}MMMM-.' |
| 11860 | ${c2} '-MMMMMMMMMMMMM-' |
| 11861 | ${c2} ``-:::::-`` |
| 11862 | EOF |
| 11863 | ;; |
| 11864 | |
| 11865 | "Live Raizo"* | "Live_Raizo"*) |
| 11866 | set_colors 3 |
| 11867 | read -rd '' ascii_data <<'EOF' |
| 11868 | ${c1} `......` |
| 11869 | -+shmNMMMMMMNmhs/. |
| 11870 | :smMMMMMmmhyyhmmMMMMMmo- |
| 11871 | -hMMMMd+:. `----` .:odMMMMh- |
| 11872 | `hMMMN+. .odNMMMMMMNdo. .yMMMMs` |
| 11873 | hMMMd. -dMMMMmdhhdNMMMNh` .mMMMh |
| 11874 | oMMMm` :MMMNs.:sddy:-sMMMN- `NMMM+ |
| 11875 | mMMMs dMMMo sMMMMMMd yMMMd sMMMm |
| 11876 | ----` .---` oNMMMMMh `---. .---- |
| 11877 | .sMMy: |
| 11878 | /MM/ |
| 11879 | +dMMms. |
| 11880 | hMMMMMMN |
| 11881 | `dMMMMMMm: |
| 11882 | .+ss+sMNysMMoomMd+ss+. |
| 11883 | +MMMMMMN` +MM/ hMMMMMNs |
| 11884 | sMMMMMMm-hNMMMd-hMMMMMMd |
| 11885 | :yddh+`hMMMMMMN :yddy/` |
| 11886 | .hMMMMd: |
| 11887 | `..` |
| 11888 | EOF |
| 11889 | ;; |
| 11890 | |
| 11891 | "mx_small"*) |
| 11892 | set_colors 4 6 7 |
| 11893 | read -rd '' ascii_data <<'EOF' |
| 11894 | ${c3} \\\\ / |
| 11895 | \\\\/ |
| 11896 | \\\\ |
| 11897 | /\\/ \\\\ |
| 11898 | / \\ /\\ |
| 11899 | / \\/ \\ |
| 11900 | /__________\\ |
| 11901 | EOF |
| 11902 | ;; |
| 11903 | |
| 11904 | "MX"*) |
| 11905 | set_colors 4 6 7 |
| 11906 | read -rd '' ascii_data <<'EOF' |
| 11907 | ${c3}MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNMMMMMMMMM |
| 11908 | MMMMMMMMMMNs..yMMMMMMMMMMMMMm: +NMMMMMMM |
| 11909 | MMMMMMMMMN+ :mMMMMMMMMMNo` -dMMMMMMMM |
| 11910 | MMMMMMMMMMMs. `oNMMMMMMh- `sNMMMMMMMMM |
| 11911 | MMMMMMMMMMMMN/ -hMMMN+ :dMMMMMMMMMMM |
| 11912 | MMMMMMMMMMMMMMh- +ms. .sMMMMMMMMMMMMM |
| 11913 | MMMMMMMMMMMMMMMN+` ` +NMMMMMMMMMMMMMM |
| 11914 | MMMMMMMMMMMMMMNMMd: .dMMMMMMMMMMMMMMM |
| 11915 | MMMMMMMMMMMMm/-hMd- `sNMMMMMMMMMMMMM |
| 11916 | MMMMMMMMMMNo` -` :h/ -dMMMMMMMMMMMM |
| 11917 | MMMMMMMMMd: /NMMh- `+NMMMMMMMMMM |
| 11918 | MMMMMMMNo` :mMMN+` `-hMMMMMMMM |
| 11919 | MMMMMMh. `oNMMd: `/mMMMMMM |
| 11920 | MMMMm/ -hMd- `sNMMMM |
| 11921 | MMNs` - :dMMM |
| 11922 | Mm: `oMM |
| 11923 | MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM |
| 11924 | EOF |
| 11925 | ;; |
| 11926 | |
| 11927 | "Namib"*) |
| 11928 | set_colors 1 |
| 11929 | read -rd '' ascii_data <<'EOF' |
| 11930 | ${c1} .:+shysyhhhhysyhs+:. |
| 11931 | -/yyys syyy/- |
| 11932 | -shy yhs- |
| 11933 | -yhs shy- |
| 11934 | +hy yh+ |
| 11935 | +ds sd+ |
| 11936 | /ys so sy/ |
| 11937 | sh smMMNdyo hs |
| 11938 | yo ymMMMMNNMMNho oy |
| 11939 | N ydMMMNNMMMMMMMMMmy N |
| 11940 | N shmMMMMNNMMMMMMMMMMMMMNy N |
| 11941 | yo ooshmNMMMNNNNMMMMMMMMMMMMMMMMMms oy |
| 11942 | sd yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ds |
| 11943 | /ys sy/ |
| 11944 | +ds sd+ |
| 11945 | +hy yh+ |
| 11946 | -yhs shy- |
| 11947 | -shy yhs- |
| 11948 | -/yyys syyy/- |
| 11949 | .:+shysyhyhhysyhs+:. |
| 11950 | EOF |
| 11951 | ;; |
| 11952 | |
| 11953 | "NekOS"*) |
| 11954 | set_colors 3 7 1 |
| 11955 | read -rd '' ascii_data <<'EOF' |
| 11956 | ${c1} |
| 11957 | @@@@@ |
| 11958 | @@@@@@@@@. |
| 11959 | @@@@@@@@ @@@ |
| 11960 | @@@@@@@@@@@ @@. |
| 11961 | @@@@@@@@@@@@@ . |
| 11962 | @@@@@@@@@@@@@@@@@ , |
| 11963 | @@@@@@@@@@@@@@@@@@@ |
| 11964 | @@@@@${c2}///${c1}@@@@@@@${c2}///${c1}@@@ |
| 11965 | @@@@${c2}/***${c1}@@@@@@@${c2}**//${c1}@@@@ |
| 11966 | @@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 11967 | @@@@@@@@@@@@@@@@@@@@@@@ |
| 11968 | @@@/ /@@@@@@@@@/ /@@@ |
| 11969 | @@@@@@ @@@${c3}██${c1}@@@@ @@@@@@ |
| 11970 | @@@@@@/ /@${c2}██${c3}██${c2}██${c1}@@/ /@@@@@@ |
| 11971 | @@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 11972 | ##########%%%% |
| 11973 | ##########%% %% |
| 11974 | @ @@@#######@@%%% |
| 11975 | @@@ @@@@####@@@@ % |
| 11976 | @@@ @@@@@@@#@@@@@@@ |
| 11977 | @@@ @@@@@@@@@@@@@@@ |
| 11978 | @@@@ @@@@@@@@@@@@@@@@@ |
| 11979 | @@@@@@@@@@@@@@@@@@@@@@@@ |
| 11980 | |
| 11981 | EOF |
| 11982 | ;; |
| 11983 | |
| 11984 | "Neptune"*) |
| 11985 | set_colors 7 |
| 11986 | read -rd '' ascii_data <<'EOF' |
| 11987 | ${c1} ./+sydddddddys/-. |
| 11988 | .+ymNNdyooo/:+oooymNNmy/` |
| 11989 | `/hNNh/.` `-+dNNy:` |
| 11990 | /mMd/. .++.:oy/ .+mMd- |
| 11991 | `sMN/ oMMmdy+. `oNNo |
| 11992 | `hMd. `/ymy/. :NMo |
| 11993 | oMN- `/dMd: /MM- |
| 11994 | `mMy -dMN+` mMs |
| 11995 | .MMo -NMM/ yMs |
| 11996 | dMh mMMMo:` `NMo |
| 11997 | /MM/ /ymMMMm- sMN. |
| 11998 | +Mm: .hMMd` oMN/ |
| 11999 | +mNs. `yNd/` -dMm- |
| 12000 | .yMNs: `/.` `/yNNo` |
| 12001 | .odNNy+-` .:ohNNd/. |
| 12002 | -+ymNNmdyyyyyyydmNNmy+. |
| 12003 | `-//sssssss//. |
| 12004 | EOF |
| 12005 | ;; |
| 12006 | |
| 12007 | "netbsd_small"*) |
| 12008 | set_colors 5 7 |
| 12009 | read -rd '' ascii_data <<'EOF' |
| 12010 | ${c2}\\\\${c1}\`-______,----__ |
| 12011 | ${c2} \\\\ ${c1}__,---\`_ |
| 12012 | ${c2} \\\\ ${c1}\`.____ |
| 12013 | ${c2} \\\\${c1}-______,----\`- |
| 12014 | ${c2} \\\\ |
| 12015 | \\\\ |
| 12016 | \\\\ |
| 12017 | EOF |
| 12018 | ;; |
| 12019 | |
| 12020 | "NetBSD"*) |
| 12021 | set_colors 5 7 |
| 12022 | read -rd '' ascii_data <<'EOF' |
| 12023 | ${c1} `-/oshdmNMNdhyo+:-` |
| 12024 | ${c2}y${c1}/s+:-`` `.-:+oydNMMMMNhs/-`` |
| 12025 | ${c2}-m+${c1}NMMMMMMMMMMMMMMMMMMMNdhmNMMMmdhs+/-` |
| 12026 | ${c2}-m+${c1}NMMMMMMMMMMMMMMMMMMMMmy+:` |
| 12027 | ${c2}-N/${c1}dMMMMMMMMMMMMMMMds:` |
| 12028 | ${c2}-N/${c1}hMMMMMMMMMmho:` |
| 12029 | ${c2}-N/${c1}-:/++/:.` |
| 12030 | ${c2} :M+ |
| 12031 | :Mo |
| 12032 | :Ms |
| 12033 | :Ms |
| 12034 | :Ms |
| 12035 | :Ms |
| 12036 | :Ms |
| 12037 | :Ms |
| 12038 | :Ms |
| 12039 | :Ms |
| 12040 | EOF |
| 12041 | ;; |
| 12042 | |
| 12043 | "Netrunner"*) |
| 12044 | set_colors 4 7 1 |
| 12045 | read -rd '' ascii_data <<'EOF' |
| 12046 | ${c1} .:oydmMMMMMMmdyo:` |
| 12047 | -smMMMMMMMMMMMMMMMMMMds- |
| 12048 | +mMMMMMMMMMMMMMMMMMMMMMMMMd+ |
| 12049 | /mMMMMMMMMMMMMMMMMMMMMMMMMMMMMm/ |
| 12050 | `hMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMy` |
| 12051 | .mMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMd` |
| 12052 | dMMMMMMMMMMMMMMMMMMMMMMNdhmMMMMMMMMMMh |
| 12053 | +MMMMMMMMMMMMMNmhyo+/-. -MMMMMMMMMMMM/ |
| 12054 | mMMMMMMMMd+:.` `mMMMMMMMMMMMMd |
| 12055 | MMMMMMMMMMMdy/. yMMMMMMMMMMMMMM |
| 12056 | MMMMMMMMMMMMMMMNh+` +MMMMMMMMMMMMMMM |
| 12057 | mMMMMMMMMMMMMMMMMMs -NMMMMMMMMMMMMMMd |
| 12058 | +MMMMMMMMMMMMMMMMMN. `mMMMMMMMMMMMMMMM/ |
| 12059 | dMMMMMMMMMMMMMMMMMy hMMMMMMMMMMMMMMMh |
| 12060 | `dMMMMMMMMMMMMMMMMM-+MMMMMMMMMMMMMMMd` |
| 12061 | `hMMMMMMMMMMMMMMMMmMMMMMMMMMMMMMMMy |
| 12062 | /mMMMMMMMMMMMMMMMMMMMMMMMMMMMMm: |
| 12063 | +dMMMMMMMMMMMMMMMMMMMMMMMMd/ |
| 12064 | -odMMMMMMMMMMMMMMMMMMdo- |
| 12065 | `:+ydmNMMMMNmhy+-` |
| 12066 | EOF |
| 12067 | ;; |
| 12068 | |
| 12069 | "Nitrux"*) |
| 12070 | set_colors 4 |
| 12071 | read -rd '' ascii_data <<'EOF' |
| 12072 | ${c1}`:/. |
| 12073 | `/yo |
| 12074 | `/yo |
| 12075 | `/yo .+:. |
| 12076 | `/yo .sys+:.` |
| 12077 | `/yo `-/sys+:.` |
| 12078 | `/yo ./sss+:.` |
| 12079 | `/yo .:oss+:-` |
| 12080 | `/yo ./o///:-` |
| 12081 | `/yo `.-:///////:` |
| 12082 | `/yo `.://///++//-`` |
| 12083 | `/yo `.-:////++++/-` |
| 12084 | `/yo `-://///++o+/-` |
| 12085 | `/yo `-/+o+++ooo+/-` |
| 12086 | `/s+:+oooossso/.` |
| 12087 | `//+sssssso:. |
| 12088 | `+syyyy+:` |
| 12089 | :+s+- |
| 12090 | EOF |
| 12091 | ;; |
| 12092 | |
| 12093 | "nixos_small") |
| 12094 | set_colors 4 6 |
| 12095 | read -rd '' ascii_data <<'EOF' |
| 12096 | ${c1} \\\\ \\\\ // |
| 12097 | ==\\\\__\\\\/ // |
| 12098 | // \\\\// |
| 12099 | ==// //== |
| 12100 | //\\\\___// |
| 12101 | // /\\\\ \\\\== |
| 12102 | // \\\\ \\\\ |
| 12103 | EOF |
| 12104 | ;; |
| 12105 | |
| 12106 | "nixos_old"*) |
| 12107 | set_colors 4 6 |
| 12108 | read -rd '' ascii_data <<'EOF' |
| 12109 | ${c1} ____ ${c2}_______ ____ |
| 12110 | ${c1} /####\ ${c2}\######\ /####\ |
| 12111 | ${c1} ######\ ${c2}\######\ /#####/ |
| 12112 | ${c1} \######\ ${c2}\######\ /#####/ |
| 12113 | ${c1} \######\ ${c2}\######\/#####/ ${c1}/\ |
| 12114 | ${c1} \######\ ${c2}\###########/ ${c1}/##\ |
| 12115 | ${c1} ________\######\______${c2}\#########/ ${c1}/####\ |
| 12116 | ${c1} /#######################${c2}\#######/ ${c1}/###### |
| 12117 | ${c1} /#########################${c2}\######\ ${c1}/######/ |
| 12118 | ${c1} /###########################${c2}\######\ ${c1}/######/ |
| 12119 | ${c1} ¯¯¯¯¯¯¯¯¯¯¯¯${c2}/######/${c1}¯¯¯¯¯¯¯¯¯${c2}\######${c1}/######/ |
| 12120 | ${c2} /######/ ${c2}\####${c1}/######/________ |
| 12121 | ${c2} _____________/######/ ${c2}\##${c1}/################\ |
| 12122 | ${c2} /###################/ ${c2}\${c1}/##################\ |
| 12123 | ${c2} \##################/${c1}\ /###################/ |
| 12124 | ${c2} \################/${c1}##\ /######/¯¯¯¯¯¯¯¯¯¯¯¯¯ |
| 12125 | ${c2} ¯¯¯¯¯¯¯¯/######/${c1}####\ /######/ |
| 12126 | ${c2} /######/${c1}######\${c2}_________${c1}/######/${c2}____________ |
| 12127 | ${c2} /######/ ${c1}\######\${c2}###########################/ |
| 12128 | ${c2} /######/ ${c1}\######\${c2}#########################/ |
| 12129 | ${c2} ######/ ${c1}/#######\${c2}#######################/ |
| 12130 | ${c2} \####/ ${c1}/#########\${c2}¯¯¯¯¯¯\######\¯¯¯¯¯¯¯¯ |
| 12131 | ${c2} \##/ ${c1}/###########\${c2} \######\ |
| 12132 | ${c2} \/ ${c1}/#####/\######\${c2} \######\ |
| 12133 | ${c1} ${c1}/#####/ \######\${c2} \######\ |
| 12134 | ${c1} ${c1}/#####/ \######\${c2} \###### |
| 12135 | ${c1} ${c1}\####/ \######\${c2} \####/ |
| 12136 | ${c1} ${c1}¯¯¯¯ ¯¯¯¯¯¯¯${c2} ¯¯¯¯ |
| 12137 | EOF |
| 12138 | ;; |
| 12139 | |
| 12140 | "nixos_colorful"*) |
| 12141 | set_colors 4 6 4 6 4 6 |
| 12142 | read -rd '' ascii_data <<'EOF' |
| 12143 | ${c1} ▗▄▄▄ ${c2}▗▄▄▄▄ ▄▄▄▖ |
| 12144 | ${c1} ▜███▙ ${c2}▜███▙ ▟███▛ |
| 12145 | ${c1} ▜███▙ ${c2}▜███▙▟███▛ |
| 12146 | ${c1} ▜███▙ ${c2}▜██████▛ |
| 12147 | ${c1} ▟█████████████████▙ ${c2}▜████▛ ${c3}▟▙ |
| 12148 | ${c1} ▟███████████████████▙ ${c2}▜███▙ ${c3}▟██▙ |
| 12149 | ${c6} ▄▄▄▄▖ ${c2}▜███▙ ${c3}▟███▛ |
| 12150 | ${c6} ▟███▛ ${c2}▜██▛ ${c3}▟███▛ |
| 12151 | ${c6} ▟███▛ ${c2}▜▛ ${c3}▟███▛ |
| 12152 | ${c6}▟███████████▛ ${c3}▟██████████▙ |
| 12153 | ${c6}▜██████████▛ ${c3}▟███████████▛ |
| 12154 | ${c6} ▟███▛ ${c5}▟▙ ${c3}▟███▛ |
| 12155 | ${c6} ▟███▛ ${c5}▟██▙ ${c3}▟███▛ |
| 12156 | ${c6} ▟███▛ ${c5}▜███▙ ${c3}▝▀▀▀▀ |
| 12157 | ${c6} ▜██▛ ${c5}▜███▙ ${c4}▜██████████████████▛ |
| 12158 | ${c6} ▜▛ ${c5}▟████▙ ${c4}▜████████████████▛ |
| 12159 | ${c5} ▟██████▙ ${c4}▜███▙ |
| 12160 | ${c5} ▟███▛▜███▙ ${c4}▜███▙ |
| 12161 | ${c5} ▟███▛ ▜███▙ ${c4}▜███▙ |
| 12162 | ${c5} ▝▀▀▀ ▀▀▀▀▘ ${c4}▀▀▀▘ |
| 12163 | EOF |
| 12164 | ;; |
| 12165 | |
| 12166 | "NixOS"*) |
| 12167 | set_colors 4 6 |
| 12168 | read -rd '' ascii_data <<'EOF' |
| 12169 | ${c1} ▗▄▄▄ ${c2}▗▄▄▄▄ ▄▄▄▖ |
| 12170 | ${c1} ▜███▙ ${c2}▜███▙ ▟███▛ |
| 12171 | ${c1} ▜███▙ ${c2}▜███▙▟███▛ |
| 12172 | ${c1} ▜███▙ ${c2}▜██████▛ |
| 12173 | ${c1} ▟█████████████████▙ ${c2}▜████▛ ${c1}▟▙ |
| 12174 | ${c1} ▟███████████████████▙ ${c2}▜███▙ ${c1}▟██▙ |
| 12175 | ${c2} ▄▄▄▄▖ ▜███▙ ${c1}▟███▛ |
| 12176 | ${c2} ▟███▛ ▜██▛ ${c1}▟███▛ |
| 12177 | ${c2} ▟███▛ ▜▛ ${c1}▟███▛ |
| 12178 | ${c2}▟███████████▛ ${c1}▟██████████▙ |
| 12179 | ${c2}▜██████████▛ ${c1}▟███████████▛ |
| 12180 | ${c2} ▟███▛ ${c1}▟▙ ▟███▛ |
| 12181 | ${c2} ▟███▛ ${c1}▟██▙ ▟███▛ |
| 12182 | ${c2} ▟███▛ ${c1}▜███▙ ▝▀▀▀▀ |
| 12183 | ${c2} ▜██▛ ${c1}▜███▙ ${c2}▜██████████████████▛ |
| 12184 | ${c2} ▜▛ ${c1}▟████▙ ${c2}▜████████████████▛ |
| 12185 | ${c1} ▟██████▙ ${c2}▜███▙ |
| 12186 | ${c1} ▟███▛▜███▙ ${c2}▜███▙ |
| 12187 | ${c1} ▟███▛ ▜███▙ ${c2}▜███▙ |
| 12188 | ${c1} ▝▀▀▀ ▀▀▀▀▘ ${c2}▀▀▀▘ |
| 12189 | EOF |
| 12190 | ;; |
| 12191 | |
| 12192 | "Nobara"*) |
| 12193 | set_colors "#999999" "#d80a0a" "#e5b90b" |
| 12194 | |
| 12195 | read -rd '' ascii_data <<'EOF' |
| 12196 | ${c1} ⢀⣤⣴⣶⣶⣶⣦⣤⡀⠀⣀⣠⣤⣴⣶⣶⣶⣶⣶⣶⣶⣶⣤⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 12197 | ⠀⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀ |
| 12198 | ⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀ |
| 12199 | ⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀ |
| 12200 | ⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀ |
| 12201 | ⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠋⠉⠁⠀⠀⠉⠉⠛⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀ |
| 12202 | ⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠁⠀⠀⠀${c3}⢀⣀⣀⡀${c1}⠀⠀⠀⠈⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀ |
| 12203 | ⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⠀⠀⠀${c3}⢠⣾⣿⣿⣿⣿⣷⡄${c1}⠀⠀⠀⠻⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀ |
| 12204 | ⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁⠀⠀⠀${c3}⣿⣿⣿⣿⣿⣿⣿⡇${c1}⠀⠀⠀⠀⠀⣀⣀⣬⣽⣿⣿⣿⣿⣿⣿⠀ |
| 12205 | ⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀${c3}⠈⠻⢿⣿⣿⡿⠟⠁${c1}⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀ |
| 12206 | ⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀ |
| 12207 | ${c2} ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣤⣤⣄⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀ |
| 12208 | ${c2} ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀ |
| 12209 | ${c2} ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀ |
| 12210 | ${c2} ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠛⠉⠉⠛⠛⢿⣿⣿⠀⠀⠀⠀⠀⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠀ |
| 12211 | ${c2} ⠘⢿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⠀⠀⠀⠀⠀⠀⠙⢿⣿⣿⣿⣿⣿⣿⣿⠟⠁⠀ |
| 12212 | ${c2} ⠈⠙⠛⠛⠛⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠛⠛⠛⠉⠁ |
| 12213 | EOF |
| 12214 | ;; |
| 12215 | |
| 12216 | "NomadBSD"*) |
| 12217 | set_colors 4 |
| 12218 | read -rd '' ascii_data <<'EOF' |
| 12219 | ${c1} _======__ |
| 12220 | (===============\\ |
| 12221 | (===================\\ |
| 12222 | _ _---__ |
| 12223 | (= ====- |
| 12224 | (= ====== |
| 12225 | (== ====== |
| 12226 | (== ====== |
| 12227 | (==\\ \\=-_ _=/ /====/ |
| 12228 | (==\\ \\========/ /====/ /====-_ |
| 12229 | (==\\ \\=====/ /==/ /===-- |
| 12230 | /================/ /===- |
| 12231 | \\===========/ |
| 12232 | EOF |
| 12233 | ;; |
| 12234 | |
| 12235 | "GhostBSD"*) |
| 12236 | set_colors 4 |
| 12237 | read -rd '' ascii_data <<'EOF' |
| 12238 | ${c1} ,gggggg. |
| 12239 | ,agg9* .g) |
| 12240 | .agg* ._.,gg* |
| 12241 | ,gga* (ggg*' |
| 12242 | ,ga* ,ga* |
| 12243 | ,ga' .ag* |
| 12244 | ,ga' .agga' |
| 12245 | 9g' .agg'g*,a |
| 12246 | 'gggg*',gga' |
| 12247 | .gg*' |
| 12248 | .gga* |
| 12249 | .gga* |
| 12250 | (ga* |
| 12251 | EOF |
| 12252 | ;; |
| 12253 | |
| 12254 | "Nurunner"*) |
| 12255 | set_colors 4 |
| 12256 | read -rd '' ascii_data <<'EOF' |
| 12257 | ${c1} ,xc |
| 12258 | ;00cxXl |
| 12259 | ;K0, .xNo. |
| 12260 | :KO' .lXx. |
| 12261 | cXk. ;xl cXk. |
| 12262 | cXk. ;k:.,xo. cXk. |
| 12263 | .lXx. :x::0MNl,dd. :KO, |
| 12264 | .xNx. cx;:KMMMMMNo'dx. ;KK; |
| 12265 | .dNl. cd,cXMMMMMMMMMWd,ox' 'OK: |
| 12266 | ;WK. 'K,.KMMMMMMMMMMMMMWc.Kx lMO |
| 12267 | 'OK: 'dl'xWMMMMMMMMMM0::x: 'OK: |
| 12268 | .kNo .xo'xWMMMMMM0;:O: ;KK; |
| 12269 | .dXd. .do,oNMMO;ck: ;00, |
| 12270 | oNd. .dx,;'cO; ;K0, |
| 12271 | oNx. okk; ;K0, |
| 12272 | lXx. :KO' |
| 12273 | cKk' cXk. |
| 12274 | ;00:lXx. |
| 12275 | ,kd. |
| 12276 | EOF |
| 12277 | ;; |
| 12278 | |
| 12279 | "NuTyX"*) |
| 12280 | set_colors 4 1 |
| 12281 | read -rd '' ascii_data <<'EOF' |
| 12282 | ${c1} . |
| 12283 | . |
| 12284 | ... |
| 12285 | ... |
| 12286 | .... .........--. |
| 12287 | ..-++-----....--++++++---. |
| 12288 | .-++++++-. .-++++++++++++-----.. |
| 12289 | .--... .++..-+++--.....-++++++++++--.. |
| 12290 | . .-+-. .**- .... ..-+----.. |
| 12291 | .+++. .*+. + -++-----. |
| 12292 | .+++++- ++. .*+. .....-+++-----. |
| 12293 | -+++-++. .+. .-+***++***++--++++. . |
| 12294 | -+-. -- -. -*- ...... ..--. |
| 12295 | .-. .+- . -+. |
| 12296 | . .+- +. |
| 12297 | -- -- |
| 12298 | -+----. .- |
| 12299 | -++-.+. . |
| 12300 | .++. -- |
| 12301 | +. ----. |
| 12302 | . .+. .. |
| 12303 | - . |
| 12304 | . |
| 12305 | EOF |
| 12306 | ;; |
| 12307 | |
| 12308 | "OBRevenge"*) |
| 12309 | set_colors 1 7 3 |
| 12310 | read -rd '' ascii_data <<'EOF' |
| 12311 | ${c1} __ __ |
| 12312 | _@@@@ @@@g_ |
| 12313 | _@@@@@@ @@@@@@ |
| 12314 | _@@@@@@M W@@@@@@_ |
| 12315 | j@@@@P ^W@@@@ |
| 12316 | @@@@L____ _____Q@@@@ |
| 12317 | Q@@@@@@@@@@j@@@@@@@@@@ |
| 12318 | @@@@@ T@j@ T@@@@@ |
| 12319 | @@@@@ ___Q@J@ _@@@@@ |
| 12320 | @@@@@fMMM@@j@jggg@@@@@@ |
| 12321 | @@@@@ j@j@^MW@P @@@@ |
| 12322 | Q@@@@@ggg@@f@ @@@@@@L |
| 12323 | ^@@@@WWMMP ^ Q@@@@ |
| 12324 | @@@@@_ _@@@@l |
| 12325 | W@@@@@g_____g@@@@@P |
| 12326 | @@@@@@@@@@@@@@@@l |
| 12327 | ^W@@@@@@@@@@@P |
| 12328 | ^TMMMMTll |
| 12329 | EOF |
| 12330 | ;; |
| 12331 | |
| 12332 | "OmniOS"*) |
| 12333 | set_colors 15 3 8 |
| 12334 | read -rd '' ascii_data <<'EOF' |
| 12335 | ${c1} |
| 12336 | ____ __ __ _ _ _ |
| 12337 | / __ \ | \/ || \ | || | |
| 12338 | | | | || || \| || | |
| 12339 | | |__| || |\/| || , `${c2}_${c1}||${c2}_${c1}| ${c2}____${c1} |
| 12340 | \____/ |_| |_||_|\${c2}/ __ \ / ___| |
| 12341 | | | | ||(__ |
| 12342 | ${c3}community${c2} | |__| | ___)| |
| 12343 | ${c3}edition${c2} \____/ |____/ |
| 12344 | |
| 12345 | EOF |
| 12346 | ;; |
| 12347 | |
| 12348 | "openbsd_small") |
| 12349 | set_colors 3 7 6 1 8 |
| 12350 | read -rd '' ascii_data <<'EOF' |
| 12351 | ${c1} _____ |
| 12352 | \\- -/ |
| 12353 | \\_/ \\ |
| 12354 | | ${c2}O O${c1} | |
| 12355 | |_ < ) 3 ) |
| 12356 | / \\ / |
| 12357 | /-_____-\\ |
| 12358 | EOF |
| 12359 | ;; |
| 12360 | |
| 12361 | "OpenBSD"*) |
| 12362 | set_colors 3 7 6 1 8 |
| 12363 | read -rd '' ascii_data <<'EOF' |
| 12364 | ${c3} _ |
| 12365 | (_) |
| 12366 | ${c1} | . |
| 12367 | ${c1} . |L /| . ${c3} _ |
| 12368 | ${c1} _ . |\ _| \--+._/| . ${c3}(_) |
| 12369 | ${c1} / ||\| Y J ) / |/| ./ |
| 12370 | J |)'( | ` F`.'/ ${c3} _ |
| 12371 | ${c1} -<| F __ .-< ${c3}(_) |
| 12372 | ${c1} | / .-'${c3}. ${c1}`. /${c3}-. ${c1}L___ |
| 12373 | J \\ < ${c3}\ ${c1} | | ${c5}O${c3}\\${c1}|.-' ${c3} _ |
| 12374 | ${c1} _J \\ .- \\${c3}/ ${c5}O ${c3}| ${c1}| \\ |${c1}F ${c3}(_) |
| 12375 | ${c1} '-F -<_. \\ .-' `-' L__ |
| 12376 | __J _ _. >-' ${c1})${c4}._. ${c1}|-' |
| 12377 | ${c1} `-|.' /_. ${c4}\_| ${c1} F |
| 12378 | /.- . _.< |
| 12379 | /' /.' .' `\\ |
| 12380 | /L /' |/ _.-'-\\ |
| 12381 | /'J ___.---'\| |
| 12382 | |\ .--' V | `. ` |
| 12383 | |/`. `-. `._) |
| 12384 | / .-.\\ |
| 12385 | \\ ( `\\ |
| 12386 | `.\\ |
| 12387 | EOF |
| 12388 | ;; |
| 12389 | |
| 12390 | "openEuler"*) |
| 12391 | set_colors 4 7 1 |
| 12392 | read -rd '' ascii_data <<'EOF' |
| 12393 | ${c1} `.cc.` |
| 12394 | ``.cccccccc..` |
| 12395 | `.cccccccccccccccc.` |
| 12396 | ``.cccccccccccccccccccccc.`` |
| 12397 | `..cccccccccccccccccccccccccccc..` |
| 12398 | `.ccccccccccccccc${c2}/++/${c1}ccccccccccccccccc.` |
| 12399 | .ccccccccccccccc${c2}mNMMNdo+oso+${c1}ccccccccccc. |
| 12400 | .cccccccccc${c2}/++odms+//+mMMMMm/:+syso/${c1}cccc |
| 12401 | .ccccccccc${c2}yNNMMMs:::/::+o+/:${c1}c${c2}dMMMMMm${c1}cccc |
| 12402 | .ccccccc${c2}:+NmdyyhNNmNNNd:${c1}ccccc${c1}${c2}:oyyyo:${c1}cccc |
| 12403 | .ccc${c2}:ohdmMs:${c1}cccc${c2}+mNMNmy${c1}ccccccccccccccccc |
| 12404 | .cc${c2}/NMMMMMo////:${c1}c${c2}:///:${c1}cccccccccccccccccc |
| 12405 | .cc${c2}:syysyNMNNNMNy${c1}ccccccccccccccccccccccc |
| 12406 | .cccccccc${c2}+MMMMMNy${c1}c${c2}:/+++/${c1}cccccccccccccccc |
| 12407 | .ccccccccc${c2}ohhhs/${c1}c${c2}omMMMMNh${c1}ccccccccccccccc |
| 12408 | .ccccccccccccccc${c2}:MMMMMMMM/${c1}cccccccccccccc |
| 12409 | .cccccccccccccccc${c2}sNNNNNd+${c1}cccccccccccccc. |
| 12410 | `..cccccccccccccccc${c2}/+/:${c1}cccccccccccccc..` |
| 12411 | ``.cccccccccccccccccccccccccccc.`` |
| 12412 | `.cccccccccccccccccccccc.` |
| 12413 | ``.cccccccccccccc.`` |
| 12414 | `.cccccccc.` |
| 12415 | `....` |
| 12416 | EOF |
| 12417 | ;; |
| 12418 | |
| 12419 | "OpenIndiana"*) |
| 12420 | set_colors 4 7 1 |
| 12421 | read -rd '' ascii_data <<'EOF' |
| 12422 | ${c2} .sy/ |
| 12423 | .yh+ |
| 12424 | |
| 12425 | ${c1}-+syyyo+- ${c2} /+. |
| 12426 | ${c1}+ddo/---/sdh/ ${c2} ym- |
| 12427 | ${c1}`hm+ `sms${c2} ym-```````.-. |
| 12428 | ${c1}sm+ sm/ ${c2} ym- +s |
| 12429 | ${c1}hm. /mo ${c2} ym- /h |
| 12430 | ${c1}omo ym: ${c2} ym- `os` |
| 12431 | ${c1}smo` .ym+ ${c2} ym- .os- |
| 12432 | `` ${c1}:ymy+///oyms- ${c2} ym- .+s+. |
| 12433 | ..` ${c1}`:+oo+/-` ${c2} -//oyo- |
| 12434 | -:` .:oys/. |
| 12435 | +- `./oyys/. |
| 12436 | h+` `.-:+oyyyo/-` |
| 12437 | `/ossssysso+/-.` |
| 12438 | EOF |
| 12439 | ;; |
| 12440 | |
| 12441 | "openmamba"*) |
| 12442 | set_colors 7 2 |
| 12443 | read -rd '' ascii_data <<'EOF' |
| 12444 | ${c1} ````` |
| 12445 | .-/+ooooooooo+/:-` |
| 12446 | ./ooooooooooooooooooo+:. |
| 12447 | -+oooooooooooooooooooooooo+- |
| 12448 | .+ooooooooo+/:---::/+ooooooooo+. |
| 12449 | :oooooooo/-` `-/oo${c2}s´${c1}oooo.${c2}s´${c1} |
| 12450 | :ooooooo/` `${c2}sNds${c1}ooo${c2}sNds${c1} |
| 12451 | -ooooooo- ${c2}:dmy${c1}ooo${c2}:dmy${c1} |
| 12452 | +oooooo: :oooooo- |
| 12453 | .ooooooo .://:` |
| 12454 | :oooooo+ ./+o+:` |
| 12455 | -ooooooo` `oooooo+ |
| 12456 | `ooooooo: /oooooo+ |
| 12457 | -ooooooo: :ooooooo. |
| 12458 | :ooooooo+. .+ooooooo: |
| 12459 | :oooooooo+-` `-+oooooooo: |
| 12460 | .+ooooooooo+/::::://oooooooooo+. |
| 12461 | -+oooooooooooooooooooooooo+- |
| 12462 | .:ooooooooooooooooooo+:. |
| 12463 | `-:/ooooooooo+/:.` |
| 12464 | `````` |
| 12465 | EOF |
| 12466 | ;; |
| 12467 | |
| 12468 | "OpenMandriva"*) |
| 12469 | set_colors 4 |
| 12470 | read -rd '' ascii_data <<'EOF' |
| 12471 | ${c1} `````` |
| 12472 | `-:/+++++++//:-.` |
| 12473 | .:+++oooo+/:.`` `` |
| 12474 | `:+ooooooo+:. `-:/++++++/:.` |
| 12475 | -+oooooooo:` `-++o+/::::://+o+/- |
| 12476 | `/ooooooooo- -+oo/.` `-/oo+. |
| 12477 | `+ooooooooo. :os/` .+so: |
| 12478 | +sssssssss/ :ss/ `+ss- |
| 12479 | :ssssssssss` sss` .sso |
| 12480 | ossssssssss `yyo sys |
| 12481 | `sssssssssss` `yys `yys |
| 12482 | `sssssssssss: +yy/ +yy: |
| 12483 | oyyyyyyyyyys. `oyy/` `+yy+ |
| 12484 | :yyyyyyyyyyyo. `+yhs:. `./shy/ |
| 12485 | oyyyyyyyyyyys:` .oyhys+:----/+syhy+. ` |
| 12486 | `syyyyyyyyyyyyo-` .:osyhhhhhyys+:``.:` |
| 12487 | `oyyyyyyyyyyyyys+-`` `.----.```./oo. |
| 12488 | /yhhhhhhhhhhhhhhyso+//://+osyhy/` |
| 12489 | `/yhhhhhhhhhhhhhhhhhhhhhhhhy/` |
| 12490 | `:oyhhhhhhhhhhhhhhhhhhyo:` |
| 12491 | .:+syhhhhhhhhys+:-` |
| 12492 | ``....`` |
| 12493 | EOF |
| 12494 | ;; |
| 12495 | |
| 12496 | "OpenStage"*) |
| 12497 | set_colors 2 |
| 12498 | read -rd '' ascii_data <<'EOF' |
| 12499 | ${c1} /(/ |
| 12500 | .(((((((, |
| 12501 | /(((((((((/ |
| 12502 | .(((((/,/(((((, |
| 12503 | *(((((* ,(((((/ |
| 12504 | (((((* .*/(( |
| 12505 | *((((/ (//(/* |
| 12506 | /((((* ((((((((((, |
| 12507 | . /((((* (((((((((((((. |
| 12508 | ((. *((((/ ,(((((((( |
| 12509 | ,(((/ (((((/ ** ,((((((* |
| 12510 | /(((((. .(((((/ //(((* *(((((/ |
| 12511 | .(((((, ((/ .(((((/. .(((((, |
| 12512 | /((((* ,(((((((/ ,((((( |
| 12513 | /(((((((((((((((((((/. /(((((((((/ |
| 12514 | /(((((((((((((((((, /(((((((((((/ |
| 12515 | */(((((//*. */((/(/(/* |
| 12516 | EOF |
| 12517 | ;; |
| 12518 | |
| 12519 | *"Wrt"*) |
| 12520 | set_colors 4 7 1 |
| 12521 | read -rd '' ascii_data <<'EOF' |
| 12522 | ${c1} _______ |
| 12523 | | |.-----.-----.-----. |
| 12524 | | - || _ | -__| | |
| 12525 | |_______|| __|_____|__|__| |
| 12526 | |__| |
| 12527 | ________ __ |
| 12528 | | | | |.----.| |_ |
| 12529 | | | | || _|| _| |
| 12530 | |________||__| |____| |
| 12531 | EOF |
| 12532 | ;; |
| 12533 | |
| 12534 | "Open Source Media Center"* | "osmc") |
| 12535 | set_colors 4 7 1 |
| 12536 | read -rd '' ascii_data <<'EOF' |
| 12537 | ${c1} -+shdmNNNNmdhs+- |
| 12538 | .+hMNho/:..``..:/ohNMh+. |
| 12539 | :hMdo. .odMh: |
| 12540 | -dMy- -yMd- |
| 12541 | sMd- -dMs |
| 12542 | hMy +. .+ yMh |
| 12543 | yMy dMs. .sMd yMy |
| 12544 | :Mm dMNMs` `sMNMd `mM: |
| 12545 | yM+ dM//mNs``sNm//Md +My |
| 12546 | mM- dM: +NNNN+ :Md -Mm |
| 12547 | mM- dM: `oNN+ :Md -Mm |
| 12548 | yM+ dM/+NNo` :Md +My |
| 12549 | :Mm` dMMNs` :Md `mM: |
| 12550 | yMy dMs` -ms yMy |
| 12551 | hMy +. yMh |
| 12552 | sMd- -dMs |
| 12553 | -dMy- -yMd- |
| 12554 | :hMdo. .odMh: |
| 12555 | .+hMNho/:..``..:/ohNMh+. |
| 12556 | -+shdmNNNNmdhs+- |
| 12557 | EOF |
| 12558 | ;; |
| 12559 | |
| 12560 | "OPNsense"*) |
| 12561 | set_colors 7 202 |
| 12562 | read -rd '' ascii_data <<'EOF' |
| 12563 | ${c1} .''''''''''''''''''''''''''''''''''' |
| 12564 | oocc:::::::::::::::::::::::::::::::cox |
| 12565 | ;00; o0O |
| 12566 | .,:' .;;;;;;;;;;;;;;;;;;;;;;;;;; ;:, |
| 12567 | .',;;cxOOOOOOOOOOOOOOOOOOOOOOOkd:;;,.. |
| 12568 | .,cll:' ':llc,. |
| 12569 | ,;;:okxdxd: :dxdxko:;;, |
| 12570 | .xxxx0XNNK0O. .O0KNNX0xxxx. |
| 12571 | ,${c2}cc:${c1},. .,${c2}:cc${c1}, |
| 12572 | ........;${c2}ccc:${c1};. .;${c2}:ccc${c1};........ |
| 12573 | ${c2}ccccccccccccccc ccccccccccccccc${c1} |
| 12574 | ........;${c2}ccc:${c1};. .;${c2}:ccc${c1};........ |
| 12575 | ,${c2}cc:${c1},. .,${c2}:cc${c1}, |
| 12576 | .xxxx0XNNK0O. .O0KNNX0xxxx. |
| 12577 | ,;;:okxdxd: :dxdxko:;;, |
| 12578 | .,cll:' ':llc,. |
| 12579 | .,,;,ckOOOOOOOOOOOOOOOOOOOOOOOOx;,;,'. |
| 12580 | .:l' ........................... ;:; |
| 12581 | lOk' cdd |
| 12582 | ;lccccccccccccccccccccccccccccccccccc:. |
| 12583 | EOF |
| 12584 | ;; |
| 12585 | |
| 12586 | "Oracle"*) |
| 12587 | set_colors 1 7 3 |
| 12588 | read -rd '' ascii_data <<'EOF' |
| 12589 | ${c1} |
| 12590 | `-/+++++++++++++++++/-.` |
| 12591 | `/syyyyyyyyyyyyyyyyyyyyyyys/. |
| 12592 | :yyyyo/-...............-/oyyyy/ |
| 12593 | /yyys- .oyyy+ |
| 12594 | .yyyy` `syyy- |
| 12595 | :yyyo /yyy/ |
| 12596 | .yyyy` `syyy- |
| 12597 | /yyys. .oyyyo |
| 12598 | /yyyyo:-...............-:oyyyy/` |
| 12599 | `/syyyyyyyyyyyyyyyyyyyyyyys+. |
| 12600 | `.:/+ooooooooooooooo+/:.` |
| 12601 | EOF |
| 12602 | ;; |
| 12603 | |
| 12604 | "orchid_small"*) |
| 12605 | set_colors 255 127 |
| 12606 | read -rd '' ascii_data <<'EOF' |
| 12607 | ${c2} :##: |
| 12608 | -#${c1}@@@@${c2}#- |
| 12609 | #${c1}@@${c2}=..=${c1}@@${c2}# |
| 12610 | +${c1}@@${c2}- -${c1}@@${c2}+ |
| 12611 | -#${c1}@@${c2}*..*${c1}@${c2}..${c1}@${c2}*..*${c1}@@${c2}#- |
| 12612 | :#${c1}@@${c2}*+%${c1}@${c2}= . . =${c1}@${c2}%+*${c1}@@${c2}#: |
| 12613 | +${c1}@@@${c2}: :-. .-: :${c1}@@@${c2}+ |
| 12614 | :#${c1}@@${c2}*+%${c1}@${c2}= . . =${c1}@${c2}%+*${c1}@@${c2}#: |
| 12615 | -#${c1}@@${c2}*..*${c1}@${c2}..${c1}@${c2}*..*${c1}@@${c2}#- |
| 12616 | +${c1}@@${c2}- -${c1}@@${c2}+ |
| 12617 | #${c1}@@${c2}=..=${c1}@@${c2}# |
| 12618 | -#${c1}@@@@${c2}#- |
| 12619 | :##: |
| 12620 | EOF |
| 12621 | ;; |
| 12622 | |
| 12623 | "orchid"*) |
| 12624 | set_colors 255 127 127 |
| 12625 | read -rd '' ascii_data <<'EOF' |
| 12626 | ${c2} .==. |
| 12627 | .-${c3}#${c1}@@${c3}#${c2}-. |
| 12628 | .-${c3}##${c1}@@@@${c3}##${c2}-. |
| 12629 | .-${c3}##${c1}@@@@@@@@${c3}##${c2}-. |
| 12630 | :*${c1}@@@@@${c3}####${c1}@@@@@${c2}*: |
| 12631 | ..:*${c1}@@@@${c2}==--==${c1}@@@@${c2}*:.. |
| 12632 | .-*${c1}%%${c3}#${c2}==${c3}#${c1}@@${c3}#${c2}====${c3}#${c1}@@${c3}#${c2}==${c3}#${c1}%%${c2}*-. |
| 12633 | .-${c3}#${c1}@@@@@${c3}##${c2}==${c3}#${c1}@@${c2}++${c1}@@${c3}##${c2}==${c3}#${c1}@@@@@${c3}#${c2}-. |
| 12634 | .-${c3}#${c1}@@@@@${c2}#${c1}@@@${c3}#${c2}++#====${c3}#${c2}++#${c1}@@@${c2}#${c1}@@@@@${c3}#${c2}-. |
| 12635 | .-${c3}#${c1}@@@@@${c3}#${c2}-==**${c3}###${c2}+:--:+${c3}###${c2}**==-${c3}#${c1}@@@@@${c3}#${c2}-. |
| 12636 | .-${c3}#${c1}@@@@@${c3}#${c2}-==**${c3}###${c2}+:--:+${c3}###${c2}**==-${c3}#${c1}@@@@@${c3}#${c2}-. |
| 12637 | .-${c3}#${c1}@@@@@${c2}#${c1}@@@${c3}#${c2}++#====${c3}#${c2}++#${c1}@@@${c2}#${c1}@@@@@${c3}#${c2}-. |
| 12638 | .-${c3}#${c1}@@@@@${c3}##${c2}==${c3}#${c1}@@${c2}++${c1}@@${c3}##${c2}==${c3}#${c1}@@@@@${c3}#${c2}-. |
| 12639 | .-*${c1}%%${c3}#${c2}==${c3}#${c1}@@${c3}#${c2}====${c3}#${c1}@@${c3}#${c2}==${c3}#${c1}%%${c2}*-. |
| 12640 | ..:*${c1}@@@@${c2}==--==${c1}@@@@${c2}*:.. |
| 12641 | :*${c1}@@@@@${c3}####${c1}@@@@@${c2}*: |
| 12642 | .-${c3}##${c1}@@@@@@@@${c3}##${c2}-. |
| 12643 | .-${c3}##${c1}@@@@${c3}##${c2}-. |
| 12644 | .-${c3}#${c1}@@${c3}#${c2}-. |
| 12645 | .==. |
| 12646 | EOF |
| 12647 | ;; |
| 12648 | |
| 12649 | "OS Elbrus"*) |
| 12650 | set_colors 4 7 3 |
| 12651 | read -rd '' ascii_data <<'EOF' |
| 12652 | ${c1} ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ |
| 12653 | ██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██ |
| 12654 | ██ ██ |
| 12655 | ██ ███████ ███████ ██ |
| 12656 | ██ ██ ██ ██ ██ ██ |
| 12657 | ██ ██ ██ ██ ██ ██ |
| 12658 | ██ ██ ██ ██ ██ ██ |
| 12659 | ██ ██ ██ ██ ██ ██ |
| 12660 | ██ ██ ███████ ███████ |
| 12661 | ██ ██ ██ |
| 12662 | ██ ██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██ |
| 12663 | ██ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██ |
| 12664 | ██ ██ |
| 12665 | ███████████████████████████ |
| 12666 | EOF |
| 12667 | ;; |
| 12668 | |
| 12669 | "PacBSD"*) |
| 12670 | set_colors 1 7 3 |
| 12671 | read -rd '' ascii_data <<'EOF' |
| 12672 | ${c1} :+sMs. |
| 12673 | `:ddNMd- -o--` |
| 12674 | -sMMMMh: `+N+`` |
| 12675 | yMMMMMs` .....-/-... `mNh/ |
| 12676 | yMMMMMmh+-`:sdmmmmmmMmmmmddy+-``./ddNMMm |
| 12677 | yNMMNMMMMNdyyNNMMMMMMMMMMMMMMMhyshNmMMMm |
| 12678 | :yMMMMMMMMMNdooNMMMMMMMMMMMMMMMMNmy:mMMd |
| 12679 | +MMMMMMMMMmy:sNMMMMMMMMMMMMMMMMMMMmshs- |
| 12680 | :hNMMMMMMN+-+MMMMMMMMMMMMMMMMMMMMMMMs. |
| 12681 | .omysmNNhy/+yNMMMMMMMMMMNMMMMMMMMMNdNNy- |
| 12682 | /hMM:::::/hNMMMMMMMMMMMm/-yNMMMMMMN.mMNh` |
| 12683 | .hMMMMdhdMMMMMMMMMMMMMMmo `sMMMMMMN mMMm- |
| 12684 | :dMMMMMMMMMMMMMMMMMMMMMdo+ oMMMMMMN`smMNo` |
| 12685 | /dMMMMMMMMMMMMMMMMMMMMMNd/` :yMMMMMN:-hMMM. |
| 12686 | :dMMMMMMMMMMMMMMMMMMMMMNh` oMMMMMMNo/dMNN` |
| 12687 | :hMMMMMMMMMMMMMMMMMMMMMMNs--sMMMMMMMNNmy++` |
| 12688 | sNMMMMMMMMMMMMMMMMMMMMMMMmmNMMMMMMNho::o. |
| 12689 | :yMMMMMMMMMMMMMNho+sydNNNNNNNmysso/` -// |
| 12690 | /dMMMMMMMMMMMMMs- ````````..`` |
| 12691 | .oMMMMMMMMMMMMNs` ./y:` |
| 12692 | +dNMMNMMMMMMMmy` ``./ys. |
| 12693 | `/hMMMMMMMMMMMNo-`` `.+yy+-` |
| 12694 | `-/hmNMNMMMMMMmmddddhhy/-` |
| 12695 | `-+oooyMMMdsoo+/:. |
| 12696 | EOF |
| 12697 | ;; |
| 12698 | |
| 12699 | "Panwah"*) |
| 12700 | set_colors 7 1 0 |
| 12701 | read -rd '' ascii_data <<'EOF' |
| 12702 | ${c1} |
| 12703 | HHH |
| 12704 | HAAAH HHH |
| 12705 | HAAAAH HAAAH |
| 12706 | HAAAAAAH HAAAAH |
| 12707 | HAAAAAAH HAAAAAH |
| 12708 | HAAAAAAAAH${c2}WWWWWWWWWWWWWWWW ${c1}HAAAAAH$ |
| 12709 | HAAAAAAAAH${c2}WWWWWWWWWWWWWWWWWWWW${c1} HAAAAAH |
| 12710 | HAA${c2}WWWWWWWWWWWWWWWWWWWWWWWWWWWWW${c1}AAAAAH${c2} |
| 12711 | WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW${c1}WAH${c2} |
| 12712 | WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW |
| 12713 | WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW |
| 12714 | WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW |
| 12715 | WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW |
| 12716 | WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW |
| 12717 | WWWWWWW${c1}AAA${c2}WWWW WWWWWWWWWWWWWWWWWWWWWWWWWWW |
| 12718 | WWWW${c1}AAA${c2}WWWWW WWWWWWW WWWWWWWWWWWWWWW |
| 12719 | WW${c1}AAA${c2}WWWWWWWWWWWWWWWWW WWWWW${c1}AAA${c2}WWWWWWWW |
| 12720 | ${c1}AAA${c2}WWWWW${c1}OOOOOOOOOOO${C2}WWWWWWWWWWW${c1}AAA${c2}WWWWWW |
| 12721 | ${c1}OOOO${c3}GGGGGGG${c1}OOOO${c2}WWWWWWWWWW${c1}AAA${c2}WWWW |
| 12722 | ${c1}OOO${c3}GGGGGGG${c1}OOO${c2}WWWWWWWWWWWW${c1}AAA${c2}W |
| 12723 | ${c1}OOOOOOOOO |
| 12724 | EOF |
| 12725 | ;; |
| 12726 | |
| 12727 | "parabola_small"*) |
| 12728 | set_colors 5 7 |
| 12729 | read -rd '' ascii_data <<'EOF' |
| 12730 | ${c1} __ __ __ _ |
| 12731 | .`_//_//_/ / `. |
| 12732 | / .` |
| 12733 | / .` |
| 12734 | /.` |
| 12735 | /` |
| 12736 | EOF |
| 12737 | ;; |
| 12738 | |
| 12739 | "Parabola"*) |
| 12740 | set_colors 5 7 |
| 12741 | read -rd '' ascii_data <<'EOF' |
| 12742 | ${c1} `.-. `. |
| 12743 | `.` `:++. `-+o+. |
| 12744 | `` `:+/. `:+/. `-+oooo+ |
| 12745 | ``-::-.:+/. `:+/. `-+oooooo+ |
| 12746 | `.-:///- ..` .-. `-+oooooooo- |
| 12747 | `..-..` `+ooooooooo: |
| 12748 | `` :oooooooo/ |
| 12749 | `ooooooo: |
| 12750 | `oooooo: |
| 12751 | -oooo+. |
| 12752 | +ooo/` |
| 12753 | -ooo- |
| 12754 | `+o/. |
| 12755 | /+- |
| 12756 | //` |
| 12757 | -. |
| 12758 | EOF |
| 12759 | ;; |
| 12760 | |
| 12761 | "Pardus"*) |
| 12762 | set_colors 3 7 6 1 8 |
| 12763 | read -rd '' ascii_data <<'EOF' |
| 12764 | ${c1} .smNdy+- `.:/osyyso+:.` -+ydmNs. |
| 12765 | /Md- -/ymMdmNNdhso/::/oshdNNmdMmy/. :dM/ |
| 12766 | mN. oMdyy- -y `-dMo .Nm |
| 12767 | .mN+` sMy hN+ -: yMs `+Nm. |
| 12768 | `yMMddMs.dy `+` sMddMMy` |
| 12769 | +MMMo .` . oMMM+ |
| 12770 | `NM/ `````.` `.````` +MN` |
| 12771 | yM+ `.-:yhomy ymohy:-.` +My |
| 12772 | yM: yo oy :My |
| 12773 | +Ms .N` `N. +h sM+ |
| 12774 | `MN - -::::::- : :o:+`NM` |
| 12775 | yM/ sh -dMMMMd- ho +y+My |
| 12776 | .dNhsohMh-//: /mm/ ://-yMyoshNd` |
| 12777 | `-ommNMm+:/. oo ./:+mMNmmo:` |
| 12778 | `/o+.-somNh- :yy: -hNmos-.+o/` |
| 12779 | ./` .s/`s+sMdd+``+ddMs+s`/s. `/. |
| 12780 | : -y. -hNmddmNy. .y- : |
| 12781 | -+ `..` +- |
| 12782 | EOF |
| 12783 | ;; |
| 12784 | |
| 12785 | "Parrot"*) |
| 12786 | set_colors 6 7 |
| 12787 | read -rd '' ascii_data <<'EOF' |
| 12788 | ${c1} `:oho/-` |
| 12789 | `mMMMMMMMMMMMNmmdhy- |
| 12790 | dMMMMMMMMMMMMMMMMMMs` |
| 12791 | +MMsohNMMMMMMMMMMMMMm/ |
| 12792 | .My .+dMMMMMMMMMMMMMh. |
| 12793 | + :NMMMMMMMMMMMMNo |
| 12794 | `yMMMMMMMMMMMMMm: |
| 12795 | /NMMMMMMMMMMMMMy` |
| 12796 | .hMMMMMMMMMMMMMN+ |
| 12797 | ``-NMMMMMMMMMd- |
| 12798 | /MMMMMMMMMMMs` |
| 12799 | mMMMMMMMsyNMN/ |
| 12800 | +MMMMMMMo :sNh. |
| 12801 | `NMMMMMMm -o/ |
| 12802 | oMMMMMMM. |
| 12803 | `NMMMMMM+ |
| 12804 | +MMd/NMh |
| 12805 | mMm -mN` |
| 12806 | /MM `h: |
| 12807 | dM` . |
| 12808 | :M- |
| 12809 | d: |
| 12810 | -+ |
| 12811 | - |
| 12812 | EOF |
| 12813 | ;; |
| 12814 | |
| 12815 | "Parsix"*) |
| 12816 | set_colors 3 1 7 8 |
| 12817 | read -rd '' ascii_data <<'EOF' |
| 12818 | ${c2}-/+/:. |
| 12819 | ${c2}.syssssys. |
| 12820 | ${c1}.--. ${c2}ssssssssso${c1} ..--. |
| 12821 | :++++++: ${c2}+ssssssss+${c1} ./++/+++: |
| 12822 | /+++++++++.${c2}.yssooooy`${c1}-+///////o- |
| 12823 | /++++++++++.${c2}+soooos:${c1}:+////////+- |
| 12824 | :+++++////o-${c2}oooooo-${c1}+/////////- |
| 12825 | `-/++//++-${c4}.-----.-${c1}:+/////:- |
| 12826 | ${c3}-://::--${c1}-:/:${c4}.--.````.--.${c1}:::-${c3}--::::::. |
| 12827 | ${c3}-/:::::::://:${c4}.:-` `-:${c3}`:/:::::::--/- |
| 12828 | ${c3}/::::::::::/-${c4}--. .-.${c3}-/://///::::/ |
| 12829 | ${c3}-/:::::::::/:${c4}`:-. .-:${c3}`:///////////- |
| 12830 | `${c3}-::::--${c1}.-://.${c4}---....---${c1}`:+/:-${c3}--::::-` |
| 12831 | ${c1}-/+///+o/-${c4}.----.${c1}.:oo+++o+. |
| 12832 | ${c1}-+/////+++o:${c2}syyyyy.${c1}o+++++++++: |
| 12833 | ${c1}.+////+++++-${c2}+sssssy+${c1}.++++++++++\ |
| 12834 | ${c1}.+:/++++++.${c2}.yssssssy-${c1}`+++++++++: |
| 12835 | ${c1}:/+++++- ${c2}+sssssssss ${c1}-++++++- |
| 12836 | ${c1}`--` ${c2}+sssssssso ${c1}`--` |
| 12837 | ${c2}+sssssy+` |
| 12838 | ${c2}`.::-` |
| 12839 | EOF |
| 12840 | ;; |
| 12841 | |
| 12842 | "PCBSD"* | "TrueOS"*) |
| 12843 | set_colors 1 7 3 |
| 12844 | read -rd '' ascii_data <<'EOF' |
| 12845 | ${c1} .. |
| 12846 | s. |
| 12847 | +y |
| 12848 | yN |
| 12849 | -MN `. |
| 12850 | :NMs `m |
| 12851 | .yMMm` `No |
| 12852 | `-/+++sdMMMNs+-`+Ms |
| 12853 | `:oo+-` .yMMMMy` `-+oNMh |
| 12854 | -oo- +NMMMM/ oMMh- |
| 12855 | .s+` ` oMMMMM/ - oMMMhy. |
| 12856 | +s`- :: :MMMMMd -o `mMMMy`s+ |
| 12857 | y+ h .Ny+oNMMMMMN/ sh+NMMMMo +y |
| 12858 | s+ .ds -NMMMMMMMMMMNdhdNMMMMMMh` +s |
| 12859 | -h .NM` `hMMMMMMMMMMMMMMNMMNy: h- |
| 12860 | y- hMN` hMMmMMMMMMMMMNsdMNs. -y |
| 12861 | m` mMMy` oMMNoNMMMMMMo` sMMMo `m |
| 12862 | m` :NMMMdyydMMMMo+MdMMMs sMMMd` `m |
| 12863 | h- `+ymMMMMMMMM--M+hMMN/ +MMMMy -h |
| 12864 | :y `.sMMMMM/ oMM+.yMMNddNMMMMMm y: |
| 12865 | y: `s dMMN- .MMMM/ :MMMMMMMMMMh :y |
| 12866 | `h: `mdmMMM/ yMMMMs sMMMMMMMMN- :h` |
| 12867 | so -NMMMN /mmd+ `dMMMMMMMm- os |
| 12868 | :y: `yMMM` `+NMMMMMMNo`:y: |
| 12869 | /s+`.omy /NMMMMMNh/.+s: |
| 12870 | .+oo:-. /mdhs+::oo+. |
| 12871 | -/o+++++++++++/- |
| 12872 | EOF |
| 12873 | ;; |
| 12874 | |
| 12875 | "PCLinuxOS"*) |
| 12876 | set_colors 4 7 1 |
| 12877 | read -rd '' ascii_data <<'EOF' |
| 12878 | ${c1} mhhhyyyyhhhdN |
| 12879 | dyssyhhhhhhhhhhhssyhN |
| 12880 | Nysyhhyo/:-.....-/oyhhhssd |
| 12881 | Nsshhy+. `/shhysm |
| 12882 | dohhy/ -shhsy |
| 12883 | dohhs` /hhys |
| 12884 | N+hho ${c2}+ssssss+- .+syhys+ ${c1}/hhsy |
| 12885 | ohhh` ${c2}ymmo++hmm+`smmy/::+y` ${c1}shh+ |
| 12886 | +hho ${c2}ymm- /mmy+mms ${c1}:hhod |
| 12887 | /hh+ ${c2}ymmhhdmmh.smm/ ${c1}.hhsh |
| 12888 | +hhs ${c2}ymm+::-` /mmy` ` ${c1}/hh+m |
| 12889 | yyhh- ${c2}ymm- /dmdyosyd` ${c1}`yhh+ |
| 12890 | ohhy` ${c2}://` -/+++/- ${c1}ohhom |
| 12891 | N+hhy- `shhoh |
| 12892 | sshho. `+hhyom |
| 12893 | dsyhhs/. `:ohhhoy |
| 12894 | dysyhhhso///://+syhhhssh |
| 12895 | dhyssyhhhhhhyssyyhN |
| 12896 | mddhdhdmN |
| 12897 | EOF |
| 12898 | ;; |
| 12899 | |
| 12900 | "pearOS"*) |
| 12901 | set_colors 2 3 1 1 5 4 |
| 12902 | read -rd '' ascii_data <<'EOF' |
| 12903 | \e[0;32m .+yh |
| 12904 | sMMMo |
| 12905 | sMMN+ |
| 12906 | +o: \e[0m |
| 12907 | \e[93m ./oyyys+. |
| 12908 | :dMMMMMMMMMm/ |
| 12909 | :MMMMMMMMMMMMMy |
| 12910 | yMMMMMMMMMMMMMN \e[0m |
| 12911 | \e[31m mMMMMMMMMMMMMs` |
| 12912 | yMMMMMMMMMMMMo |
| 12913 | -mMMMMMMMMMMMMM` |
| 12914 | oMMMMMMMMMMMMMMM` \e[0m |
| 12915 | \e[95m oMMMMMMMMMMMMMMMMy |
| 12916 | .MMMMMMMMMMMMMMMMMMy` |
| 12917 | +MMMMMMMMMMMMMMMMMMMMy/` |
| 12918 | /MMMMMMMMMMMMMMMMMMMMMMMNds \e[0m |
| 12919 | \e[34m `mMMMMMMMMMMMMMMMMMMMMMMMM/ |
| 12920 | .mMMMMMMMMMMMMMMMMMMMMMM+ |
| 12921 | `oNMMMMMMMMMMMMMMMMMMd- |
| 12922 | `+hMMMMMMMMMMMMMms- |
| 12923 | -/osyhhyso:. \e[0m |
| 12924 | EOF |
| 12925 | ;; |
| 12926 | |
| 12927 | "Pengwin"*) |
| 12928 | set_colors 5 5 13 |
| 12929 | read -rd '' ascii_data <<'EOF' |
| 12930 | ${c3} ...` |
| 12931 | ${c3} `-///:-` |
| 12932 | ${c3} .+${c2}ssys${c3}/ |
| 12933 | ${c3} +${c2}yyyyy${c3}o ${c2} |
| 12934 | ${c2} -yyyyyy: |
| 12935 | ${c2} `.:/+ooo+/:` -yyyyyy+ |
| 12936 | ${c2} `:oyyyyyys+:-.`syyyyyy: |
| 12937 | ${c2} .syyyyyyo-` .oyyyyyyo |
| 12938 | ${c2} `syyyyyy `-+yyyyyyy/` |
| 12939 | ${c2} /yyyyyy+ -/osyyyyyyo/. |
| 12940 | ${c2} +yyyyyy- `.-:::-.` |
| 12941 | ${c2} .yyyyyy- |
| 12942 | ${c3} :${c2}yyyyy${c3}o |
| 12943 | ${c3} .+${c2}ooo${c3}+ |
| 12944 | ${c3} `.::/:. |
| 12945 | EOF |
| 12946 | ;; |
| 12947 | |
| 12948 | "Peppermint"*) |
| 12949 | set_colors 1 15 3 |
| 12950 | read -rd '' ascii_data <<'EOF' |
| 12951 | ${c1} PPPPPPPPPPPPPP |
| 12952 | ${c1} PPPP${c2}MMMMMMM${c1}PPPPPPPPPPP |
| 12953 | ${c1} PPPP${c2}MMMMMMMMMM${c1}PPPPPPPP${c2}MM${c1}PP |
| 12954 | ${c1} PPPPPPPP${c2}MMMMMMM${c1}PPPPPPPP${c2}MMMMM${c1}PP |
| 12955 | ${c1} PPPPPPPPPPPP${c2}MMMMMM${c1}PPPPPPP${c2}MMMMMMM${c1}PP |
| 12956 | ${c1} PPPPPPPPPPPP${c2}MMMMMMM${c1}PPPP${c2}M${c1}P${c2}MMMMMMMMM${c1}PP |
| 12957 | ${c1} PP${c2}MMMM${c1}PPPPPPPPPP${c2}MMM${c1}PPPPP${c2}MMMMMMM${c1}P${c2}MM${c1}PPPP |
| 12958 | ${c1} P${c2}MMMMMMMMMM${c1}PPPPPP${c2}MM${c1}PPPPP${c2}MMMMMM${c1}PPPPPPPP |
| 12959 | ${c1} P${c2}MMMMMMMMMMMM${c1}PPPPP${c2}MM${c1}PP${c2}M${c1}P${c2}MM${c1}P${c2}MM${c1}PPPPPPPPPPP |
| 12960 | ${c1} P${c2}MMMMMMMMMMMMMMMM${c1}PP${c2}M${c1}P${c2}MMM${c1}PPPPPPPPPPPPPPPP |
| 12961 | ${c1} P${c2}MMM${c1}PPPPPPPPPPPPPPPPPPPPPPPPPPPPPP${c2}MMMMM${c1}P |
| 12962 | ${c1} PPPPPPPPPPPPPPPP${c2}MMM${c1}P${c2}M${c1}P${c2}MMMMMMMMMMMMMMMM${c1}PP |
| 12963 | ${c1} PPPPPPPPPPP${c2}MM${c1}P${c2}MM${c1}PPPP${c2}MM${c1}PPPPP${c2}MMMMMMMMMMM${c1}PP |
| 12964 | ${c1} PPPPPPPP${c2}MMMMMM${c1}PPPPP${c2}MM${c1}PPPPPP${c2}MMMMMMMMM${c1}PP |
| 12965 | ${c1} PPPP${c2}MM${c1}P${c2}MMMMMMM${c1}PPPPPP${c2}MM${c1}PPPPPPPPPP${c2}MMMM${c1}PP |
| 12966 | ${c1} PP${c2}MMMMMMMMM${c1}P${c2}M${c1}PPPP${c2}MMMMMM${c1}PPPPPPPPPPPPP |
| 12967 | ${c1} PP${c2}MMMMMMM${c1}PPPPPPP${c2}MMMMMM${c1}PPPPPPPPPPPP |
| 12968 | ${c1} PP${c2}MMMM${c1}PPPPPPPPP${c2}MMMMMMM${c1}PPPPPPPP |
| 12969 | ${c1} PP${c2}MM${c1}PPPPPPPP${c2}MMMMMMMMMM${c1}PPPP |
| 12970 | ${c1} PPPPPPPPPP${c2}MMMMMMMM${c1}PPPP |
| 12971 | ${c1} PPPPPPPPPPPPPP |
| 12972 | EOF |
| 12973 | ;; |
| 12974 | |
| 12975 | "Pisi"*) |
| 12976 | set_colors 12 7 6 1 8 |
| 12977 | read -rd '' ascii_data <<'EOF' |
| 12978 | ${c1} \Fv/!- `:?lzC |
| 12979 | ${c1} Q!::=zFx! ${c2}`;v6WBCicl;` ${c1},vCC\!::#. |
| 12980 | ${c1} ,%:::,'` ${c2}+#%@@FQ@@. ,cF%i${c1}``-',::a? |
| 12981 | ${c1} +m:,'```${c2}}3,/@@Q\@@ "af-${c1} `-'"7f |
| 12982 | =o'.` ${c2}/m' :Q@:Qg ,kl${c1} `.|o |
| 12983 | :k` '${c2}$+ 'Narm >d,${c1} ii |
| 12984 | #`${c2}!p. `C , 'd+${c1} %' |
| 12985 | ${c2} !0m `6Kv |
| 12986 | =a m+ |
| 12987 | !A !\L|: :|L\! $: |
| 12988 | .8` Q''%Q#' '#Q%''Q `0- |
| 12989 | :6 E|.6QQu uQQ6.|E p: |
| 12990 | i{ \jts9? ?9stj\ u\ |
| 12991 | |a` -''. `e> |
| 12992 | ,m+ ${c1}'^ !`${c2}s@@@@a${c1}'"`+`${c2} >e' |
| 12993 | !3|${c1}`|=>>r- ${c2}'U%:${c1} '>>>=:`\3! |
| 12994 | 'xopE| ${c2}`'${c1} `ledoz- |
| 12995 | `;=>>+`${c2}`^llci/|==|/iclc;`${c1}'>>>>: |
| 12996 | `^`+~ ${c2}````${c1} !!-^ |
| 12997 | EOF |
| 12998 | ;; |
| 12999 | |
| 13000 | "PikaOS"*) |
| 13001 | set_colors 11 |
| 13002 | read -rd '' ascii_data <<'EOF' |
| 13003 | ${c1} |
| 13004 | '',,, ,,,d, |
| 13005 | ',, ,,' |
| 13006 | ', ,. |
| 13007 | ., ' |
| 13008 | . . |
| 13009 | ' . |
| 13010 | .. oddddkdlc:;,.. .. |
| 13011 | . ............lllc, . |
| 13012 | . ....................: . |
| 13013 | . . .................... |
| 13014 | '. ..........'o........d0XX0. |
| 13015 | ....lllllllcOOOcllllll............cxlxc...;okkkx. |
| 13016 | ..................................';lc'...lo. |
| 13017 | .'''''''''''''.....................,;,....... |
| 13018 | ',,,,,,,,,,,,,,,,''...............dkkkd...... |
| 13019 | ',,,,,,,,,,,,,,,,,,,'............;okkkd;.... |
| 13020 | .,,,,,,,,,,,,,,,,,,,,,............;cll;..... |
| 13021 | ,,,,,,,,,,,,,,,,,,,,'....................:d, |
| 13022 | ,,,,,,,,,,,,,,,,,,,....................oxxx: |
| 13023 | .,,,,,,,,,,,,,,,,,'..................oxxxxx. . |
| 13024 | .,,,,,,,,,,,,,,'.......... ,oxxxxxxx . |
| 13025 | .;,,,,,,,,,,,,'.. 'cxxxxxxxxx, |
| 13026 | :dl:,'',,'.... .;lxxxxxxxxxd; |
| 13027 | ,codol:;'. ...,;cldxxxxxxxxxoc. |
| 13028 | .:cxxxxxdlccccc:ccldxxxxxxxxxxxxxx::. |
| 13029 | .'::dxxxxxxxxxxxxxxxxxxxxxxxd::'. |
| 13030 | ..,::cdxxxxxxxxxxxxxdc::,.. |
| 13031 | ...,;:::::::;,... |
| 13032 | |
| 13033 | |
| 13034 | EOF |
| 13035 | ;; |
| 13036 | |
| 13037 | "phyOS"*) |
| 13038 | set_colors 33 33 7 1 |
| 13039 | read -rd '' ascii_data <<'EOF' |
| 13040 | ${c1}.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^.^^^^^. |
| 13041 | :777777777777777777777777777777^~7777: |
| 13042 | .~~~~~~~~~~~~~~~~~~~~~^~7777!:!777!. |
| 13043 | ~7!!!!!!!!!!!!!!!!!^:!777~^!777~ |
| 13044 | ^77777!!!!!!!!!7!^^7777^^7777^ |
| 13045 | ^7777~.~~~~^. .~7777^~7777: |
| 13046 | :!777~^!777~. !777!:~777!: |
| 13047 | .!777!:~777!:~77~:!777!. |
| 13048 | ~777!^~7777:^~^!777~ |
| 13049 | ^7777^^7777^^7777^ |
| 13050 | :7777~^!7777777: |
| 13051 | .!777!:!7777!. |
| 13052 | .~777!:~77~. |
| 13053 | ~7777^~~ |
| 13054 | ^7777. |
| 13055 | :77: |
| 13056 | .. |
| 13057 | EOF |
| 13058 | ;; |
| 13059 | |
| 13060 | |
| 13061 | "PNM Linux"* | "WHPNM Linux"*) |
| 13062 | set_colors 33 9 15 202 |
| 13063 | read -rd '' ascii_data <<'EOF' |
| 13064 | |
| 13065 | ${c1} |
| 13066 | ``.---..` `--` |
| 13067 | ``.---........-:.${c2}-::`${c1} |
| 13068 | ${c2}./::-${c1}........${c2}--::.````${c1} |
| 13069 | ${c2}.:://:::${c1}----${c2}::::-..${c1} |
| 13070 | ..${c2}--:::::--::::++-${c1}.` |
| 13071 | ${c2}`-:-`${c1} .-ohy+::${c2}-:::${c1}/sdmdd:.${c2} `-:- |
| 13072 | .-:::${c1}...${c3}sNNmds$y${c1}o/+${c3}sy+NN$m${c1}d+.`${c2}-:::-. |
| 13073 | `.-:-${c1}./${c3}dN${c1}()${c3}yyooosd${c1}()${c3}$m${c1}dy${c2}-.::-.`${c1} |
| 13074 | ${c2}`.${c1}-...-${c3}+hNdyyyyyydmy${c1}:......${c2}`${c1} |
| 13075 | ``..--.....-${c3}yNNm${c4}hssssh${c3}mmdo${c1}.........``` |
| 13076 | `-:://:.....${c3}hNNNNN${c4}mddm${c3}NNNmds${c1}.....//::--` |
| 13077 | ```.:-...${c3}oNNNNNNNNNNNNNNmd/${c1}...:-.``` |
| 13078 | .....${c3}hNNNNNNNNNNNNNNmds${c1}....` |
| 13079 | --...${c3}hNNNNNNNNNNNNNNmdo${c1}..... |
| 13080 | .:...${c3}/NNNNNNNNNNNNNNdd${c1}:....` |
| 13081 | `-...${c3}+mNNNNNNNNNNNmh${c1}:...-. |
| 13082 | ${c4}.:+o+/:-${c1}:+oo+///++o+/:-${c4}:/+ooo/:. |
| 13083 | ${c4}+oo/:o- +oooooso.` |
| 13084 | ${c4}.` ` `/ .-//- |
| 13085 | EOF |
| 13086 | ;; |
| 13087 | |
| 13088 | "popos_small"* | "pop_os_small"*) |
| 13089 | set_colors 6 7 |
| 13090 | read -rd '' ascii_data <<'EOF' |
| 13091 | ${c1}______ |
| 13092 | \\ _ \\ __ |
| 13093 | \\ \\ \\ \\ / / |
| 13094 | \\ \\_\\ \\ / / |
| 13095 | \\ ___\\ /_/ |
| 13096 | \\ \\ _ |
| 13097 | __\\_\\__(_)_ |
| 13098 | (___________)` |
| 13099 | EOF |
| 13100 | ;; |
| 13101 | |
| 13102 | "Pop!_OS"* | "popos"* | "pop_os"*) |
| 13103 | set_colors 6 7 |
| 13104 | read -rd '' ascii_data <<'EOF' |
| 13105 | ${c1} ///////////// |
| 13106 | ///////////////////// |
| 13107 | ///////${c2}*767${c1}//////////////// |
| 13108 | //////${c2}7676767676*${c1}////////////// |
| 13109 | /////${c2}76767${c1}//${c2}7676767${c1}////////////// |
| 13110 | /////${c2}767676${c1}///${c2}*76767${c1}/////////////// |
| 13111 | ///////${c2}767676${c1}///${c2}76767${c1}.///${c2}7676*${c1}/////// |
| 13112 | /////////${c2}767676${c1}//${c2}76767${c1}///${c2}767676${c1}//////// |
| 13113 | //////////${c2}76767676767${c1}////${c2}76767${c1}///////// |
| 13114 | ///////////${c2}76767676${c1}//////${c2}7676${c1}////////// |
| 13115 | ////////////,${c2}7676${c1},///////${c2}767${c1}/////////// |
| 13116 | /////////////*${c2}7676${c1}///////${c2}76${c1}//////////// |
| 13117 | ///////////////${c2}7676${c1}//////////////////// |
| 13118 | ///////////////${c2}7676${c1}///${c2}767${c1}//////////// |
| 13119 | //////////////////////${c2}'${c1}//////////// |
| 13120 | //////${c2}.7676767676767676767,${c1}////// |
| 13121 | /////${c2}767676767676767676767${c1}///// |
| 13122 | /////////////////////////// |
| 13123 | ///////////////////// |
| 13124 | ///////////// |
| 13125 | EOF |
| 13126 | ;; |
| 13127 | |
| 13128 | "Porteus"*) |
| 13129 | set_colors 6 7 |
| 13130 | read -rd '' ascii_data <<'EOF' |
| 13131 | ${c1} `.-:::-.` |
| 13132 | -+ydmNNNNNNNmdy+- |
| 13133 | .+dNmdhs+//////+shdmdo. |
| 13134 | .smmy+-` ./sdy: |
| 13135 | `omdo. `.-/+osssso+/-` `+dy. |
| 13136 | `yms. `:shmNmdhsoo++osyyo-``oh. |
| 13137 | hm/ .odNmds/.` ``.....:::-+s |
| 13138 | /m: `+dNmy:` `./oyhhhhyyooo++so |
| 13139 | ys `yNmy- .+hmmho:-.` ``` |
| 13140 | s: yNm+` .smNd+. |
| 13141 | `` /Nm: +dNd+` |
| 13142 | yN+ `smNy. |
| 13143 | dm oNNy` |
| 13144 | hy -mNm. |
| 13145 | +y oNNo |
| 13146 | `y` sNN: |
| 13147 | `: +NN: |
| 13148 | ` .mNo |
| 13149 | /mm` |
| 13150 | /my` |
| 13151 | .sy` |
| 13152 | .+: |
| 13153 | ` |
| 13154 | EOF |
| 13155 | ;; |
| 13156 | |
| 13157 | "postmarketos_small") |
| 13158 | set_colors 2 7 |
| 13159 | read -rd '' ascii_data <<'EOF' |
| 13160 | ${c1} /\\ |
| 13161 | / \\ |
| 13162 | / \\ |
| 13163 | \\__ \\ |
| 13164 | /\\__ \\ _\\ |
| 13165 | / / \\/ __ |
| 13166 | / / ____/ \\ |
| 13167 | / \\ \\ \\ |
| 13168 | /_____/ /________\\ |
| 13169 | EOF |
| 13170 | ;; |
| 13171 | |
| 13172 | "PostMarketOS"*) |
| 13173 | set_colors 2 7 |
| 13174 | read -rd '' ascii_data <<'EOF' |
| 13175 | ${c1} /\\ |
| 13176 | / \\ |
| 13177 | / \\ |
| 13178 | / \\ |
| 13179 | / \\ |
| 13180 | / \\ |
| 13181 | \\ \\ |
| 13182 | /\\ \\____ \\ |
| 13183 | / \\____ \\ \\ |
| 13184 | / / \\ \\ |
| 13185 | / / \\ ___\\ |
| 13186 | / / \\ / ____ |
| 13187 | / / \\/ / \\ |
| 13188 | / / __________/ \\ |
| 13189 | / \\ \\ \\ |
| 13190 | / \\ \\ \\ |
| 13191 | / / / \\ |
| 13192 | /___________/ /____________________\\ |
| 13193 | EOF |
| 13194 | ;; |
| 13195 | |
| 13196 | "PuffOS"*) |
| 13197 | set_colors 3 |
| 13198 | read -rd '' ascii_data <<'EOF' |
| 13199 | ${c1} |
| 13200 | _,..._,m, |
| 13201 | ,/' '""; |
| 13202 | / ". |
| 13203 | ,'mmmMMMMmm. \ |
| 13204 | _/-"^^^^^"""%#%mm, ; |
| 13205 | ,m,_,' "###) ;, |
| 13206 | (###% \#/ ;##mm. |
| 13207 | ^#/ __ ___ ; (######) |
| 13208 | ; //.\\ //.\\ ; \####/ |
| 13209 | _; (#\"// \\"/#) ; ,/ |
| 13210 | @##\ \##/ = `"=" ,;mm/ |
| 13211 | `\##>.____,...,____,<####@ |
| 13212 | EOF |
| 13213 | ;; |
| 13214 | |
| 13215 | "Proxmox"*) |
| 13216 | set_colors 7 202 |
| 13217 | read -rd '' ascii_data <<'EOF' |
| 13218 | ${c1} .://:` `://:. |
| 13219 | `hMMMMMMd/ /dMMMMMMh` |
| 13220 | `sMMMMMMMd: :mMMMMMMMs` |
| 13221 | ${c2}`-/+oo+/:${c1}`.yMMMMMMMh- -hMMMMMMMy.`${c2}:/+oo+/-` |
| 13222 | `:oooooooo/${c1}`-hMMMMMMMyyMMMMMMMh-`${c2}/oooooooo:` |
| 13223 | `/oooooooo:${c1}`:mMMMMMMMMMMMMm:`${c2}:oooooooo/` |
| 13224 | ./ooooooo+-${c1} +NMMMMMMMMN+ ${c2}-+ooooooo/. |
| 13225 | .+ooooooo+-${c1}`oNMMMMNo`${c2}-+ooooooo+. |
| 13226 | -+ooooooo/.${c1}`sMMs`${c2}./ooooooo+- |
| 13227 | :oooooooo/${c1}`..`${c2}/oooooooo: |
| 13228 | :oooooooo/`${c1}..${c2}`/oooooooo: |
| 13229 | -+ooooooo/.`${c1}sMMs${c2}`./ooooooo+- |
| 13230 | .+ooooooo+-`${c1}oNMMMMNo${c2}`-+ooooooo+. |
| 13231 | ./ooooooo+-${c1} +NMMMMMMMMN+ ${c2}-+ooooooo/. |
| 13232 | `/oooooooo:`${c1}:mMMMMMMMMMMMMm:${c2}`:oooooooo/` |
| 13233 | `:oooooooo/`${c1}-hMMMMMMMyyMMMMMMMh-${c2}`/oooooooo:` |
| 13234 | `-/+oo+/:`${c1}.yMMMMMMMh- -hMMMMMMMy.${c2}`:/+oo+/-` |
| 13235 | ${c1} `sMMMMMMMm: :dMMMMMMMs` |
| 13236 | `hMMMMMMd/ /dMMMMMMh` |
| 13237 | `://:` `://:` |
| 13238 | EOF |
| 13239 | ;; |
| 13240 | |
| 13241 | "Puppy"* | "Quirky Werewolf"* | "Precise Puppy"*) |
| 13242 | set_colors 4 7 |
| 13243 | read -rd '' ascii_data <<'EOF' |
| 13244 | ${c1} `-/osyyyysosyhhhhhyys+- |
| 13245 | -ohmNNmh+/hMMMMMMMMNNNNd+dMMMMNM+ |
| 13246 | yMMMMNNmmddo/NMMMNNNNNNNNNo+NNNNNy |
| 13247 | .NNNNNNmmmddds:MMNNNNNNNNNNNh:mNNN/ |
| 13248 | -NNNdyyyhdmmmd`dNNNNNmmmmNNmdd/os/ |
| 13249 | .Nm+shddyooo+/smNNNNmmmmNh. :mmd. |
| 13250 | NNNNy:` ./hmmmmmmmNNNN: hNMh |
| 13251 | NMN- -++- +NNNNNNNNNNm+..-sMMMM- |
| 13252 | .MMo oNNNNo hNNNNNNNNmhdNNNMMMMM+ |
| 13253 | .MMs /NNNN/ dNmhs+:-` yMMMMMMMM+ |
| 13254 | mMM+ .. `sNN+. hMMMMhhMMM- |
| 13255 | +MMMmo:...:sNMMMMMms:` hMMMMm.hMMy |
| 13256 | yMMMMMMMMMMMNdMMMMMM::/+o+//dMMd` |
| 13257 | sMMMMMMMMMMN+:oyyo:sMMMNNMMMNy` |
| 13258 | :mMMMMMMMMMMMmddNMMMMMMMMmh/ |
| 13259 | /dMMMMMMMMMMMMMMMMMMNdy/` |
| 13260 | .+hNMMMMMMMMMNmdhs/. |
| 13261 | .:/+ooo+/:-. |
| 13262 | EOF |
| 13263 | ;; |
| 13264 | |
| 13265 | "pureos_small"*) |
| 13266 | set_colors 2 7 7 |
| 13267 | read -rd '' ascii_data <<'EOF' |
| 13268 | ${c1} _____________ |
| 13269 | | _________ | |
| 13270 | | | | | |
| 13271 | | | | | |
| 13272 | | |_________| | |
| 13273 | |_____________| |
| 13274 | EOF |
| 13275 | ;; |
| 13276 | |
| 13277 | "PureOS"*) |
| 13278 | set_colors 2 7 7 |
| 13279 | read -rd '' ascii_data <<'EOF' |
| 13280 | ${c1}dmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmd |
| 13281 | dNm//////////////////////////////////mNd |
| 13282 | dNd dNd |
| 13283 | dNd dNd |
| 13284 | dNd dNd |
| 13285 | dNd dNd |
| 13286 | dNd dNd |
| 13287 | dNd dNd |
| 13288 | dNd dNd |
| 13289 | dNd dNd |
| 13290 | dNm//////////////////////////////////mNd |
| 13291 | dmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmd |
| 13292 | EOF |
| 13293 | ;; |
| 13294 | |
| 13295 | "Peropesis"*) |
| 13296 | set_colors 4 7 1 |
| 13297 | read -rd '' ascii_data <<'EOF' |
| 13298 | ${c1}#### #### #### ### #### #### #### # #### |
| 13299 | # # # # # # # # # # # # # |
| 13300 | #### ### #### # # #### ### # # # |
| 13301 | # # # # # # # # # # # |
| 13302 | # #### # # ### # #### #### # #### |
| 13303 | EOF |
| 13304 | ;; |
| 13305 | |
| 13306 | "Q4OS"*) |
| 13307 | set_colors 4 1 |
| 13308 | read -rd '' ascii_data <<'EOF' |
| 13309 | ${c1} .:***** :=====. |
| 13310 | ${c1}.:******** :========. |
| 13311 | ${c1} .*********** :===========. |
| 13312 | ${c1}.:************ :============- |
| 13313 | ${c1} .************** :============== |
| 13314 | ${c1} :*************** :=============== |
| 13315 | ${c1}:**************. :=============== |
| 13316 | ${c1}.*************: .=============. |
| 13317 | ${c1}*************. .============: |
| 13318 | |
| 13319 | ${c1}:############. ${c2}:==: |
| 13320 | ${c1}:##############. ${c2}:======: |
| 13321 | ${c1}:################ ${c2}.==========: |
| 13322 | ${c1}:############### ${c2}.===========: |
| 13323 | ${c1}:############## ${c2}.===========: |
| 13324 | ${c1}:############# ${c2}.=========: |
| 13325 | ${c1}:########### ${c2}.=====: |
| 13326 | ${c1}.######### ${c2}.=: |
| 13327 | ${c1}.##### |
| 13328 | EOF |
| 13329 | ;; |
| 13330 | |
| 13331 | "Qubes"*) |
| 13332 | set_colors 4 5 7 6 |
| 13333 | read -rd '' ascii_data <<'EOF' |
| 13334 | ${c1} `..--..` |
| 13335 | `.----------.` |
| 13336 | `..----------------..` |
| 13337 | `.------------------------.`` |
| 13338 | `..-------------....-------------..` |
| 13339 | .::----------..`` ``..----------:+: |
| 13340 | :////:----..` `..---:/ossso |
| 13341 | :///////:` `/osssssso |
| 13342 | :///////: /ssssssso |
| 13343 | :///////: /ssssssso |
| 13344 | :///////: /ssssssso |
| 13345 | :///////: /ssssssso |
| 13346 | :///////: /ssssssso |
| 13347 | :////////-` .:sssssssso |
| 13348 | :///////////-.` `-/osssssssssso |
| 13349 | `//////////////:-```.:+ssssssssssssso- |
| 13350 | .-://////////////sssssssssssssso/-` |
| 13351 | `.:///////////sssssssssssssso:. |
| 13352 | .-:///////ssssssssssssssssss/` |
| 13353 | `.:////ssss+/+ssssssssssss. |
| 13354 | `--//- `-/osssso/. |
| 13355 | EOF |
| 13356 | ;; |
| 13357 | |
| 13358 | "Qubyt"*) |
| 13359 | set_colors 4 5 0 4 |
| 13360 | read -rd '' ascii_data <<'EOF' |
| 13361 | ${c1} ########################${c2}(${c3}ooo |
| 13362 | ${c1} ########################${c2}(${c3}ooo |
| 13363 | ${c1}###${c2}(${c3}ooo ${c1}###${c2}(${c3}ooo |
| 13364 | ${c1}###${c2}(${c3}ooo ${c1}###${c2}(${c3}ooo |
| 13365 | ${c1}###${c2}(${c3}ooo ${c1}###${c2}(${c3}ooo |
| 13366 | ${c1}###${c2}(${c3}ooo ${c1}###${c2}(${c3}ooo |
| 13367 | ${c1}###${c2}(${c3}ooo ${c1}###${c2}(${c3}ooo |
| 13368 | ${c1}###${c2}(${c3}ooo ${c1}###${c2}(${c3}ooo |
| 13369 | ${c1}###${c2}(${c3}ooo ${c1}##${c3}o ${c2}((((${c3}ooo |
| 13370 | ${c1}###${c2}(${c3}ooo o${c2}((${c1}### ${c3}oooooo |
| 13371 | ${c1}###${c2}(${c3}ooo oo${c2}((${c1}###${c3}o |
| 13372 | ${c1}###${c2}(${c3}ooo ooo${c2}((${c1}### |
| 13373 | ${c1}################${c2}(${c3}oo oo${c2}((((${c3}o |
| 13374 | ${c2}(((((((((((((((((${c3}ooo ooooo |
| 13375 | oooooooooooooooooo o |
| 13376 | EOF |
| 13377 | ;; |
| 13378 | |
| 13379 | "Quibian"*) |
| 13380 | set_colors 3 7 |
| 13381 | read -rd '' ascii_data <<'EOF' |
| 13382 | ${c1} `.--::::::::--.` |
| 13383 | `.-:::-..`` ``..-::-.` |
| 13384 | .::::-` .${c2}+${c1}:`` `.-::.` |
| 13385 | .::::.` -::::::-` `.::. |
| 13386 | `-:::-` -:::::::::--..`` .::` |
| 13387 | `::::- .${c2}oy${c1}:::::::---.```.: `::` |
| 13388 | -:::: `.-:::::::::::-.``` `:: |
| 13389 | .::::.`-:::::::::::::. `:. |
| 13390 | -::::.::::::::::::::: -: |
| 13391 | ::::::::::::::::::::` `: |
| 13392 | :::::::::::::::::::- `: |
| 13393 | ::::::::::::::::::: -- |
| 13394 | .:::::::::::::::::` `:` |
| 13395 | `::::::::::::::::: -` |
| 13396 | .:::::::::::::::- -` |
| 13397 | `::::::::::::::- `.` |
| 13398 | .::::::::::::- `` |
| 13399 | `.--:::::-. |
| 13400 | EOF |
| 13401 | ;; |
| 13402 | |
| 13403 | "Radix"*) |
| 13404 | set_colors 1 2 |
| 13405 | read -rd '' ascii_data <<'EOF' |
| 13406 | ${c2} .:oyhdmNo |
| 13407 | `/yhyoosdms` |
| 13408 | -o+/ohmmho- |
| 13409 | ..`.:/:-` |
| 13410 | `.--:::-.``${c1} |
| 13411 | .+ydNMMMMMMNmhs:` |
| 13412 | `omMMMMMMMMMMMMMMNh- |
| 13413 | oNMMMNmddhhyyhhhddmy. |
| 13414 | mMMMMNmmddhhysoo+/:-` |
| 13415 | yMMMMMMMMMMMMMMMMNNh. |
| 13416 | -dmmmmmNNMMMMMMMMMMs` |
| 13417 | -+oossyhmMMMMMMMMd- |
| 13418 | `sNMMMMMMMMMMMMMm: |
| 13419 | `yMMMMMMNmdhhhh: |
| 13420 | `sNMMMMMNmmho. |
| 13421 | `+mMMMMMMMy. |
| 13422 | .yNMMMm+` |
| 13423 | `:yd+. |
| 13424 | EOF |
| 13425 | ;; |
| 13426 | |
| 13427 | "Raspbian_small"*) |
| 13428 | set_colors 2 1 |
| 13429 | read -rd '' ascii_data <<'EOF' |
| 13430 | ${c1} .. ,. |
| 13431 | :oo: .:oo: |
| 13432 | 'o\\o o/o: |
| 13433 | ${c2} :: . :: . :: |
| 13434 | :: ::: ::: :: |
| 13435 | :' '',.'' ': |
| 13436 | ::: :::: ::: |
| 13437 | ':, '' ,:' |
| 13438 | ' ~::~ ' |
| 13439 | EOF |
| 13440 | ;; |
| 13441 | |
| 13442 | "Raspbian"*) |
| 13443 | set_colors 2 1 |
| 13444 | read -rd '' ascii_data <<'EOF' |
| 13445 | ${c1} `.::///+:/-. --///+//-:`` |
| 13446 | `+oooooooooooo: `+oooooooooooo: |
| 13447 | /oooo++//ooooo: ooooo+//+ooooo. |
| 13448 | `+ooooooo:-:oo- +o+::/ooooooo: |
| 13449 | `:oooooooo+`` `.oooooooo+- |
| 13450 | `:++ooo/. :+ooo+/.` |
| 13451 | ${c2}...` `.----.` ``.. |
| 13452 | .::::-``:::::::::.`-:::-` |
| 13453 | -:::-` .:::::::-` `-:::- |
| 13454 | `::. `.--.` `` `.---.``.::` |
| 13455 | .::::::::` -::::::::` ` |
| 13456 | .::` .:::::::::- `::::::::::``::. |
| 13457 | -:::` ::::::::::. ::::::::::.`:::- |
| 13458 | :::: -::::::::. `-:::::::: :::: |
| 13459 | -::- .-:::-.``....``.-::-. -::- |
| 13460 | .. `` .::::::::. `..`.. |
| 13461 | -:::-` -::::::::::` .:::::` |
| 13462 | :::::::` -::::::::::` :::::::. |
| 13463 | .::::::: -::::::::. :::::::: |
| 13464 | `-:::::` ..--.` ::::::. |
| 13465 | `...` `...--..` `...` |
| 13466 | .:::::::::: |
| 13467 | `.-::::-` |
| 13468 | EOF |
| 13469 | ;; |
| 13470 | |
| 13471 | "ravynOS") |
| 13472 | set_colors 15 |
| 13473 | read -rd '' ascii_data <<'EOF' |
| 13474 | ${c1} ..oooo.. |
| 13475 | .o$$$$$$$$$$$$$$o. |
| 13476 | od$$$$$$$$$$$$$$$$$$$$$o |
| 13477 | o$$$$$$$$$$$$$$$$$$$$$$$$$$o |
| 13478 | .$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$. |
| 13479 | d$$$$$$$$$********$$$$$$$$$$$$$$$b |
| 13480 | d$$$$$$$* °****?$$$$$$$$b |
| 13481 | $$$$$$* °$$$$$$$ |
| 13482 | d$$** .oo$$$$$$$$b |
| 13483 | *° o$$$$$$$$$$$$$$ |
| 13484 | o$$$$$$$$$$$$$$$$ |
| 13485 | o$$$$$$$$$$$$$$$$$P |
| 13486 | *$$$$$$$$$$$$$$$$$ |
| 13487 | ?$$$$$$$$$$$$$$P |
| 13488 | $$$$$$$$$$$$$P |
| 13489 | $$$$$$$$$$$$P |
| 13490 | ?$$$$$$$$$$* |
| 13491 | $$$$$$$*° |
| 13492 | d$$$$*° |
| 13493 | ° |
| 13494 | EOF |
| 13495 | ;; |
| 13496 | |
| 13497 | "Reborn OS"* | "Reborn"*) |
| 13498 | set_colors 0 4 6 |
| 13499 | read -rd '' ascii_data <<'EOF' |
| 13500 | ${c1} .======================. |
| 13501 | ${c1}.#${c2}#*********${c1}%%${c2}*********#${c1}%: |
| 13502 | ${c1}:%${c2}#**********${c1}%%${c2}**********#${c1}%- |
| 13503 | ${c1}-%${c2}************${c1}%%${c2}************${c1}%= |
| 13504 | ${c1}+%${c2}******${c1}%%#####${c1}%%#####%%${c2}******${c1}%+ |
| 13505 | ${c1}*%%#${c2}****${c1}%#${c3}+=====${c1}%%${c3}=====+${c1}#%${c2}****${c1}#%%* |
| 13506 | ${c1}*%${c2}*#${c1}#%%#%#${c3}====+++${c1}%%${c3}+++====${c1}#%#%%#${c2}#*${c1}##. |
| 13507 | ${c1}.##${c2}*****${c1}#%%%#${c3}*++${c1}%######%${c3}*+*${c1}#%%%#${c2}*****${c1}#%. |
| 13508 | ${c1}:%#${c2}*****${c1}#%${c3}*=+*${c1}#%%${c3}*++++++*${c1}%%#${c3}*+=*${c1}%#${c2}*****${c1}#%: |
| 13509 | ${c1}-%#${c2}*****${c1}#%${c3}+====*${c1}%${c3}*++++++++*${c1}%#${c3}====+${c1}%#${c2}******${c1}%- |
| 13510 | ${c1}-%#${c2}*****${c1}#%${c3}+====*${c1}%${c3}*++++++++*${c1}%#${c3}====+${c1}%#${c2}******${c1}%= |
| 13511 | ${c1}:%#${c2}*****${c1}#%${c3}*=+*${c1}#%%${c3}*++++++*${c1}%%#${c3}*+=*${c1}%#${c2}*****${c1}#%- |
| 13512 | ${c1}.##${c2}*****${c1}#%%%#${c3}*+*${c1}%######%${c3}*+*${c1}#%%%#${c2}*****${c1}#%: |
| 13513 | ${c1}.##${c2}**${c1}#%%#%#${c3}====+++${c1}%%${c3}+++====${c1}#%#%%#${c2}#*${c1}##. |
| 13514 | ${c1}*%%#${c2}****${c1}%#${c3}+=====${c1}%%${c3}=====+${c1}#%${c2}****${c1}#%%* |
| 13515 | ${c1}+%${c2}******${c1}%%#####%%#####%%${c2}******${c1}%* |
| 13516 | ${c1}-%${c2}************${c1}%%${c2}************${c1}%= |
| 13517 | ${c1}:%${c2}#**********${c1}%%${c2}**********#${c1}%- |
| 13518 | ${c1}:%${c2}#*********${c1}%%${c2}*********#${c1}%: |
| 13519 | ${c1}.======================. |
| 13520 | EOF |
| 13521 | ;; |
| 13522 | |
| 13523 | "Red Star"* | "Redstar"*) |
| 13524 | set_colors 1 7 3 |
| 13525 | read -rd '' ascii_data <<'EOF' |
| 13526 | ${c1} .. |
| 13527 | .oK0l |
| 13528 | :0KKKKd. |
| 13529 | .xKO0KKKKd |
| 13530 | ,Od' .d0000l |
| 13531 | .c;. .'''... ..'. |
| 13532 | .,:cloddxxxkkkkOOOOkkkkkkkkxxxxxxxxxkkkx: |
| 13533 | ;kOOOOOOOkxOkc'...',;;;;,,,'',;;:cllc:,. |
| 13534 | .okkkkd,.lko .......',;:cllc:;,,'''''. |
| 13535 | .cdo. :xd' cd:. ..';'',,,'',,;;;,'. |
| 13536 | . .ddl.;doooc'..;oc;'..';::;,'. |
| 13537 | coo;.oooolllllllcccc:'. . |
| 13538 | .ool''lllllccccccc:::::;. |
| 13539 | ;lll. .':cccc:::::::;;;;' |
| 13540 | :lcc:'',..';::::;;;;;;;,,. |
| 13541 | :cccc::::;...';;;;;,,,,,,. |
| 13542 | ,::::::;;;,'. ..',,,,'''. |
| 13543 | ........ ...... |
| 13544 | EOF |
| 13545 | ;; |
| 13546 | |
| 13547 | "Redcore"*) |
| 13548 | set_colors 1 |
| 13549 | read -rd '' ascii_data <<'EOF' |
| 13550 | ${c1} RRRRRRRRR |
| 13551 | RRRRRRRRRRRRR |
| 13552 | RRRRRRRRRR RRRRR |
| 13553 | RRRRRRRRRRRRRRRRRRRRRRRRRRR |
| 13554 | RRRRRRR RRR RRR RRRRRRRR |
| 13555 | RRRRR RR RRRRRRRRR |
| 13556 | RRRR RR RRRRRRRR RR RRRRRR |
| 13557 | RRRR R RRRRRRRRRRRRRR RR RRRRR |
| 13558 | RRRR R RRRRRRRRRRRRRRRRRR R RRRRR |
| 13559 | RRRR RRRRRRRRRRRRRRRRRRR R RRRR |
| 13560 | RRR RRRRRRRRRRRRRRRRRRRR R RRRR |
| 13561 | RRR RRRRRRRRRRRRRRRRRRRR RRRR |
| 13562 | RR RRRRRRRRRRRRRRRRRRR RRR |
| 13563 | RR RRRRRRRRRRRRRRRRR RRR |
| 13564 | RR RRRRRRRRRRRRRR RR |
| 13565 | R RRRR RR |
| 13566 | EOF |
| 13567 | ;; |
| 13568 | |
| 13569 | "redhat_old" | "rhel_old"*) |
| 13570 | set_colors 1 7 3 |
| 13571 | read -rd '' ascii_data <<'EOF' |
| 13572 | ${c1} `.-..........` |
| 13573 | `////////::.`-/. |
| 13574 | -: ....-////////. |
| 13575 | //:-::///////////` |
| 13576 | `--::: `-://////////////: |
| 13577 | //////- ``.-:///////// .` |
| 13578 | `://////:-.` :///////::///:` |
| 13579 | .-/////////:---/////////////: |
| 13580 | .-://////////////////////. |
| 13581 | ${c2} yMN+`.-${c1}::///////////////-` |
| 13582 | ${c2} .-`:NMMNMs` `..-------..` |
| 13583 | MN+/mMMMMMhoooyysshsss |
| 13584 | MMM MMMMMMMMMMMMMMyyddMMM+ |
| 13585 | MMMM MMMMMMMMMMMMMNdyNMMh` hyhMMM |
| 13586 | MMMMMMMMMMMMMMMMyoNNNMMM+. MMMMMMMM |
| 13587 | MMNMMMNNMMMMMNM+ mhsMNyyyyMNMMMMsMM |
| 13588 | EOF |
| 13589 | ;; |
| 13590 | |
| 13591 | "Redhat"* | "Red Hat"* | "rhel"*) |
| 13592 | set_colors 1 |
| 13593 | read -rd '' ascii_data <<'EOF' |
| 13594 | ${c1} .MMM..:MMMMMMM |
| 13595 | MMMMMMMMMMMMMMMMMM |
| 13596 | MMMMMMMMMMMMMMMMMMMM. |
| 13597 | MMMMMMMMMMMMMMMMMMMMMM |
| 13598 | ,MMMMMMMMMMMMMMMMMMMMMM: |
| 13599 | MMMMMMMMMMMMMMMMMMMMMMMM |
| 13600 | .MMMM' MMMMMMMMMMMMMMMMMMMMMM |
| 13601 | MMMMMM `MMMMMMMMMMMMMMMMMMMM. |
| 13602 | MMMMMMMM MMMMMMMMMMMMMMMMMM . |
| 13603 | MMMMMMMMM. `MMMMMMMMMMMMM' MM. |
| 13604 | MMMMMMMMMMM. MMMM |
| 13605 | `MMMMMMMMMMMMM. ,MMMMM. |
| 13606 | `MMMMMMMMMMMMMMMMM. ,MMMMMMMM. |
| 13607 | MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM |
| 13608 | MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM: |
| 13609 | MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM |
| 13610 | `MMMMMMMMMMMMMMMMMMMMMMMM: |
| 13611 | ``MMMMMMMMMMMMMMMMM' |
| 13612 | EOF |
| 13613 | ;; |
| 13614 | |
| 13615 | "Refracted Devuan"* | "Refracted_Devuan"*) |
| 13616 | set_colors 8 7 |
| 13617 | read -rd '' ascii_data <<'EOF' |
| 13618 | ${c2} A |
| 13619 | VW |
| 13620 | VVW\\ |
| 13621 | .yWWW\\ |
| 13622 | ,;,,u,;yy;;v;uyyyyyyy ,WWWWW^ |
| 13623 | *WWWWWWWWWWWWWWWW/ $VWWWWw , |
| 13624 | ^*%WWWWWWVWWX $WWWW** ,yy |
| 13625 | , "**WWW/' **' ,yy/WWW*` |
| 13626 | &WWWWwy `*` <,ywWW%VWWW* |
| 13627 | yWWWWWWWWWW* ., "**WW%W |
| 13628 | ,&WWWWWM*"` ,y/ &WWWww ^* |
| 13629 | XWWX*^ ,yWWWW09 .WWWWWWWWwy, |
| 13630 | *` &WWWWWM WWWWWWWWWWWWWww, |
| 13631 | (WWWWW` /#####WWW*********** |
| 13632 | ^WWWW |
| 13633 | VWW |
| 13634 | Wh. |
| 13635 | V/ |
| 13636 | EOF |
| 13637 | ;; |
| 13638 | |
| 13639 | "Regata"*) |
| 13640 | set_colors 7 1 4 5 3 2 |
| 13641 | read -rd '' ascii_data <<'EOF' |
| 13642 | ${c1} ddhso+++++osydd |
| 13643 | dho/.`hh${c2}.:/+/:.${c1}hhh`:+yd |
| 13644 | do-hhhhhh${c2}/sssssss+`${c1}hhhhh./yd |
| 13645 | h/`hhhhhhh${c2}-sssssssss:${c1}hhhhhhhh-yd |
| 13646 | do`hhhhhhhhh${c2}`ossssssso.${c1}hhhhhhhhhh/d |
| 13647 | d/hhhhhhhhhhhh${c2}`/ossso/.${c1}hhhhhhhhhhhh.h |
| 13648 | /hhhhhhhhhhhh${c3}`-/osyso/-`${c1}hhhhhhhhhhhh.h |
| 13649 | shh${c4}-/ooo+-${c1}hhh${c3}:syyso+osyys/`${c1}hhh${c5}`+oo`${c1}hhh/ |
| 13650 | h${c4}`ohhhhhhho`${c3}+yyo.${c1}hhhhh${c3}.+yyo`${c5}.sssssss.${c1}h`h |
| 13651 | s${c4}:hhhhhhhhho${c3}yys`${c1}hhhhhhh${c3}.oyy/${c5}ossssssso-${c1}hs |
| 13652 | s${c4}.yhhhhhhhy/${c3}yys`${c1}hhhhhhh${c3}.oyy/${c5}ossssssso-${c1}hs |
| 13653 | hh${c4}./syyys+.${c1} ${c3}+yy+.${c1}hhhhh${c3}.+yyo`${c5}.ossssso/${c1}h`h |
| 13654 | shhh${c4}``.`${c1}hhh${c3}`/syyso++oyys/`${c1}hhh${c5}`+++-`${c1}hh:h |
| 13655 | d/hhhhhhhhhhhh${c3}`-/osyso+-`${c1}hhhhhhhhhhhh.h |
| 13656 | d/hhhhhhhhhhhh${c6}`/ossso/.${c1}hhhhhhhhhhhh.h |
| 13657 | do`hhhhhhhhh${c6}`ossssssso.${c1}hhhhhhhhhh:h |
| 13658 | h/`hhhhhhh${c6}-sssssssss:${c1}hhhhhhhh-yd |
| 13659 | h+.hhhhhh${c6}+sssssss+${c1}hhhhhh`/yd |
| 13660 | dho:.hhh${c6}.:+++/.${c1}hhh`-+yd |
| 13661 | ddhso+++++osyhd |
| 13662 | EOF |
| 13663 | ;; |
| 13664 | |
| 13665 | "Regolith"*) |
| 13666 | set_colors 1 |
| 13667 | read -rd '' ascii_data <<'EOF' |
| 13668 | ${c1} |
| 13669 | ``....``` |
| 13670 | `.:/++++++/::-.` |
| 13671 | -/+++++++:.` |
| 13672 | -++++++++:` |
| 13673 | `/++++++++- |
| 13674 | `/++++++++. -/+/ |
| 13675 | /++++++++/ `` .:+++:. |
| 13676 | -+++++++++/ ./++++:+++/-` |
| 13677 | :+++++++++/ `+++++++/-` |
| 13678 | :++++++++++` .-/+++++++` |
| 13679 | `:++++++++++/``.-/++++:-:::-` ` |
| 13680 | `:+++++++++++++++++/:.` ./` |
| 13681 | :++/-:+++++++++/:-.. -/+. |
| 13682 | +++++++++/::-...:/+++/-..````..-/+++. |
| 13683 | `......``.::/+++++++++++++++++++++/. |
| 13684 | -/+++++++++++++++++++++/. |
| 13685 | .:/+++++++++++++++/-` |
| 13686 | `.-:://////:-. |
| 13687 | EOF |
| 13688 | ;; |
| 13689 | |
| 13690 | "RhaymOS"*) |
| 13691 | set_colors 1 |
| 13692 | read -rd '' ascii_data <<'EOF' |
| 13693 | ${c1} |
| 13694 | ### |
| 13695 | ##### |
| 13696 | |
| 13697 | ####### /######## |
| 13698 | ############# ########### |
| 13699 | ,########### #### ####(.. |
| 13700 | #### #### ####* ########## |
| 13701 | #### ##### ##### (#### |
| 13702 | #### ########### ########### |
| 13703 | #### ######### ########## |
| 13704 | |
| 13705 | ################################### |
| 13706 | ##################################### |
| 13707 | ####################################### |
| 13708 | EOF |
| 13709 | ;; |
| 13710 | |
| 13711 | "rocky_small"*) |
| 13712 | set_colors 2 |
| 13713 | read -rd '' ascii_data <<'EOF' |
| 13714 | ${c1} `-/+++++++++/-.` |
| 13715 | `-+++++++++++++++++-` |
| 13716 | .+++++++++++++++++++++. |
| 13717 | -+++++++++++++++++++++++. |
| 13718 | +++++++++++++++/-/+++++++ |
| 13719 | +++++++++++++/. ./+++++ |
| 13720 | +++++++++++:. ./+++ |
| 13721 | +++++++++:` `:/:` .:/ |
| 13722 | -++++++:` .:+++++:` |
| 13723 | .+++-` ./+++++++++:` |
| 13724 | `-` ./+++++++++++- |
| 13725 | -+++++++++:-.` |
| 13726 | EOF |
| 13727 | ;; |
| 13728 | |
| 13729 | "rocky"*) |
| 13730 | set_colors 35 |
| 13731 | read -rd '' ascii_data <<'EOF' |
| 13732 | ${c1} __wgliliiligw_, |
| 13733 | _williiiiiiliilililw, |
| 13734 | _%iiiiiilililiiiiiiiiiii_ |
| 13735 | .Qliiiililiiiiiiililililiilm. |
| 13736 | _iiiiiliiiiiililiiiiiiiiiiliil, |
| 13737 | .lililiiilililiiiilililililiiiii, |
| 13738 | _liiiiiiliiiiiiiliiiiiF{iiiiiilili, |
| 13739 | jliililiiilililiiili@` ~ililiiiiiL |
| 13740 | iiiliiiiliiiiiiili>` ~liililii |
| 13741 | liliiiliiilililii` -9liiiil |
| 13742 | iiiiiliiliiiiii~ "4lili |
| 13743 | 4ililiiiiilil~| -w, )4lf |
| 13744 | -liiiiililiF' _liig, )' |
| 13745 | )iiiliii@` _QIililig, |
| 13746 | )iiii>` .Qliliiiililw |
| 13747 | )<>~ .mliiiiiliiiiiil, |
| 13748 | _gllilililiililii~ |
| 13749 | giliiiiiiiiiiiiT` |
| 13750 | -^~$ililili@~~' |
| 13751 | EOF |
| 13752 | ;; |
| 13753 | |
| 13754 | "Rosa"*) |
| 13755 | set_colors 4 7 1 |
| 13756 | read -rd '' ascii_data <<'EOF' |
| 13757 | ${c1} ROSAROSAROSAROSAR |
| 13758 | ROSA AROS |
| 13759 | ROS SAROSAROSAROSAR AROS |
| 13760 | RO ROSAROSAROSAROSAROSAR RO |
| 13761 | ARO AROSAROSAROSARO AROS ROS |
| 13762 | ARO ROSAROS OSAR ROSA ROS |
| 13763 | RO AROSA ROSAROSAROSA ROSAR RO |
| 13764 | RO ROSAR ROSAROSAROSAR R ROSARO RO |
| 13765 | RO ROSA AROSAROSAROSA AR ROSARO AR |
| 13766 | RO AROS ROSAROSAROSA ROS AROSARO AR |
| 13767 | RO AROS ROSAROSARO ROSARO ROSARO AR |
| 13768 | RO ROS AROSAROS ROSAROSA AROSAR AR |
| 13769 | RO ROSA ROS ROSAROSAR ROSARO RO |
| 13770 | RO ROS AROSAROSAROSA ROSARO AR |
| 13771 | ARO ROSA ROSAROSAROS AROSAR ARO |
| 13772 | ARO OROSA R ROSAROS ROS |
| 13773 | RO AROSAROS AROSAROSAR RO |
| 13774 | AROS AROSAROSAROSARO AROS |
| 13775 | ROSA SARO |
| 13776 | ROSAROSAROSAROSAR |
| 13777 | EOF |
| 13778 | ;; |
| 13779 | |
| 13780 | "Astra Linux"*) |
| 13781 | if [[ $ascii_distro == *"ALCE"* ]]; then |
| 13782 | set_colors 160 231 |
| 13783 | else |
| 13784 | set_colors 32 231 |
| 13785 | fi |
| 13786 | read -rd '' ascii_data <<'EOF' |
| 13787 | ${c1} AA |
| 13788 | ${c1} AaaA |
| 13789 | ${c1} Aa${c2}/\\${c1}aA |
| 13790 | ${c1} Aa${c2}/${c1}aa${c2}\\${c1}aA |
| 13791 | ${c1} Aa${c2}/${c1}aAAa${c2}\\${c1}aA |
| 13792 | ${c1} aA${c2}/${c1}aaAAaa${c2}\\${c1}Aa |
| 13793 | ${c1} aA${c2}/${c1}aaAAAAaa${c2}\\${c1}Aa |
| 13794 | ${c1} aaaaaaAAAAa${c2}/${c1}aaAAAAAAaa${c2}\\${c1}aAAAAaaaaa |
| 13795 | ${c1} aAAa${c2}-----${c1}aaaaaAAAAAAAAAAaaaaa${c2}-----${c1}aAAa |
| 13796 | ${c1} aAA${c2}\ ${c1}aAAAAAAAAAAAAAAAAAAAAAAa${c2} /${c1}AAa |
| 13797 | ${c1} aAa${c2}\\${c1}aAAA${c2}\\${c1}AAAA${c2}\\${c1}AAAA${c2}\\${c1}AAA${c2}\\${c1}AAa${c2}/${c1}aAa |
| 13798 | ${c1} aAa${c2}\\${c1}aA${c2}\\\\${c1}AAA${c2}\\\\${c1}AAA${c2}\\\\${c1}AA${c2}\\\\/${c1}aAa |
| 13799 | ${c1} aAA${c2}\\${c1}aA${c2}\\\\${c1}AAA${c2}\\\\${c1}AAA${c2}\\\\${c1}Aa${c2}/${c1}AAa |
| 13800 | ${c1} aA${c2}\\${c1}aA${c2}\\\\${c1}AAA${c2}\\\\${c1}AAA${c2}\\\\/${c1}Aa |
| 13801 | ${c1} aA${c2}/${c1}AA${c2}\\\\\\${c1}AA${c2}\\\\\\${c1}AA${c2}\\\\\\${c1}Aa |
| 13802 | ${c1} aA${c2}/\\${c1}AAa${c2}\\\\\\${c1}Aa${c2}\\\\\\${c1}Aa${c2}\\\\\\${c1}Aa |
| 13803 | ${c1} aA${c2}/\\\\${c1}AAa${c2}\\\\/\\${c1}a${c2}\\\\\\${c1}Aa${c2}\\\\${c1}Aa |
| 13804 | ${c1} aA${c2}/${c1}a${c2}\\\\\\${c1}Aa${c2}\\/${c1}AA${c2}\\\\\\\\\\${c1}Aa${c2}\\\\${c1}Aa |
| 13805 | ${c1} aA${c2}/${c1}aA${c2}\\\\/${c1}aAa aAa${c2}\\\\\\${c1}Aa${c2}\\${c1}Aa |
| 13806 | ${c1} aA${c2}/\\${c1}A${c2}\\/${c1}Aa aA${c2}\\\\${c1}A${c2}\\\\${c1}Aa |
| 13807 | ${c1} A${c2}|/${c1}aaAa aAaa${c2}\\|${c1}A |
| 13808 | ${c1} aAaa aaAa |
| 13809 | EOF |
| 13810 | ;; |
| 13811 | |
| 13812 | "sabotage"*) |
| 13813 | set_colors 4 7 1 |
| 13814 | read -rd '' ascii_data <<'EOF' |
| 13815 | ${c2} .|'''.| | '||''|. ..|''|| |
| 13816 | ||.. ' ||| || || .|' || |
| 13817 | ''|||. | || ||'''|. || || |
| 13818 | . '|| .''''|. || || '|. || |
| 13819 | |'....|' .|. .||. .||...|' ''|...|' |
| 13820 | |
| 13821 | |''||''| | ..|'''.| '||''''| |
| 13822 | || ||| .|' ' || . |
| 13823 | || | || || .... ||''| |
| 13824 | || .''''|. '|. || || |
| 13825 | .||. .|. .||. ''|...'| .||.....| |
| 13826 | EOF |
| 13827 | ;; |
| 13828 | |
| 13829 | "Sabayon"*) |
| 13830 | set_colors 4 7 1 |
| 13831 | read -rd '' ascii_data <<'EOF' |
| 13832 | ${c1} ........... |
| 13833 | .. .. |
| 13834 | .. .. |
| 13835 | .. ${c2}o ${c1}.. |
| 13836 | .. ${c2}:W' ${c1}.. |
| 13837 | .. ${c2}.d. ${c1}.. |
| 13838 | :. ${c2}.KNO ${c1}.: |
| 13839 | :. ${c2}cNNN. ${c1}.: |
| 13840 | : ${c2}dXXX, ${c1}: |
| 13841 | : ${c2}. dXXX, .cd, ${c1}: |
| 13842 | : ${c2}'kc .. dKKK. ,ll;:' ${c1}: |
| 13843 | : ${c2}.xkkxc;..dkkkc',cxkkl ${c1}: |
| 13844 | :. ${c2}.,cdddddddddddddo:. ${c1}.: |
| 13845 | .. ${c2}:lllllll: ${c1}.. |
| 13846 | .. ${c2}',,,,, ${c1}.. |
| 13847 | .. .. |
| 13848 | .. .. |
| 13849 | ............... |
| 13850 | EOF |
| 13851 | ;; |
| 13852 | |
| 13853 | "Sailfish"*) |
| 13854 | set_colors 4 5 7 6 |
| 13855 | read -rd '' ascii_data <<'EOF' |
| 13856 | ${c1} _a@b |
| 13857 | _#b (b |
| 13858 | _@@ @_ _, |
| 13859 | _#^@ _#*^^*gg,aa@^^ |
| 13860 | #- @@^ _a@^^ |
| 13861 | @_ *g#b |
| 13862 | ^@_ ^@_ |
| 13863 | ^@_ @ |
| 13864 | @(b (b |
| 13865 | #b(b#^ |
| 13866 | _@_#@^ |
| 13867 | _a@a*^ |
| 13868 | ,a@*^ |
| 13869 | EOF |
| 13870 | ;; |
| 13871 | |
| 13872 | "SalentOS"*) |
| 13873 | set_colors 2 1 3 7 |
| 13874 | read -rd '' ascii_data <<'EOF' |
| 13875 | ${c1} ``..`` |
| 13876 | .-:+oshdNMMMMMMNdhyo+:-.` |
| 13877 | -oydmMMMMMMMMMMMMMMMMMMMMMMMMMMNdhs/ |
| 13878 | ${c4} +hdddm${c1}NMMMMMMMMMMMMMMMMMMMMMMMMN${c4}mdddh+` |
| 13879 | ${c2}`MMMMMN${c4}mdddddm${c1}MMMMMMMMMMMM${c4}mdddddm${c3}NMMMMM- |
| 13880 | ${c2} mMMMMMMMMMMMN${c4}ddddhyyhhddd${c3}NMMMMMMMMMMMM` |
| 13881 | ${c2} dMMMMMMMMMMMMMMMMM${c4}oo${c3}MMMMMMMMMMMMMMMMMN` |
| 13882 | ${c2} yMMMMMMMMMMMMMMMMM${c4}hh${c3}MMMMMMMMMMMMMMMMMd |
| 13883 | ${c2} +MMMMMMMMMMMMMMMMM${c4}hh${c3}MMMMMMMMMMMMMMMMMy |
| 13884 | ${c2} :MMMMMMMMMMMMMMMMM${c4}hh${c3}MMMMMMMMMMMMMMMMMo |
| 13885 | ${c2} .MMMMMMMMMMMMMMMMM${c4}hh${c3}MMMMMMMMMMMMMMMMM/ |
| 13886 | ${c2} `NMMMMMMMMMMMMMMMM${c4}hh${c3}MMMMMMMMMMMMMMMMM- |
| 13887 | ${c2} mMMMMMMMMMMMMMMMM${c4}hh${c3}MMMMMMMMMMMMMMMMN` |
| 13888 | ${c2} hMMMMMMMMMMMMMMMM${c4}hh${c3}MMMMMMMMMMMMMMMMm |
| 13889 | ${c2} /MMMMMMMMMMMMMMMM${c4}hh${c3}MMMMMMMMMMMMMMMMy |
| 13890 | ${c2} .+hMMMMMMMMMMMMM${c4}hh${c3}MMMMMMMMMMMMMms: |
| 13891 | ${c2} `:smMMMMMMMMM${c4}hh${c3}MMMMMMMMMNh+. |
| 13892 | ${c2} .+hMMMMMM${c4}hh${c3}MMMMMMdo: |
| 13893 | ${c2} `:smMM${c4}yy${c3}MMNy/` |
| 13894 | ${c2}.- ${c4}`${c3}:. |
| 13895 | EOF |
| 13896 | ;; |
| 13897 | |
| 13898 | "ShastraOS"*) |
| 13899 | set_colors 6 |
| 13900 | read -rd '' ascii_data <<'EOF' |
| 13901 | ${c1} ..,;;,'. |
| 13902 | ':oo. ;o: |
| 13903 | :o, ol |
| 13904 | .oo ..';co: |
| 13905 | ooo',;:looo; |
| 13906 | .;lddl |
| 13907 | cx .xl .c:' |
| 13908 | dd xx xx ,d; |
| 13909 | .xd cx. xx dd. |
| 13910 | cx: .xo xx ,x: |
| 13911 | 'xl xx cx' .xl |
| 13912 | xd, xx .xd dx. |
| 13913 | .xo:xx xx .xx |
| 13914 | 'c xx:.'lx: |
| 13915 | ..,;cxxxo |
| 13916 | .';:codxxl lxo |
| 13917 | cd. 'xo |
| 13918 | :o, 'ld |
| 13919 | .oc'...';lo |
| 13920 | EOF |
| 13921 | ;; |
| 13922 | |
| 13923 | "Sasanqua"*) |
| 13924 | set_colors 5 1 5 |
| 13925 | read -rd '' ascii_data <<'EOF' |
| 13926 | ${c1} |
| 13927 | |
| 13928 | __,_ |
| 13929 | _╕⌐≡µ,√* º≡, |
| 13930 | ñ "' ░ |
| 13931 | ╞) _, ▒ __ |
| 13932 | _,,,_ _Ñ╜^≡µ ≡' 1µ╕º^el "%µ |
| 13933 | ∩' K Yµ& 1l ╞) |
| 13934 | ▒ √" ^Ü 1" `1µ |
| 13935 | Γ ║h _¿▒∞√;, ^≡, |
| 13936 | K ^u_ ⌐* ╙¥ ╓Ñ |
| 13937 | ⌠ º≡u,, ║I Å |
| 13938 | Ü _∩" ║µ_¿╝" |
| 13939 | Yu_ ▒ ╙º≡_ ║l1µ |
| 13940 | ║l , Y∞µ___≡ª Γl |
| 13941 | ╓hⁿ╖I 1l Ñ ╓Ñ |
| 13942 | Ñ ¥,___≡1l ╓Ñ ¿╕ª |
| 13943 | Ü ╙L ¿¿∩ª ╓P |
| 13944 | ª≡,__ *ⁿ┤ⁿÑⁿ^µ √ª |
| 13945 | ⁿ≡,,__√╝* "ⁿⁿ*" |
| 13946 | EOF |
| 13947 | ;; |
| 13948 | |
| 13949 | "Salient OS"* | "SalientOS"* | "salientos"*) |
| 13950 | set_colors 6 6 7 1 |
| 13951 | read -rd '' ascii_data <<'EOF' |
| 13952 | ${c1} 00xxxx0 |
| 13953 | 00xxxxxx0 |
| 13954 | 0xxxxxxxxx 000000 |
| 13955 | 0xxxxxxxxxx xxxxxxxxxx0 |
| 13956 | 0xxxxxxxxxxx0 xxxxxxxxxxxxx0 |
| 13957 | 0xxxxxxxxxxxx0 0xxxxxxxxxxxxxx0 |
| 13958 | 0xxxxxxxxxxxxx0 0xxxxxxxxxxxxxxx0 |
| 13959 | 0xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx0 |
| 13960 | xxxxxxxxxxxxxxxx0 0xxxxxxxxxxxxxxxx |
| 13961 | xxxxxxxxxxxxxxxxx 0xxxxxxxxxxxxxxx |
| 13962 | xxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxx |
| 13963 | xxxxxxxxxxxxxxxxxx0 xxxxxxxxxxxxxx |
| 13964 | 0xxxxxxxxxxxxxxxxxx0 0xxxxxxxxxxxx0 |
| 13965 | 0xxxxxxxxxxxxxxxxxx xxxxxxxxxxx0 |
| 13966 | 0xxxxxxxxxxxxxxxxx xxxxxxxxxx0 |
| 13967 | 0xxxxxxxxxxxxxxxx xxxxxxxxx0 |
| 13968 | 0xxxxxxxxxxxx0 0xxxxxxx0 |
| 13969 | 0xxxxxxx0 xxxxxx0 |
| 13970 | 0xxx00 |
| 13971 | x00 |
| 13972 | EOF |
| 13973 | ;; |
| 13974 | |
| 13975 | "Salix"*) |
| 13976 | set_colors 2 |
| 13977 | read -rd '' ascii_data <<'EOF' |
| 13978 | ${c1} __s_aaaaaaaaauuoXSSSSSSSS: |
| 13979 | ._xSSSSSSSSSSSSSSSSSSSSSSSSSS: |
| 13980 | _aSSSSSSSSSSSSSSSSSSSSSSSSSSSSS: |
| 13981 | _xSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS: |
| 13982 | <XSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS: |
| 13983 | -"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^' |
| 13984 | |
| 13985 | .ssssssssssssssssssssssssssssssssssss |
| 13986 | {SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSl |
| 13987 | oSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS; |
| 13988 | :XSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS; |
| 13989 | {SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS |
| 13990 | -"""""""""""""""""""""""""""""""""""' |
| 13991 | |
| 13992 | <assssssssssssssssssssssssssssssss> |
| 13993 | nSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS} |
| 13994 | nSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS}` |
| 13995 | XSSSSSSSSSSSSSSSSSSSSSSSSSSSS"` |
| 13996 | SSSSSSSSSSSSSSSSSSSSSSSSS!"` |
| 13997 | -""""""""""""""""""""""` |
| 13998 | EOF |
| 13999 | ;; |
| 14000 | |
| 14001 | "Scientific"*) |
| 14002 | set_colors 4 7 1 |
| 14003 | read -rd '' ascii_data <<'EOF' |
| 14004 | ${c1} =/;;/- |
| 14005 | +: // |
| 14006 | /; /; |
| 14007 | -X H. |
| 14008 | .//;;;:;;-, X= :+ .-;:=;:;#;. |
| 14009 | M- ,=;;;#:, ,:#;;:=, ,@ |
| 14010 | :# :#.=/++++/=.$= #= |
| 14011 | ,#; #/:+/;,,/++:+/ ;+. |
| 14012 | ,+/. ,;@+, ,#H;, ,/+, |
| 14013 | ;+;;/= @. ${c3}.H${c2}#${c3}#X ${c1}-X :///+; |
| 14014 | ;+=;;;.@, ${c2}.X${c3}M${c2}@$. ${c1}=X.//;=#/. |
| 14015 | ,;: :@#= =$H: .+#- |
| 14016 | ,#= #;-///==///-// =#, |
| 14017 | ;+ :#-;;;:;;;;-X- +: |
| 14018 | @- .-;;;;M- =M/;;;-. -X |
| 14019 | :;;::;;-. #- :+ ,-;;-;:== |
| 14020 | ,X H. |
| 14021 | ;/ #= |
| 14022 | // +; |
| 14023 | '////' |
| 14024 | EOF |
| 14025 | ;; |
| 14026 | |
| 14027 | "Septor"*) |
| 14028 | set_colors 4 7 4 |
| 14029 | read -rd '' ascii_data <<'EOF' |
| 14030 | ${c1}ssssssssssssssssssssssssssssssssssssssss |
| 14031 | ssssssssssssssssssssssssssssssssssssssss |
| 14032 | ssssssssssssssssssssssssssssssssssssssss |
| 14033 | ssssssssssssssssssssssssssssssssssssssss |
| 14034 | ssssssssss${c2};okOOOOOOOOOOOOOOko;${c1}ssssssssss |
| 14035 | sssssssss${c2}oNWWWWWWWWWWWWWWWWWWNo${c1}sssssssss |
| 14036 | ssssssss${c2}:WWWWWWWWWWWWWWWWWWWWWW:${c1}ssssssss |
| 14037 | ssssssss${c2}lWWWWWk${c1}ssssssssss${c2}lddddd:${c1}ssssssss |
| 14038 | ssssssss${c2}cWWWWWNKKKKKKKKKKKKOx:${c1}ssssssssss |
| 14039 | ${c3}yy${c1}sssssss${c2}OWWWWWWWWWWWWWWWWWWWWx${c1}sssssss${c3}yy |
| 14040 | yyyyyyyyyy${c2}:kKNNNNNNNNNNNNWWWWWW:${c3}yyyyyyyy |
| 14041 | yyyyyyyy${c2}sccccc;${c3}yyyyyyyyyy${c2}kWWWWW:${c3}yyyyyyyy |
| 14042 | yyyyyyyy${c2}:WWWWWWNNNNNNNNNNWWWWWW;${c3}yyyyyyyy |
| 14043 | yyyyyyyy${c2}.dWWWWWWWWWWWWWWWWWWWNd${c3}yyyyyyyyy |
| 14044 | yyyyyyyyyy${c2}sdO0KKKKKKKKKKKK0Od;${c3}yyyyyyyyyy |
| 14045 | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy |
| 14046 | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy |
| 14047 | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy |
| 14048 | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy |
| 14049 | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy |
| 14050 | EOF |
| 14051 | ;; |
| 14052 | |
| 14053 | "Serene"*) |
| 14054 | set_colors 6 6 |
| 14055 | read -rd '' ascii_data <<'EOF' |
| 14056 | ${c1} __---''''''---__ |
| 14057 | . . |
| 14058 | : : |
| 14059 | - _______----_- |
| 14060 | s __----''' __---- |
| 14061 | __h_ _-' _-' h |
| 14062 | '-._''--.._ ; _-' y |
| 14063 | : ''-._ '-._/ _-' : |
| 14064 | y ':_ _--'' y |
| 14065 | m .--'' '-._.;' m |
| 14066 | m : : m |
| 14067 | y '.._ '-__ y |
| 14068 | : '--._ '''----___ : |
| 14069 | y '--._ ''-- _ y |
| 14070 | h '--._ : h |
| 14071 | s __'; vs |
| 14072 | - __..--'' - |
| 14073 | :_..--'' : |
| 14074 | . _ . |
| 14075 | `''---______---''-`` |
| 14076 | EOF |
| 14077 | ;; |
| 14078 | |
| 14079 | "SharkLinux"*) |
| 14080 | set_colors 4 7 |
| 14081 | read -rd '' ascii_data <<'EOF' |
| 14082 | ${c1} `:shd/ |
| 14083 | `:yNMMMMs |
| 14084 | `-smMMMMMMN. |
| 14085 | .+dNMMMMMMMMs |
| 14086 | .smNNMMMMMMMMm` |
| 14087 | .sNNNNNNNMMMMMM/ |
| 14088 | `omNNNNNNNMMMMMMm |
| 14089 | /dNNNNNNNNMMMMMMM+ |
| 14090 | .yNNNNNNNNNMMMMMMMN` |
| 14091 | +mNNNNNNNNNMMMMMMMMh |
| 14092 | .hNNNNNNNNNNMMMMMMMMMs |
| 14093 | +mMNNNNNNNNMMMMMMMMMMMs |
| 14094 | .hNMMNNNNMMMMMMMMMMMMMMMd |
| 14095 | .oNNNNNNNNNNMMMMMMMMMMMMMMMo |
| 14096 | `:+syyssoo++++ooooossssssssssso: |
| 14097 | EOF |
| 14098 | ;; |
| 14099 | |
| 14100 | "Siduction"*) |
| 14101 | set_colors 4 4 |
| 14102 | read -rd '' ascii_data <<'EOF' |
| 14103 | ${c1} _aass, |
| 14104 | jQh: =$w |
| 14105 | QWmwawQW |
| 14106 | )$QQQQ@( .. |
| 14107 | _a_a. ~??^ syDY?Sa, |
| 14108 | _mW>-<$c jWmi imm. |
| 14109 | ]QQwayQE 4QQmgwmQQ` |
| 14110 | ?WWQWP' -9QQQQQ@'._aas, |
| 14111 | _a%is. .adYYs,. -"?!` aQB*~^3$c |
| 14112 | _Qh;.nm .QWc. {QL ]QQp;..vmQ/ |
| 14113 | "QQmmQ@ -QQQggmQP ]QQWmggmQQ( |
| 14114 | -???" "$WQQQY` __, ?QQQQQQW! |
| 14115 | _yZ!?q, - .yWY!!Sw, "???^ |
| 14116 | .QQa_=qQ mQm>..vmm |
| 14117 | $QQWQQP $QQQgmQQ@ |
| 14118 | "???" _aa, -9WWQQWY` |
| 14119 | _mB>~)$a -~~ |
| 14120 | mQms_vmQ. |
| 14121 | ]WQQQQQP |
| 14122 | -?T??" |
| 14123 | EOF |
| 14124 | ;; |
| 14125 | "Slackel"*) |
| 14126 | set_colors 3 |
| 14127 | read -rd '' ascii_data <<'EOF' |
| 14128 | ${c1} _aawmmmmmwwaaaaas,,,_. |
| 14129 | .ammmmm###mmmmmmm###BQmm##mws |
| 14130 | .am###mmBmBmBmBmBmBmmmmm#mmmm#2 |
| 14131 | <q###mmBmBmBmBmBmBmBmBmBmBmmBmZ` |
| 14132 | um#mmmBmBm##U##mmBmBmBmWmmBmWm#( |
| 14133 | .wm#mmBBmm#Y~ ~XmBmBmWmmmmmBm#e |
| 14134 | .dm#mmWmm#Z' ]#mBmBmmBZ!""""` |
| 14135 | .dm#mmBmm#2` ]mmmBmBm#2 |
| 14136 | jm#mmWmm#2` dmmBmBmB#( |
| 14137 | )m##mBmmWZ` )##mBmBmmZ |
| 14138 | :dmmmBmBm#' .d#mBmBmWZ( |
| 14139 | j#mmBmBmme jmmmBmBm#2 |
| 14140 | _m#mBmWmmm' )mmmBmBmmZ` |
| 14141 | ]##mBmmm#2 <m#mBmBmB#^ |
| 14142 | dmmmBmWm#C <m#mBmBmB#( |
| 14143 | ZmmBmBmmmh. _jm#mmBmBm#( |
| 14144 | XBmBmBmBmm6s_aum##mmBmBm&^ |
| 14145 | 3$mBmBmBmmm#mmmmmmBmBm#2' |
| 14146 | +ZmBmBmWmBmBmWmmBmBm##! |
| 14147 | )ZmBmBmmmBmBmmBmB##!` |
| 14148 | -4U#mBmWmBmBm##2" |
| 14149 | -!!XU##US*?"- |
| 14150 | EOF |
| 14151 | ;; |
| 14152 | |
| 14153 | |
| 14154 | "slackware_small"*) |
| 14155 | set_colors 4 7 1 |
| 14156 | read -rd '' ascii_data <<'EOF' |
| 14157 | ${c1} ________ |
| 14158 | / ______| |
| 14159 | | |______ |
| 14160 | \\______ \\ |
| 14161 | ______| | |
| 14162 | | |________/ |
| 14163 | |____________ |
| 14164 | EOF |
| 14165 | ;; |
| 14166 | |
| 14167 | "Slackware"*) |
| 14168 | set_colors 4 7 1 |
| 14169 | read -rd '' ascii_data <<'EOF' |
| 14170 | ${c1} ::::::: |
| 14171 | ::::::::::::::::::: |
| 14172 | ::::::::::::::::::::::::: |
| 14173 | ::::::::${c2}cllcccccllllllll${c1}:::::: |
| 14174 | :::::::::${c2}lc dc${c1}::::::: |
| 14175 | ::::::::${c2}cl clllccllll oc${c1}::::::::: |
| 14176 | :::::::::${c2}o lc${c1}::::::::${c2}co oc${c1}:::::::::: |
| 14177 | ::::::::::${c2}o cccclc${c1}:::::${c2}clcc${c1}:::::::::::: |
| 14178 | :::::::::::${c2}lc cclccclc${c1}::::::::::::: |
| 14179 | ::::::::::::::${c2}lcclcc lc${c1}:::::::::::: |
| 14180 | ::::::::::${c2}cclcc${c1}:::::${c2}lccclc oc${c1}::::::::::: |
| 14181 | ::::::::::${c2}o l${c1}::::::::::${c2}l lc${c1}::::::::::: |
| 14182 | :::::${c2}cll${c1}:${c2}o clcllcccll o${c1}::::::::::: |
| 14183 | :::::${c2}occ${c1}:${c2}o clc${c1}::::::::::: |
| 14184 | ::::${c2}ocl${c1}:${c2}ccslclccclclccclclc${c1}::::::::::::: |
| 14185 | :::${c2}oclcccccccccccccllllllllllllll${c1}::::: |
| 14186 | ::${c2}lcc1lcccccccccccccccccccccccco${c1}:::: |
| 14187 | :::::::::::::::::::::::::::::::: |
| 14188 | :::::::::::::::::::::::::::: |
| 14189 | :::::::::::::::::::::: |
| 14190 | :::::::::::: |
| 14191 | EOF |
| 14192 | ;; |
| 14193 | |
| 14194 | "SliTaz"*) |
| 14195 | set_colors 3 3 |
| 14196 | read -rd '' ascii_data <<'EOF' |
| 14197 | ${c1} @ @( @ |
| 14198 | @@ @@ @ @/ |
| 14199 | @@ @@ @@ @@ |
| 14200 | @@ %@@ @@ @@ |
| 14201 | @@ %@@@ @@@@@. @@@@ @@ |
| 14202 | @@@ @@@@ @@@@@@@ &@@@ @@@ |
| 14203 | @@@@@@@ %@@@@@@@@@@@@ &@@@% @@@@@@@/ |
| 14204 | ,@@@@@@@@@@@@@@@@@@@@@@@@@ |
| 14205 | .@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/ |
| 14206 | @@@@@@. @@@@@@@@@@@@@@@@@@@@@ /@@@@@@ |
| 14207 | @@ @@@@@ @@@@@@@@@@@@, @@@@@ @@@ |
| 14208 | @@ @@@@. @@@@@@@@@@@@@% #@@@@ @@. |
| 14209 | @@ ,@@ @@@@@@@@@@@@@ @@@ @@ |
| 14210 | @ @@. @@@@@@@@@@@@@ @@@ *@ |
| 14211 | @ @@ @@@@@@@@@@@@ @@ @ |
| 14212 | @ @@@@@@@@@. #@ |
| 14213 | @ ,@@@@@ @ |
| 14214 | EOF |
| 14215 | ;; |
| 14216 | |
| 14217 | "SmartOS"*) |
| 14218 | set_colors 6 7 |
| 14219 | read -rd '' ascii_data <<'EOF' |
| 14220 | ${c1}yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy |
| 14221 | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy |
| 14222 | yyyys oyyyyyyyyyyyyyyyy |
| 14223 | yyyys yyyyyyyyy oyyyyyyyyyyyyyyyy |
| 14224 | yyyys yyyyyyyyy oyyyyyyyyyyyyyyyy |
| 14225 | yyyys yyyyyyyyy oyyyyyyyyyyyyyyyy |
| 14226 | yyyys yyyyyyyyy oyyyyyyyyyyyyyyyy |
| 14227 | yyyys yyyyyyyyyyyyyyyyyyyyyyyyyyyy |
| 14228 | yyyyy syyyy |
| 14229 | yyyyyyyyyyyyyyyyyyyyyyyyyyyy syyyy |
| 14230 | yyyyyyyyyyyyyyyy syyyyyyyyy syyyy |
| 14231 | yyyyyyyyyyyyyyyy oyyyyyyyyy syyyy |
| 14232 | yyyyyyyyyyyyyyyy oyyyyyyyyy syyyy |
| 14233 | yyyyyyyyyyyyyyyy syyyyyyyyy syyyy |
| 14234 | yyyyyyyyyyyyyyyy yyyyy |
| 14235 | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy |
| 14236 | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy |
| 14237 | EOF |
| 14238 | ;; |
| 14239 | |
| 14240 | "SkiffOS"*) |
| 14241 | set_colors 4 7 |
| 14242 | read -rd '' ascii_data <<'EOF' |
| 14243 | ${c2} |
| 14244 | ,@@@@@@@@@@@w,_ |
| 14245 | ${c2}====~~~,,.${c2}A@@@@@@@@@@@@@@@@@W,_ |
| 14246 | ${c1}`||||||||||||||L{${c2}"@$@@@@@@@@B" |
| 14247 | ${c1}`|||||||||||||||||||||L{${c2}"$D |
| 14248 | ${c2}@@@@@@@@@@@@@@@@@@@@@${c1}_||||}==, |
| 14249 | ${c2}*@@@@@@@@@@@@@@@@@@@@@@@@@p${c1}||||==, |
| 14250 | ${c1}`'||LLL{{""${c2}@$B@@@@@@@@@@@@@@@p${c1}|| |
| 14251 | ${c1}`~=|||||||||||L"${c2}$@@@@@@@@@@@ |
| 14252 | ${c1}````'"""""""${c2}'"""""""" |
| 14253 | EOF |
| 14254 | ;; |
| 14255 | |
| 14256 | "Solus"*) |
| 14257 | set_colors 4 7 1 |
| 14258 | read -rd '' ascii_data <<'EOF' |
| 14259 | ${c2} -``````````` |
| 14260 | `-+/------------.` |
| 14261 | .---:mNo---------------. |
| 14262 | .-----yMMMy:---------------. |
| 14263 | `------oMMMMMm/----------------` |
| 14264 | .------/MMMMMMMN+----------------. |
| 14265 | .------/NMMMMMMMMm-+/--------------. |
| 14266 | `------/NMMMMMMMMMN-:mh/-------------` |
| 14267 | .-----/NMMMMMMMMMMM:-+MMd//oso/:-----. |
| 14268 | -----/NMMMMMMMMMMMM+--mMMMh::smMmyo:-- |
| 14269 | ----+NMMMMMMMMMMMMMo--yMMMMNo-:yMMMMd/. |
| 14270 | .--oMMMMMMMMMMMMMMMy--yMMMMMMh:-yMMMy-` |
| 14271 | `-sMMMMMMMMMMMMMMMMh--dMMMMMMMd:/Ny+y. |
| 14272 | `-/+osyhhdmmNNMMMMMm-/MMMMMMMmh+/ohm+ |
| 14273 | .------------:://+-/++++++${c1}oshddys: |
| 14274 | -hhhhyyyyyyyyyyyhhhhddddhysssso- |
| 14275 | `:ossssssyysssssssssssssssso:` |
| 14276 | `:+ssssssssssssssssssss+- |
| 14277 | `-/+ssssssssssso+/-` |
| 14278 | `.-----..` |
| 14279 | EOF |
| 14280 | ;; |
| 14281 | |
| 14282 | "Sulin"*) |
| 14283 | set_colors 4 7 1 |
| 14284 | read -rd '' ascii_data <<'EOF' |
| 14285 | ${c2} |
| 14286 | /\ /\ |
| 14287 | ( \\\\ // ) |
| 14288 | \ \\\\ // / |
| 14289 | \_\\\\||||//_/ |
| 14290 | \/ _ _ \ |
| 14291 | \/|(O)(O)| |
| 14292 | \/ | | |
| 14293 | ___________________\/ \ / |
| 14294 | // // |____| |
| 14295 | // || / \ |
| 14296 | //| \| \ 0 0 / |
| 14297 | // \ ) V / \____/ |
| 14298 | // \ / ( / |
| 14299 | \ /_________| |_/ |
| 14300 | / /\ / | || |
| 14301 | / / / / \ || |
| 14302 | | | | | | || |
| 14303 | | | | | | || |
| 14304 | |_| |_| |_|| |
| 14305 | \_\ \_\ \_\\ |
| 14306 | EOF |
| 14307 | ;; |
| 14308 | |
| 14309 | "Source Mage"* | "Source_Mage"*) |
| 14310 | set_colors 4 7 1 |
| 14311 | read -rd '' ascii_data <<'EOF' |
| 14312 | ${c2} :ymNMNho. |
| 14313 | .+sdmNMMMMMMMMMMy` |
| 14314 | .-::/yMMMMMMMMMMMm- |
| 14315 | sMMMMMMMMMMMm/ |
| 14316 | /NMMMMMMMMMMMMMm: |
| 14317 | .MMMMMMMMMMMMMMMMM: |
| 14318 | `MMMMMMMMMMMMMMMMMN. |
| 14319 | NMMMMMMMMMMMMMMMMMd |
| 14320 | mMMMMMMMMMMMMMMMMMMo |
| 14321 | hhMMMMMMMMMMMMMMMMMM. |
| 14322 | .`/MMMMMMMMMMMMMMMMMs |
| 14323 | :mMMMMMMMMMMMMMMMN` |
| 14324 | `sMMMMMMMMMMMMMMM+ |
| 14325 | /NMMMMMMMMMMMMMN` |
| 14326 | oMMMMMMMMMMMMM+ |
| 14327 | ./sd.-hMMMMMMMMmmN` |
| 14328 | ./+oyyyh- `MMMMMMMMMmNh |
| 14329 | sMMMMMMMMMmmo |
| 14330 | `NMMMMMMMMMd: |
| 14331 | -dMMMMMMMMMo |
| 14332 | -shmNMMms. |
| 14333 | EOF |
| 14334 | ;; |
| 14335 | |
| 14336 | "Sparky"*) |
| 14337 | set_colors 1 7 |
| 14338 | read -rd '' ascii_data <<'EOF' |
| 14339 | ${c1} |
| 14340 | . `-:-` |
| 14341 | .o` .-///-` |
| 14342 | `oo` .:/++:. |
| 14343 | os+` -/+++:` ``.........``` |
| 14344 | /ys+`./+++/-.-::::::----......`` |
| 14345 | `syyo`++o+--::::-::/+++/-`` |
| 14346 | -yyy+.+o+`:/:-:sdmmmmmmmmdy+-` |
| 14347 | ::-` :yyy/-oo.-+/`ymho++++++oyhdmdy/` |
| 14348 | `/yy+-`.syyo`+o..o--h..osyhhddhs+//osyy/` |
| 14349 | -ydhs+-oyy/.+o.-: ` ` :/::+ydhy+```-os- |
| 14350 | .sdddy::syo--/:. `.:dy+-ohhho ./: |
| 14351 | :yddds/:+oo+//:-`- /+ +hy+.shhy: `` |
| 14352 | `:ydmmdysooooooo-.ss`/yss--oyyo |
| 14353 | `./ossyyyyo+:-/oo:.osso- .oys |
| 14354 | ``..-------::////.-oooo/ :so |
| 14355 | `...----::::::::--.`/oooo: .o: |
| 14356 | ``````` ++o+:` `:` |
| 14357 | ./+/-` ` |
| 14358 | `-:-. |
| 14359 | `` |
| 14360 | EOF |
| 14361 | ;; |
| 14362 | |
| 14363 | "Star"*) |
| 14364 | set_colors 7 |
| 14365 | read -rd '' ascii_data <<'EOF' |
| 14366 | ${c1} ./ |
| 14367 | `yy- |
| 14368 | `y.`y` |
| 14369 | `` s- .y ` |
| 14370 | +h//:..` +/ /o ``..:/so |
| 14371 | /o``.-::/:/+ o/://::-.`+o` |
| 14372 | :s` `. .` `s/ |
| 14373 | .y. .s- |
| 14374 | `y- :s` |
| 14375 | .-//. /+:. |
| 14376 | .:/:. .:/:. |
| 14377 | -+o:. .:+:. |
| 14378 | -///++///:::` .-::::///+so- |
| 14379 | ``..o/ d-....``` |
| 14380 | s. `/. d |
| 14381 | h .+o-+o- h. |
| 14382 | h -o/` `/o: s: |
| 14383 | -s/o:` `:o/+/ |
| 14384 | /s- -yo |
| 14385 | EOF |
| 14386 | ;; |
| 14387 | |
| 14388 | "SteamOS"*) |
| 14389 | set_colors 5 7 |
| 14390 | read -rd '' ascii_data <<'EOF' |
| 14391 | ${c1} .,,,,. |
| 14392 | .,'onNMMMMMNNnn',. |
| 14393 | .'oNMANKMMMMMMMMMMMNNn'. |
| 14394 | .'ANMMMMMMMXKNNWWWPFFWNNMNn. |
| 14395 | ;NNMMMMMMMMMMNWW'' ,.., 'WMMM, |
| 14396 | ;NMMMMV+##+VNWWW' .+;'':+, 'WMW, |
| 14397 | ,VNNWP+${c2}######${c1}+WW, ${c2}+: ${c1}:+, +MMM, |
| 14398 | '${c2}+#############, +. ,+' ${c1}+NMMM |
| 14399 | ${c2} '*#########*' '*,,*' ${c1}.+NMMMM. |
| 14400 | ${c2} `'*###*' ,.,;###${c1}+WNM, |
| 14401 | ${c2} .,;;, .;##########${c1}+W |
| 14402 | ${c2},',. '; ,+##############' |
| 14403 | '###+. :,. .,; ,###############' |
| 14404 | '####.. `'' .,###############' |
| 14405 | '#####+++################' |
| 14406 | '*##################*' |
| 14407 | ''*##########*'' |
| 14408 | '''''' |
| 14409 | EOF |
| 14410 | ;; |
| 14411 | |
| 14412 | "sunos_small" | "solaris_small") |
| 14413 | set_colors 3 7 |
| 14414 | read -rd '' ascii_data <<'EOF' |
| 14415 | ${c1} . .; . |
| 14416 | . :; :: ;: . |
| 14417 | .;. .. .. .;. |
| 14418 | .. .. .. .. |
| 14419 | .;, ,;. |
| 14420 | EOF |
| 14421 | ;; |
| 14422 | |
| 14423 | "SunOS" | "Solaris") |
| 14424 | set_colors 3 7 |
| 14425 | read -rd '' ascii_data <<'EOF' |
| 14426 | ${c1} `- ` |
| 14427 | `-- `+- .: |
| 14428 | .+: `++: -/+- . |
| 14429 | `.::` -++/``:::`./+/ `.-/. |
| 14430 | `++/-`.` ` /++:` |
| 14431 | `` ./:` .: `..`.- |
| 14432 | ``./+/:- -+++:- |
| 14433 | -/+` :. |
| 14434 | EOF |
| 14435 | ;; |
| 14436 | |
| 14437 | "openSUSE Leap"* | "openSUSE_Leap"*) |
| 14438 | set_colors 2 7 |
| 14439 | read -rd '' ascii_data <<'EOF' |
| 14440 | ${c2} `-++:` |
| 14441 | ./oooooo/- |
| 14442 | `:oooooooooooo:. |
| 14443 | -+oooooooooooooooo+-` |
| 14444 | ./oooooooooooooooooooooo/- |
| 14445 | :oooooooooooooooooooooooooo: |
| 14446 | ` `-+oooooooooooooooooooo/- ` |
| 14447 | `:oo/- .:ooooooooooooooo+:` `-+oo/. |
| 14448 | `/oooooo:. -/oooooooooo/. ./oooooo/. |
| 14449 | `:+ooooo+-` `:+oooo+- `:oooooo+:` |
| 14450 | .:oooooo/. .::` -+oooooo/. |
| 14451 | -/oooooo:. ./oooooo+- |
| 14452 | `:+ooooo+-:+oooooo:` |
| 14453 | ./oooooooooo/. |
| 14454 | -/oooo+:` |
| 14455 | `:/. |
| 14456 | EOF |
| 14457 | ;; |
| 14458 | |
| 14459 | "t2"*) |
| 14460 | set_colors 7 4 |
| 14461 | read -rd '' ascii_data <<'EOF' |
| 14462 | ${c2} |
| 14463 | TTTTTTTTTT |
| 14464 | tt ${c1}222${c2} |
| 14465 | tt ${c1}2 2${c2} |
| 14466 | tt ${c1}2${c2} |
| 14467 | tt ${c1}2${c2} |
| 14468 | tt ${c1}22222${c2} |
| 14469 | EOF |
| 14470 | ;; |
| 14471 | |
| 14472 | "openSUSE Tumbleweed"* | "openSUSE_Tumbleweed"*) |
| 14473 | set_colors 2 7 |
| 14474 | read -rd '' ascii_data <<'EOF' |
| 14475 | ${c2} ...... |
| 14476 | .,cdxxxoc,. .:kKMMMNWMMMNk:. |
| 14477 | cKMMN0OOOKWMMXo. A ;0MWk:' ':OMMk. |
| 14478 | ;WMK;' 'lKMMNM, :NMK' 'OMW; |
| 14479 | cMW; WMMMN ,XMK' oMM. |
| 14480 | .MMc ''^*~l. xMN: KM0 |
| 14481 | 'MM. .NMO oMM |
| 14482 | .MM, .kMMl xMN |
| 14483 | KM0 .kMM0' .dl>~,. .WMd |
| 14484 | 'XM0. ,OMMK' OMMM7' .XMK |
| 14485 | *WMO:. .;xNMMk' NNNMKl. .xWMx |
| 14486 | ^ONMMNXMMMKx; V 'xNMWKkxllox0NMWk' |
| 14487 | ''''' ':dOOXXKOxl' |
| 14488 | EOF |
| 14489 | ;; |
| 14490 | |
| 14491 | "opensuse_small" | "suse_small"*) |
| 14492 | set_colors 2 7 |
| 14493 | read -rd '' ascii_data <<'EOF' |
| 14494 | ${c1} _______ |
| 14495 | __| __ \\ |
| 14496 | / .\\ \\ |
| 14497 | \\__/ | |
| 14498 | _______| |
| 14499 | \\_______ |
| 14500 | __________/ |
| 14501 | EOF |
| 14502 | ;; |
| 14503 | |
| 14504 | "openSUSE"* | "open SUSE"* | "SUSE"*) |
| 14505 | set_colors 2 7 |
| 14506 | read -rd '' ascii_data <<'EOF' |
| 14507 | ${c2} .;ldkO0000Okdl;. |
| 14508 | .;d00xl:^''''''^:ok00d;. |
| 14509 | .d00l' 'o00d. |
| 14510 | .d0Kd'${c1} Okxol:;,. ${c2}:O0d. |
| 14511 | .OK${c1}KKK0kOKKKKKKKKKKOxo:, ${c2}lKO. |
| 14512 | ,0K${c1}KKKKKKKKKKKKKKK0P^${c2},,,${c1}^dx:${c2} ;00, |
| 14513 | .OK${c1}KKKKKKKKKKKKKKKk'${c2}.oOPPb.${c1}'0k.${c2} cKO. |
| 14514 | :KK${c1}KKKKKKKKKKKKKKK: ${c2}kKx..dd ${c1}lKd${c2} 'OK: |
| 14515 | dKK${c1}KKKKKKKKKOx0KKKd ${c2}^0KKKO' ${c1}kKKc${c2} dKd |
| 14516 | dKK${c1}KKKKKKKKKK;.;oOKx,..${c2}^${c1}..;kKKK0.${c2} dKd |
| 14517 | :KK${c1}KKKKKKKKKK0o;...^cdxxOK0O/^^' ${c2}.0K: |
| 14518 | kKK${c1}KKKKKKKKKKKKK0x;,,......,;od ${c2}lKk |
| 14519 | '0K${c1}KKKKKKKKKKKKKKKKKKKK00KKOo^ ${c2}c00' |
| 14520 | 'kK${c1}KKOxddxkOO00000Okxoc;'' ${c2}.dKk' |
| 14521 | l0Ko. .c00l' |
| 14522 | 'l0Kk:. .;xK0l' |
| 14523 | 'lkK0xl:;,,,,;:ldO0kl' |
| 14524 | '^:ldxkkkkxdl:^' |
| 14525 | EOF |
| 14526 | ;; |
| 14527 | |
| 14528 | "parch"* | "Parch"* | "PARCH"*) |
| 14529 | set_colors 4 7 1 |
| 14530 | read -rd '' ascii_data <<'EOF' |
| 14531 | ${c1} ,:lodddd. |
| 14532 | .:clooood. |
| 14533 | ;clllooooc |
| 14534 | ;cclllllloo |
| 14535 | .cccccllllll |
| 14536 | . ,cccclllll |
| 14537 | ':::;; ccccclll; |
| 14538 | .:::cccccccccccll; |
| 14539 | ;::::ccccllllllcll: |
| 14540 | .;::::cccclllloool::; |
| 14541 | ;;;::::cccclllolc::::;. |
| 14542 | ;;;::::cccclllccc:::::;. |
| 14543 | ;;;::::cccclccccc::::::;. |
| 14544 | ;;;;::::::llcccccc:::::' |
| 14545 | ;;;;:; ,clllccccccc:: |
| 14546 | .;; .cllllllcccccc::;::::' |
| 14547 | .'''''''''',:lddoooolll |
| 14548 | '.....'''',cdddooooollll |
| 14549 | ........':oddddoooolllllc |
| 14550 | ....';ldddddooooolllllc: |
| 14551 | ,cdddddddooooollllccc |
| 14552 | :ddddddoooolllllccc |
| 14553 | ;ddooooolllllcc. |
| 14554 | :ooollllc. |
| 14555 | c' |
| 14556 | EOF |
| 14557 | ;; |
| 14558 | |
| 14559 | "SwagArch"*) |
| 14560 | set_colors 4 7 1 |
| 14561 | read -rd '' ascii_data <<'EOF' |
| 14562 | ${c2} .;ldkOKXXNNNNXXK0Oxoc,. |
| 14563 | ,lkXMMNK0OkkxkkOKWMMMMMMMMMM; |
| 14564 | 'K0xo ..,;:c:. `'lKMMMMM0 |
| 14565 | .lONMMMMMM' `lNMk' |
| 14566 | ${c2} ;WMMMMMMMMMO. ${c1}....::... |
| 14567 | ${c2} OMMMMMMMMMMMMKl. ${c1}.,;;;;;ccccccc, |
| 14568 | ${c2} `0MMMMMMMMMMMMMM0: ${c1}.. .ccccccc. |
| 14569 | ${c2} 'kWMMMMMMMMMMMMMNo. ${c1}.,:' .ccccccc. |
| 14570 | ${c2} `c0MMMMMMMMMMMMMN,${c1},:c; :cccccc: |
| 14571 | ${c2} ckl. `lXMMMMMMMMMX${c1}occcc:.. ;ccccccc. |
| 14572 | ${c2}dMMMMXd, `OMMMMMMWk${c1}ccc;:''` ,ccccccc: |
| 14573 | ${c2}XMMMMMMMWKkxxOWMMMMMNo${c1}ccc; .cccccccc. |
| 14574 | ${c2} `':ldxO0KXXXXXK0Okdo${c1}cccc. :cccccccc. |
| 14575 | :ccc:' `cccccccc:, |
| 14576 | '' |
| 14577 | EOF |
| 14578 | ;; |
| 14579 | |
| 14580 | "Tails"*) |
| 14581 | set_colors 5 7 |
| 14582 | read -rd '' ascii_data <<'EOF' |
| 14583 | ${c1} `` |
| 14584 | ./yhNh |
| 14585 | syy/Nshh `:o/ |
| 14586 | N:dsNshh █ `ohNMMd |
| 14587 | N-/+Nshh `yMMMMd |
| 14588 | N-yhMshh yMMMMd |
| 14589 | N-s:hshh █ yMMMMd so//. |
| 14590 | N-oyNsyh yMMMMd d Mms. |
| 14591 | N:hohhhd:. yMMMMd syMMM+ |
| 14592 | Nsyh+-..+y+- yMMMMd :mMM+ |
| 14593 | +hy- -ss/`yMMMM `+d+ |
| 14594 | :sy/. ./yNMMMMm `` |
| 14595 | .+ys- `:+hNMMMMMMy/` |
| 14596 | `hNmmMMMMMMMMMMMMdo. |
| 14597 | dMMMMMMMMMMMMMMMMMNh: |
| 14598 | +hMMMMMMMMMMMMMMMMMmy. |
| 14599 | -oNMMMMMMMMMMmy+.` |
| 14600 | `:yNMMMds/.` |
| 14601 | .//` |
| 14602 | EOF |
| 14603 | ;; |
| 14604 | |
| 14605 | "TorizonCore"*) |
| 14606 | set_colors fg 3 4 8 5 |
| 14607 | read -rd '' ascii_data <<'EOF' |
| 14608 | ${c2} `.::-. |
| 14609 | `-://////:-. |
| 14610 | `:////////////:. |
| 14611 | `.-.` `-:///////-. ` |
| 14612 | `.://///:.` `-::-. `-://:.` |
| 14613 | .:///////////:. `-:////////:.` |
| 14614 | `.://///////:-` .:////////////:` |
| 14615 | `.-/:-` `.:///:-` ${c3}`-+o/.${c2} `.://////-. `.` |
| 14616 | `.:///////:-` `.` ${c3}`-+sssssso/.${c2} `.--. `-:///:-` |
| 14617 | -/////////////: ${c3}`+sssssssssssso-${c2} `-://///////:-` |
| 14618 | .-///////:.` `` ${c3}-/sssssssso/.${c2} ` .:///////////-. |
| 14619 | .-::.` `-://:-. ${c3}-/sso/.${c2} `.:/:-. `.://///-. |
| 14620 | `-:////////:-. ${c3}`${c2} `.:////////-. `.-. |
| 14621 | ${c1}o-${c2} -:///////////:` .:////////////:` ${c1}-o${c2} |
| 14622 | ${c1}hdho-${c2} `-://///:.` `..` `-://////:.` ${c1}-ohdh${c2} |
| 14623 | ${c1}/ydddho-${c2} `--.` `.:////:.` `-::.` ${c1}-ohdddy/${c2} |
| 14624 | ${c1}./ydddho:`${c2} `.://////////:. ${c1}`:ohdddy/.${c2} |
| 14625 | ` ${c1}`/shddho:`${c2} `.://////////:. ${c1}`:ohddds/`${c2} ` |
| 14626 | ::-` ${c1}`/shddhs:`${c2} `.:////:.` ${c1}`:shddhs/`${c2} `-:: |
| 14627 | :///:-` ${c1}`:shddhs/`${c2} `..` ${c1}`/shddhs:`${c2} `-:///- |
| 14628 | `.:///:-` ${c1}`:ohddhs/`${c2} ${c1}`/shddho:`${c2} `-:///:.` |
| 14629 | `.:///:-. ${c1}-ohdddy/.${c2} ${c1}./ydddho-${c2} .-:///-.` |
| 14630 | `.:///:-. ${c1}-+hdddy+//+ydddh+-${c2} .-://:-. |
| 14631 | `.-///:-. ${c1}-+yddddddy+-${c2} .-://:-. |
| 14632 | .-://:-. ${c1}./++/.${c2} .-///:-. |
| 14633 | .-:///:.` `.:///:-` |
| 14634 | `-:///:.````.:///:-` |
| 14635 | `-:////////:-` |
| 14636 | `-::::-` |
| 14637 | EOF |
| 14638 | ;; |
| 14639 | |
| 14640 | "Trisquel"*) |
| 14641 | set_colors 4 6 |
| 14642 | read -rd '' ascii_data <<'EOF' |
| 14643 | ${c1} ,o$$$o. |
| 14644 | ,o$$Y"""Y$$b |
| 14645 | ,o$$$$$$o. ,$$' , Y$$b |
| 14646 | ,o$$$$$$$$$$$$o. :$ b Y$$. |
| 14647 | ,$$"' "Y$$$$o. 'b. ,b d$$$ |
| 14648 | $$' .d$$$$b '$$$$o 'Y$$$Y d$$$' |
| 14649 | $$' q' 'b '$$$$$o._ _.o$$$$' |
| 14650 | .$$,_ _,d$ ,$$$$$$$$$$$$${c2}$$$$Y' |
| 14651 | ${c1} '$$$$aaa$$$' .$$$$$$${c2}$$$$$$$$' |
| 14652 | ${c1} """" ${c2}d$$$$"' |
| 14653 | d$$$' .d$$b. |
| 14654 | $$$$ .$" 'a$. |
| 14655 | $$$$ $b $$. |
| 14656 | '$$$. '$b,,. $$$ |
| 14657 | '$$$. .$$' |
| 14658 | 'a$$$o._.o$$a' |
| 14659 | 'a$$$$a' |
| 14660 | EOF |
| 14661 | ;; |
| 14662 | |
| 14663 | "Twister"*) |
| 14664 | set_colors 2 1 4 5 7 |
| 14665 | read -rd '' ascii_data <<'EOF' |
| 14666 | ${c3}.......................${c4}.......${c5}.,:ccllllcc:.${c4}... |
| 14667 | ${c3}.......................${c5}.,;cldxkO0KXNNNWNNNX0x: |
| 14668 | ${c3}.................${c5}.,:ldkOOKK0OkkkkkOKWMMMMMMMNo |
| 14669 | ${c3}.............${c5},;coxO0Oxo::'${c4}.........${c5},oXMMMMMM0' |
| 14670 | ${c3}.........${c5},:ldkOOkc;'${c3}...${c4}.............${c5};OMMMMW0:${c4}. |
| 14671 | ${c3}.......${c5};ldkOxol:'${c3}......${c4}............${c5},dNMMX0''${c4}.. |
| 14672 | ${c3}....${c5};:oxkxl:'${c3}..........${c4}..........${c5},lOWWXx:.,'${c4}.. |
| 14673 | ${c3}..${c5},ldxkkd:'${c3}............${c5}.:c${c4}....${c5}':lkNMNOc,cdl'${c4}.. |
| 14674 | ${c3}.${c5};oxxkkkc'${c3}.........${c5}.:clc;'.';lkKNNKk;;ck00l${c4}... |
| 14675 | ${c5}.lxxxkkkxoooooddxkOOko'..cok0KOd':::o0NXd;'${c4}... |
| 14676 | ${c3}.${c5}:odxxkkOOOOOOOkdoi'..:ddxdoc:::od0NWW0c'${c4}..... |
| 14677 | ${c3}...${c5}':;gggggg;::''.......::::x0XWMMMNO.::'${c4}..... |
| 14678 | ${c3}..............${c5};......,;od0KNWMWNK0O:::do'${c4}..... |
| 14679 | ${c3}...............${c5}'cclgggggggxdll":::'XKoo,${c4}...... |
| 14680 | ${c3}.................${c5}',,,,,,,::::;ooNWMWOc'${c4}....... |
| 14681 | ${c3}..................${c5},:loxxxO0KXNNXK0ko:'${c4}........ |
| 14682 | ${c3}..................${c5}';::;oTcoggcoF":::'${c4}......... |
| 14683 | ${c3}..................${c5}':o,.:::::::::,p'${c4}........... |
| 14684 | ${c3}..................${c5};'ccdxkOOOdxlf'${c4}............. |
| 14685 | ${c3}.................${c5},l;;XgggggXP:'${c4}............... |
| 14686 | ${c3}................${c5};lco;::::::'${c4}.................. |
| 14687 | ${c3}..............${c5}.';ggggol'`${c4}..................... |
| 14688 | ${c3}.............${c5}':oo:''${c3}...${c4}....................... |
| 14689 | EOF |
| 14690 | ;; |
| 14691 | |
| 14692 | "Ubuntu Cinnamon"* | "Ubuntu-Cinnamon"*) |
| 14693 | set_colors 1 7 |
| 14694 | read -rd '' ascii_data <<'EOF' |
| 14695 | ${c1} .-/+oooooooo+/-. |
| 14696 | `:+oooooooooooooooooo+:` |
| 14697 | -+oooooooooooooooooooooooo+- |
| 14698 | .ooooooooooooooooooo${c2}:ohNd${c1}oooooo. |
| 14699 | /oooooooooooo${c2}:/+oo++:/ohNd${c1}ooooooo/ |
| 14700 | +oooooooooo${c2}:osNdhyyhdNNh+:+${c1}oooooooo+ |
| 14701 | /ooooooooo${c2}/dN/${c1}ooooooooo${c2}/sNNo${c1}ooooooooo/ |
| 14702 | .ooooooooo${c2}oMd:${c1}oooooooooooo${c2}:yMy${c1}ooooooooo. |
| 14703 | +ooooo${c2}:+o/Md${c1}oooooo${c2}:sm/${c1}oo/ooo${c2}yMo${c1}oooooooo+ |
| 14704 | ooo${c2}:sdMdosMo${c1}ooooo${c2}oNMd${c1}//${c2}dMd+${c1}o${c2}:so${c1}ooooooooo |
| 14705 | oooo${c2}+ymdosMo${c1}ooo${c2}+mMm${c1}+/${c2}hMMMMMh+hs${c1}ooooooooo |
| 14706 | +oooooo${c2}:${c1}:${c2}/Nm:${c1}/${c2}hMNo${c1}:y${c2}MMMMMMMMMM+${c1}oooooooo+ |
| 14707 | .ooooooooo${c2}/NNMNy${c1}:o${c2}NMMMMMMMMMMo${c1}ooooooooo. |
| 14708 | /oooooooooo${c2}:yh:${c1}+m${c2}MMMMMMMMMMd/${c1}ooooooooo/ |
| 14709 | +oooooooooo${c2}+${c1}/h${c2}mMMMMMMNds//o${c1}oooooooo+ |
| 14710 | /oooooooooooo${c2}+:////:o/ymMd${c1}ooooooo/ |
| 14711 | .oooooooooooooooooooo${c2}/sdh${c1}oooooo. |
| 14712 | -+oooooooooooooooooooooooo+- |
| 14713 | `:+oooooooooooooooooo+:` |
| 14714 | .-/+oooooooo+/-. |
| 14715 | EOF |
| 14716 | ;; |
| 14717 | |
| 14718 | "Ubuntu Budgie"* | "Ubuntu-Budgie"*) |
| 14719 | set_colors 4 7 1 |
| 14720 | read -rd '' ascii_data <<'EOF' |
| 14721 | ${c2} ./oydmMMMMMMmdyo/. |
| 14722 | :smMMMMMMMMMMMhs+:++yhs: |
| 14723 | `omMMMMMMMMMMMN+` `odo` |
| 14724 | /NMMMMMMMMMMMMN- `sN/ |
| 14725 | `hMMMMmhhmMMMMMMh sMh` |
| 14726 | .mMmo- /yMMMMm` `MMm. |
| 14727 | mN/ yMMMMMMMd- MMMm |
| 14728 | oN- oMMMMMMMMMms+//+o+: :MMMMo |
| 14729 | m/ +NMMMMMMMMMMMMMMMMm. :NMMMMm |
| 14730 | M` .NMMMMMMMMMMMMMMMNodMMMMMMM |
| 14731 | M- sMMMMMMMMMMMMMMMMMMMMMMMMM |
| 14732 | mm` mMMMMMMMMMNdhhdNMMMMMMMMMm |
| 14733 | oMm/ .dMMMMMMMMh: :dMMMMMMMo |
| 14734 | mMMNyo/:/sdMMMMMMMMM+ sMMMMMm |
| 14735 | .mMMMMMMMMMMMMMMMMMs `NMMMm. |
| 14736 | `hMMMMMMMMMMM.oo+. `MMMh` |
| 14737 | /NMMMMMMMMMo sMN/ |
| 14738 | `omMMMMMMMMy. :dmo` |
| 14739 | :smMMMMMMMh+-` `.:ohs: |
| 14740 | ./oydmMMMMMMdhyo/. |
| 14741 | EOF |
| 14742 | ;; |
| 14743 | |
| 14744 | "Ubuntu-GNOME"*) |
| 14745 | set_colors 4 5 7 6 |
| 14746 | read -rd '' ascii_data <<'EOF' |
| 14747 | ${c3} ./o. |
| 14748 | .oooooooo |
| 14749 | .oooo```soooo |
| 14750 | .oooo` `soooo |
| 14751 | .ooo` ${c4}.o.${c3} `\/ooo. |
| 14752 | :ooo ${c4}:oooo.${c3} `\/ooo. |
| 14753 | sooo ${c4}`ooooo${c3} \/oooo |
| 14754 | \/ooo ${c4}`soooo${c3} `ooooo |
| 14755 | `soooo ${c4}`\/ooo${c3} `soooo |
| 14756 | ${c4}./oo ${c3}`\/ooo ${c4}`/oooo.${c3} `/ooo |
| 14757 | ${c4}`\/ooo. ${c3}`/oooo. ${c4}`/oooo.${c3} `` |
| 14758 | ${c4} `\/ooo. ${c3}/oooo ${c4}/ooo` |
| 14759 | ${c4} `ooooo ${c3}`` ${c4}.oooo |
| 14760 | ${c4} `soooo. .oooo` |
| 14761 | `\/oooooooooo` |
| 14762 | ``\/oo`` |
| 14763 | EOF |
| 14764 | ;; |
| 14765 | |
| 14766 | "Ubuntu Kylin"* | "Ubuntu-Kylin"*) |
| 14767 | set_colors 1 7 3 |
| 14768 | read -rd '' ascii_data <<'EOF' |
| 14769 | ${c1} .__=liiiiiii=__, |
| 14770 | ._=liiliii|i|i|iiilii=_. |
| 14771 | _=iiiii|ii|i|ii|i|inwwwzii=, |
| 14772 | .=liiii|ii|ii|wwww|i${c2}3QWWWW${c1}ziii=, |
| 14773 | =lii|i|ii|i|${c2}QQQWWWWWm]QWWQD${c1}||iiii= |
| 14774 | =lii|iiivw${c2}Qm${c1}>3${c2}WWWWWQWQQwwQw${c1}cii|i|ii= |
| 14775 | =lii|ii|n${c2}QWWWQ${c1}|)i${c2}|i${c1}%i|]${c2}TQWWWWm${c1}|ii|i|i= |
| 14776 | .li|i|i|m${c2}WWWQV${c1}|ii${c2}wmD${c1}|iiii|${c2}TWWWWm${c1}|i|iiii, |
| 14777 | =iii${c2}www|$WQWk${c1}|i${c2}aWWWD${c1}|i|i|ii]${c2}QQWQk${c1}|ii|i|= |
| 14778 | iii${c2}QWWWQz$WW${c1}|i${c2}jQQWQm${c1}w|ii${c2}wW${c1}k|${c2}TTTTY${c1}i|i|iii |
| 14779 | iiI${c2}QWQWWtyQQ${c1}|i|${c2}$WWWWWQWk${c1}||i|i|ii||i|ii|i |
| 14780 | <|i|${c2}TTT|mQQWz${c1}|i${c2}3D${c1}]C|${c2}nD$W${c1}|ii${c2}vWWWWk${c1}||ii|i> |
| 14781 | -|ii|i|i${c2}WWWQw${c1}|${c2}Tt${c1}|i3${c2}T${c1}|${c2}T${c1}|i|${c2}nQWQWDk${c1}|ii|ii` |
| 14782 | <|i|iii|${c2}VWQWWQ${c1}|i|i|||ii${c2}wmWWQWD${c1}||ii|ii+ |
| 14783 | <|ii|i|i]${c2}$W@${c1}tv${c2}QQQWQQQWWTTHT${c1}1|iii|i|> |
| 14784 | <|i|ii|ii||v${c2}QWWWQWWW@vmWWWm${c1}|i|i|i> |
| 14785 | -<|i|ii|ii|i|${c2}TTTTTT${c1}|]${c2}QQWWWC${c1}|ii>` |
| 14786 | -<|i|ii|i|ii|i|i|ii3${c2}TTT${c1}t|i>` |
| 14787 | ~<|ii|ii|iiiii|i|||i>~ |
| 14788 | -~~<|ii|i||i>~~` |
| 14789 | EOF |
| 14790 | ;; |
| 14791 | |
| 14792 | |
| 14793 | "Ubuntu Touch"*) |
| 14794 | set_colors 3 7 |
| 14795 | read -rd '' ascii_data <<'EOF' |
| 14796 | ${c1} |
| 14797 | ############### |
| 14798 | ## ## |
| 14799 | ## ${c2}##${c1} ${c2}##${c1} ## |
| 14800 | ## ${c2}##${c1} ${c2}#${c1} ${c2}#${c1} ${c2}##${c1} ## |
| 14801 | ## ${c2}###${c1} ## |
| 14802 | ## ## |
| 14803 | ############### |
| 14804 | EOF |
| 14805 | ;; |
| 14806 | |
| 14807 | "Ubuntu MATE"* | "Ubuntu-MATE"*) |
| 14808 | set_colors 2 7 |
| 14809 | read -rd '' ascii_data <<'EOF' |
| 14810 | ${c1} .:/+oossssoo+/:.` |
| 14811 | `:+ssssssssssssssssss+:` |
| 14812 | -+sssssssssssssss${c2}y${c1}ssssssss+- |
| 14813 | .osssssssssssss${c2}yy${c1}ss${c2}mMmh${c1}ssssssso. |
| 14814 | /sssssssss${c2}ydmNNNmmd${c1}s${c2}mMMMMNdy${c1}sssss/ |
| 14815 | `+ssssssss${c2}hNNdy${c1}sssssss${c2}mMMMMNdy${c1}ssssss+` |
| 14816 | +sssssss${c2}yNNh${c1}ss${c2}hmNNNNm${c1}s${c2}mMmh${c1}s${c2}ydy${c1}sssssss+ |
| 14817 | -sssss${c2}y${c1}ss${c2}Nm${c1}ss${c2}hNNh${c1}ssssss${c2}y${c1}s${c2}hh${c1}ss${c2}mMy${c1}sssssss- |
| 14818 | +ssss${c2}yMNdy${c1}ss${c2}hMd${c1}ssssssssss${c2}hMd${c1}ss${c2}NN${c1}sssssss+ |
| 14819 | sssss${c2}yMMMMMmh${c1}sssssssssssss${c2}NM${c1}ss${c2}dMy${c1}sssssss |
| 14820 | sssss${c2}yMMMMMmhy${c1}ssssssssssss${c2}NM${c1}ss${c2}dMy${c1}sssssss |
| 14821 | +ssss${c2}yMNdy${c1}ss${c2}hMd${c1}ssssssssss${c2}hMd${c1}ss${c2}NN${c1}sssssss+ |
| 14822 | -sssss${c2}y${c1}ss${c2}Nm${c1}ss${c2}hNNh${c1}ssssssss${c2}dh${c1}ss${c2}mMy${c1}sssssss- |
| 14823 | +sssssss${c2}yNNh${c1}ss${c2}hmNNNNm${c1}s${c2}mNmh${c1}s${c2}ymy${c1}sssssss+ |
| 14824 | +ssssssss${c2}hNNdy${c1}sssssss${c2}mMMMMmhy${c1}ssssss+ |
| 14825 | /sssssssss${c2}ydmNNNNmd${c1}s${c2}mMMMMNdh${c1}sssss/ |
| 14826 | .osssssssssssss${c2}yy${c1}ss${c2}mMmdy${c1}sssssso. |
| 14827 | -+sssssssssssssss${c2}y${c1}ssssssss+- |
| 14828 | `:+ssssssssssssssssss+:` |
| 14829 | .:/+oossssoo+/:. |
| 14830 | |
| 14831 | EOF |
| 14832 | ;; |
| 14833 | |
| 14834 | "ubuntu_old02") |
| 14835 | set_colors 1 7 3 |
| 14836 | read -rd '' ascii_data <<'EOF' |
| 14837 | ${c1} ./+o+- |
| 14838 | ${c2} yyyyy- ${c1}-yyyyyy+ |
| 14839 | ${c2} ${c2}://+//////${c1}-yyyyyyo |
| 14840 | ${c3} .++ ${c2}.:/++++++/-${c1}.+sss/` |
| 14841 | ${c3} .:++o: ${c2}/++++++++/:--:/- |
| 14842 | ${c3} o:+o+:++.${c2}`..```.-/oo+++++/ |
| 14843 | ${c3} .:+o:+o/.${c2} `+sssoo+/ |
| 14844 | ${c2} .++/+:${c3}+oo+o:`${c2} /sssooo. |
| 14845 | ${c2}/+++//+:${c3}`oo+o${c2} /::--:. |
| 14846 | ${c2}+/+o+++${c3}`o++o${c1} ++////. |
| 14847 | ${c2} .++.o+${c3}++oo+:`${c1} /dddhhh. |
| 14848 | ${c3} .+.o+oo:.${c1} `oddhhhh+ |
| 14849 | ${c3} +.++o+o`${c1}`-````.:ohdhhhhh+ |
| 14850 | ${c3} `:o+++ ${c1}`ohhhhhhhhyo++os: |
| 14851 | ${c3} .o:${c1}`.syhhhhhhh/${c3}.oo++o` |
| 14852 | ${c1} /osyyyyyyo${c3}++ooo+++/ |
| 14853 | ${c1} ````` ${c3}+oo+++o: |
| 14854 | ${c3} `oo++. |
| 14855 | EOF |
| 14856 | ;; |
| 14857 | |
| 14858 | "Ubuntu Studio"* | "Ubuntu-Studio") |
| 14859 | set_colors 6 7 |
| 14860 | read -rd '' ascii_data <<'EOF' |
| 14861 | ${c1} ..-::::::-.` |
| 14862 | `.:+++++++++++${c2}ooo${c1}++:.` |
| 14863 | ./+++++++++++++${c2}sMMMNdyo${c1}+/. |
| 14864 | .++++++++++++++++${c2}oyhmMMMMms${c1}++. |
| 14865 | `/+++++++++${c2}osyhddddhys${c1}+${c2}osdMMMh${c1}++/` |
| 14866 | `+++++++++${c2}ydMMMMNNNMMMMNds${c1}+${c2}oyyo${c1}++++` |
| 14867 | +++++++++${c2}dMMNhso${c1}++++${c2}oydNMMmo${c1}++++++++` |
| 14868 | :+${c2}odmy${c1}+++${c2}ooysoohmNMMNmyoohMMNs${c1}+++++++: |
| 14869 | ++${c2}dMMm${c1}+${c2}oNMd${c1}++${c2}yMMMmhhmMMNs+yMMNo${c1}+++++++ |
| 14870 | `++${c2}NMMy${c1}+${c2}hMMd${c1}+${c2}oMMMs${c1}++++${c2}sMMN${c1}++${c2}NMMs${c1}+++++++. |
| 14871 | `++${c2}NMMy${c1}+${c2}hMMd${c1}+${c2}oMMMo${c1}++++${c2}sMMN${c1}++${c2}mMMs${c1}+++++++. |
| 14872 | ++${c2}dMMd${c1}+${c2}oNMm${c1}++${c2}yMMNdhhdMMMs${c1}+y${c2}MMNo${c1}+++++++ |
| 14873 | :+${c2}odmy${c1}++${c2}oo${c1}+${c2}ss${c1}+${c2}ohNMMMMmho${c1}+${c2}yMMMs${c1}+++++++: |
| 14874 | +++++++++${c2}hMMmhs+ooo+oshNMMms${c1}++++++++ |
| 14875 | `++++++++${c2}oymMMMMNmmNMMMMmy+oys${c1}+++++` |
| 14876 | `/+++++++++${c2}oyhdmmmmdhso+sdMMMs${c1}++/ |
| 14877 | ./+++++++++++++++${c2}oyhdNMMMms${c1}++. |
| 14878 | ./+++++++++++++${c2}hMMMNdyo${c1}+/. |
| 14879 | `.:+++++++++++${c2}sso${c1}++:. |
| 14880 | ..-::::::-.. |
| 14881 | EOF |
| 14882 | ;; |
| 14883 | |
| 14884 | "Ubuntu Sway"* | "Ubuntu-Sway") |
| 14885 | set_colors 6 7 |
| 14886 | read -rd '' ascii_data <<'EOF' |
| 14887 | ${c1} .-/+oossssoo+\-. |
| 14888 | ´:+ssssssssssssssssss+:` |
| 14889 | -+ssssssssssssssssss${c2}yy${c1}ssss+- |
| 14890 | .ossssssssssssssssss${c2}dMMMNyy${c1}ssso. |
| 14891 | /sssssssssss${c2}hdmmNNmmyNMMMMh${c1}ssssss\ |
| 14892 | +sssssssss${c2}hm${c1}ydMMMMMMMNdd${c2}ddy${c1}ssssssss+ |
| 14893 | /ssssssss${c2}hN${c1}MM${c2}M${c1}yh${c2}hyyyyhmNM${c1}MM${c2}Nh${c1}ssssssss\ |
| 14894 | .ssssssss${c2}dM${c1}MM${c2}Nh${c1}ssssssssss${c2}hN${c1}MM${c2}Md${c1}ssssssss. |
| 14895 | +sss${c2}yyyyyN${c1}MM${c2}Ny${c1}ssssssssssss${c2}yN${c1}MM${c2}My${c1}sssssss+ |
| 14896 | ossy${c2}NMMMNy${c1}MM${c2}h${c1}ssssssssssssss${c2}hm${c1}mm${c2}h${c1}ssssssso |
| 14897 | ossy${c2}NMMMNy${c1}MM${c2}h${c1}sssssssssssssshmmmh${c1}ssssssso |
| 14898 | +sss${c2}yyyyyN${c1}MM${c2}Ny${c1}ssssssssssss${c2}yN${c1}MM${c2}My${c1}sssssss+ |
| 14899 | .ssssssss${c2}dM${c1}MM${c2}Nh${c1}ssssssssss${c2}hN${c1}MM${c2}Md${c1}ssssssss. |
| 14900 | \ssssssss${c2}hN${c1}MM${c2}M${c1}yh${c2}hyyyyhdNM${c1}M${c2}MNh${c1}ssssssss/ |
| 14901 | +sssssssss${c2}dm${c1}ydMMMMMMMMdd${c2}ddy${c1}ssssssss+ |
| 14902 | \sssssssssss${c2}hdmNNNNmyNMMMMh${c1}ssssss/ |
| 14903 | .ossssssssssssssssss${c2}dMMMNyy${c1}ssso. |
| 14904 | -+sssssssssssssssss${c2}yy${c1}sss+- |
| 14905 | `:+ssssssssssssssssss+:` |
| 14906 | .-\+oossssoo+/-. |
| 14907 | EOF |
| 14908 | ;; |
| 14909 | |
| 14910 | "ubuntu_small") |
| 14911 | set_colors 1 |
| 14912 | read -rd '' ascii_data <<'EOF' |
| 14913 | ${c1} ..;,; .,;,. |
| 14914 | .,lool: .ooooo, |
| 14915 | ;oo;: .coool. |
| 14916 | .... ''' ,l; |
| 14917 | :oooo, 'oo. |
| 14918 | looooc :oo' |
| 14919 | '::' ,oo: |
| 14920 | ,., .... co, |
| 14921 | lo:;. :oooo; . |
| 14922 | ':ooo; cooooc |
| 14923 | ''' '''' |
| 14924 | EOF |
| 14925 | ;; |
| 14926 | |
| 14927 | "Ubuntu_old"* | "i3buntu"*) |
| 14928 | set_colors 1 7 3 |
| 14929 | read -rd '' ascii_data <<'EOF' |
| 14930 | ${c1} .-/+oossssoo+\-. |
| 14931 | ´:+ssssssssssssssssss+:` |
| 14932 | -+ssssssssssssssssssyyssss+- |
| 14933 | .ossssssssssssssssss${c2}dMMMNy${c1}sssso. |
| 14934 | /sssssssssss${c2}hdmmNNmmyNMMMMh${c1}ssssss\ |
| 14935 | +sssssssss${c2}hm${c1}yd${c2}MMMMMMMNddddy${c1}ssssssss+ |
| 14936 | /ssssssss${c2}hNMMM${c1}yh${c2}hyyyyhmNMMMNh${c1}ssssssss\ |
| 14937 | .ssssssss${c2}dMMMNh${c1}ssssssssss${c2}hNMMMd${c1}ssssssss. |
| 14938 | +ssss${c2}hhhyNMMNy${c1}ssssssssssss${c2}yNMMMy${c1}sssssss+ |
| 14939 | oss${c2}yNMMMNyMMh${c1}ssssssssssssss${c2}hmmmh${c1}ssssssso |
| 14940 | oss${c2}yNMMMNyMMh${c1}sssssssssssssshmmmh${c1}ssssssso |
| 14941 | +ssss${c2}hhhyNMMNy${c1}ssssssssssss${c2}yNMMMy${c1}sssssss+ |
| 14942 | .ssssssss${c2}dMMMNh${c1}ssssssssss${c2}hNMMMd${c1}ssssssss. |
| 14943 | \ssssssss${c2}hNMMM${c1}yh${c2}hyyyyhdNMMMNh${c1}ssssssss/ |
| 14944 | +sssssssss${c2}dm${c1}yd${c2}MMMMMMMMddddy${c1}ssssssss+ |
| 14945 | \sssssssssss${c2}hdmNNNNmyNMMMMh${c1}ssssss/ |
| 14946 | .ossssssssssssssssss${c2}dMMMNy${c1}sssso. |
| 14947 | -+sssssssssssssssss${c2}yyy${c1}ssss+- |
| 14948 | `:+ssssssssssssssssss+:` |
| 14949 | .-\+oossssoo+/-. |
| 14950 | EOF |
| 14951 | ;; |
| 14952 | |
| 14953 | "Floflis"*) |
| 14954 | set_colors 1 7 3 |
| 14955 | read -rd '' ascii_data <<'EOF' |
| 14956 | \e[96m ,▄▄▄▌▓▓███▓▓▌▄▄▄, |
| 14957 | ,▄▒▓███████████████████▓▄▄ |
| 14958 | ▄▓███████████████████████████▌ |
| 14959 | ▓███████████████████████████████ |
| 14960 | , ╙▓████████████████████████████▀ ▄ |
| 14961 | ╓█▓▄ ╙▀▓████████████████████▀▀` ,▄██▓ |
| 14962 | ╓█████▌▄, '▀▀▀▀▓▓▓▓▓▓▀▀Å╙` ▄▄▓█████▌ |
| 14963 | ██████████▓▌▄ , ▄▓███████████▄ |
| 14964 | ╢████████████▓ ║████▓▓███▌ ╣█████████████▓ |
| 14965 | ▓█████████████ ▐█████████▀ ▓██████████████ |
| 14966 | ▓█████████████ ▐█████████▄ ███████████████ |
| 14967 | ▀████████████▌ ║█████████▌ ▀█████████████▌ |
| 14968 | ████████████M ▓██████████ ▐█████████████⌐ |
| 14969 | ▀██████████▌ ▐███████████▌ ▀███████████▌ |
| 14970 | ╙▓█████▓ ▓██████████████▄ ▀███████▀ |
| 14971 | ╝▓██▀ ╓▓████████████████▓ ▀▓██▀ |
| 14972 | ,▄████████████████████▌, |
| 14973 | ╝▀████████████████████▓▀' |
| 14974 | `╙▀▀▓▓███████▓▀▀╩' |
| 14975 | EOF |
| 14976 | ;; |
| 14977 | |
| 14978 | "Ubuntu"*) |
| 14979 | set_colors 1 |
| 14980 | read -rd '' ascii_data <<'EOF' |
| 14981 | ${c1} .... |
| 14982 | .',:clooo: .:looooo:. |
| 14983 | .;looooooooc .oooooooooo' |
| 14984 | .;looooool:,''. :ooooooooooc |
| 14985 | ;looool;. 'oooooooooo, |
| 14986 | ;clool' .cooooooc. ,, |
| 14987 | ... ...... .:oo, |
| 14988 | .;clol:,. .loooo' |
| 14989 | :ooooooooo, 'ooool |
| 14990 | 'ooooooooooo. loooo. |
| 14991 | 'ooooooooool coooo. |
| 14992 | ,loooooooc. .loooo. |
| 14993 | .,;;;'. ;ooooc |
| 14994 | ... ,ooool. |
| 14995 | .cooooc. ..',,'. .cooo. |
| 14996 | ;ooooo:. ;oooooooc. :l. |
| 14997 | .coooooc,.. coooooooooo. |
| 14998 | .:ooooooolc:. .ooooooooooo' |
| 14999 | .':loooooo; ,oooooooooc |
| 15000 | ..';::c' .;loooo:' |
| 15001 | . |
| 15002 | EOF |
| 15003 | ;; |
| 15004 | |
| 15005 | "Ultramarine Linux"* | "ultramarine"*) |
| 15006 | set_colors 4 7 |
| 15007 | read -rd '' ascii_data <<'EOF' |
| 15008 | ${c1} .cd0NNNNNNNXOdc. |
| 15009 | .:xKNNNNNNNNNNNNNNNNKd;. |
| 15010 | ,dXNNNNNNNNNNNNNNNNNNNNNNNd, |
| 15011 | 'ONNNNNNNNNNNNNNNNNNNNNNNNNNNNO' |
| 15012 | .xNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNk. |
| 15013 | .0NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN0. |
| 15014 | .0NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN0. |
| 15015 | dNNNNNNNNNNNNWWWWWWWWNNNNNNNNNNNNNNNNNNd |
| 15016 | NNNNNNNNNNNNNW${c2}MMMMMMMM${c1}WWNNNNNNNNNNNNNNNN |
| 15017 | NNNNNNNNNNNNNNW${c2}MMMMMMMMM${c1}WWNNNNNNNNNNNNNN |
| 15018 | NNNNNNNNNNNNNNW${c2}MMMMMMMMMMMM${c1}WNNNNNNNNNNNN |
| 15019 | NNNNNNNNNNWWW${c2}MMMMMMMMMMMMMMMM${c1}WWWNNNNNNNX |
| 15020 | oNWWWW${c2}MMMMMMMMMMMMMMMMMMMMMMMMMMMM${c1}WWWNNo |
| 15021 | OW${c2}MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM${c1}WO |
| 15022 | .OW${c2}MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM${c1}WO. |
| 15023 | lNW${c2}MMMMMMMMMMMMMMMMMMMMMMMMMMMM${c1}WNl |
| 15024 | .dNW${c2}MMMMMMMMMMMMMMMMMMMMMMMM${c1}WNd. |
| 15025 | .cKW${c2}MMMMMMMMMMMMMMMMMMMM${c1}WKc. |
| 15026 | 'oOXWWW${c2}MMMMMMMM${c1}WWWXOl. |
| 15027 | ;lkXNNNNNNXkl' |
| 15028 | EOF |
| 15029 | ;; |
| 15030 | |
| 15031 | |
| 15032 | "Univalent"*) |
| 15033 | set_colors 6 6 |
| 15034 | read -rd '' ascii_data <<'EOF' |
| 15035 | ${c1} |
| 15036 | UUUUUUU UUUUUUU |
| 15037 | UUUUUUU UUUUUUU |
| 15038 | UUUUUUU A UUUUUUU |
| 15039 | UUUUUUU A|A UUUUUUU |
| 15040 | UUUUUUU A | A UUUUUUU |
| 15041 | UUUUUUU A | A UUUUUUU |
| 15042 | UUUUUUU A| | |A UUUUUUU |
| 15043 | UUUUUUU A | | | A UUUUUUU |
| 15044 | UUUUUUU A | | | A UUUUUUU |
| 15045 | UUUUUUU A | | | A UUUUUUU |
| 15046 | UUUUUUU A | | | A UUUUUUU |
| 15047 | UUUUUUU A | | | A UUUUUUU |
| 15048 | UUUUUUU A | | | A UUUUUUU |
| 15049 | UUUUUUU A | | | A UUUUUUU |
| 15050 | UUUUUUU A | | | A UUUUUUU |
| 15051 | UUUUUUUAAAAAAAAAAAUUUUUUU |
| 15052 | UUUUUUUUUUUUUUUUUUU |
| 15053 | UUUUUUUUUUUUU |
| 15054 | EOF |
| 15055 | ;; |
| 15056 | |
| 15057 | "Uos"*) |
| 15058 | set_colors 1 7 3 |
| 15059 | read -rd '' ascii_data << 'EOF' |
| 15060 | ${c1} |
| 15061 | ....... |
| 15062 | .............. |
| 15063 | ...................... |
| 15064 | ............................. |
| 15065 | uuuuuu uuuuuu ooooooooooo ssssssssss |
| 15066 | u::::u u::::u oo:::::::::::oo ss::::::::::s |
| 15067 | u::::u u::::u o:::::::::::::::oss:::::::::::::s |
| 15068 | u::::u u::::u o:::::ooooo:::::os::::::ssss:::::s |
| 15069 | u::::u u::::u o::::o o::::o s:::::s ssssss |
| 15070 | u::::u u::::u o::::o o::::o s::::::s |
| 15071 | u::::u u::::u o::::o o::::o s::::::s |
| 15072 | u:::::uuuu:::::u o::::o o::::ossssss s:::::s |
| 15073 | u:::::::::::::::uuo:::::ooooo:::::os:::::ssss::::::s |
| 15074 | u:::::::::::::::uo:::::::::::::::os::::::::::::::s |
| 15075 | uu::::::::uu:::u oo:::::::::::oo s:::::::::::ss |
| 15076 | uuuuuuuu uuuu ooooooooooo sssssssssss |
| 15077 | ............................. |
| 15078 | ..................... |
| 15079 | ............. |
| 15080 | ...... |
| 15081 | EOF |
| 15082 | ;; |
| 15083 | |
| 15084 | "Univention"*) |
| 15085 | set_colors 1 7 |
| 15086 | read -rd '' ascii_data <<'EOF' |
| 15087 | ${c1} ./osssssssssssssssssssssso+- |
| 15088 | `ohhhhhhhhhhhhhhhhhhhhhhhhhhhhy: |
| 15089 | shhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh- |
| 15090 | `-//${c2}sssss${c1}/hhhhhhhhhhhhhh+${c2}s${c1}.hhhhhhhhh+ |
| 15091 | .ohhhy${c2}sssss${c1}.hhhhhhhhhhhhhh.${c2}sss${c1}+hhhhhhh+ |
| 15092 | .yhhhhy${c2}sssss${c1}.hhhhhhhhhhhhhh.${c2}ssss${c1}:hhhhhh+ |
| 15093 | +hhhhhy${c2}sssss${c1}.hhhhhhhhhhhhhh.${c2}sssss${c1}yhhhhh+ |
| 15094 | +hhhhhy${c2}sssss${c1}.hhhhhhhhhhhhhh.${c2}sssss${c1}yhhhhh+ |
| 15095 | +hhhhhy${c2}sssss${c1}.hhhhhhhhhhhhhh.${c2}sssss${c1}yhhhhh+ |
| 15096 | +hhhhhy${c2}sssss${c1}.hhhhhhhhhhhhhh.${c2}sssss${c1}yhhhhh+ |
| 15097 | +hhhhhy${c2}sssss${c1}.hhhhhhhhhhhhhh.${c2}sssss${c1}yhhhhh+ |
| 15098 | +hhhhhy${c2}sssss${c1}.hhhhhhhhhhhhhh.${c2}sssss${c1}yhhhhh+ |
| 15099 | +hhhhhy${c2}sssss${c1}.hhhhhhhhhhhhhh.${c2}sssss${c1}yhhhhh+ |
| 15100 | +hhhhhy${c2}ssssss${c1}+yhhhhhhhhhhy/${c2}ssssss${c1}yhhhhh+ |
| 15101 | +hhhhhh:${c2}sssssss${c1}:hhhhhhh+${c2}.ssssssss${c1}yhhhhy. |
| 15102 | +hhhhhhh+`${c2}ssssssssssssssss${c1}hh${c2}sssss${c1}yhhho` |
| 15103 | +hhhhhhhhhs+${c2}ssssssssssss${c1}+hh+${c2}sssss${c1}/:-` |
| 15104 | -hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhho |
| 15105 | :yhhhhhhhhhhhhhhhhhhhhhhhhhhhh+` |
| 15106 | -+ossssssssssssssssssssss+:` |
| 15107 | EOF |
| 15108 | ;; |
| 15109 | |
| 15110 | "uwuntu"*) |
| 15111 | set_colors 225 206 52 |
| 15112 | read -rd '' ascii_data <<'EOF' |
| 15113 | ${c1} && |
| 15114 | &&&&&&&& |
| 15115 | , *&&&&&& &&&&&&&&( |
| 15116 | &%%%%&&&& &&&&&&&&&&&& ,&&&&& |
| 15117 | %%${c2}%%%%&&${c1}&&& ,&&&&&&&&&&&&&, %&&&$&&&%%$%%%. |
| 15118 | &%%%${c2}%&&&&&${c1}&&# &, &&&&&&${c2}&&&&&&&%%%${c1}%% |
| 15119 | &%%&&${c2}&&&&${c1}&&&( &&&${c2}&&&&&&%${c1}%%% |
| 15120 | &&&&&${c2}&&&${c1}&% *&&${c2}&&&&&${c1}&&% |
| 15121 | &&&/ &&&&${c3}\${c1}& ,${c3}/${c1}*.** |
| 15122 | %&&&&&&&& &&&${c3}⟩${c1}., *.${c3}⟨${c1} |
| 15123 | %&&&&&&&& &&${c3}/${c1}.. ${c3}/ \${c1} ..${c3}\${c1}(&&&&&& |
| 15124 | #&&&#%%%%.%%%( ${c3}\_/\_/${c1} (%%%.%%%%/ |
| 15125 | /%%%%%%%&&* ,&&&%%%%%%& |
| 15126 | &&&&&&&& &&&&&&&&&&& |
| 15127 | (&&&&& &&&&&&&&&&& |
| 15128 | ${c2}%%${c1} & &&&&&&&&&&&& &&&&&&& |
| 15129 | ${c2}%%%${c1} #&&&&&&# &&&&&&&&& |
| 15130 | ${c2}%%%%% %%${c1} #&&&&&( |
| 15131 | ${c2}&%. %%%${c1} |
| 15132 | ${c2}%%%%%%% |
| 15133 | EOF |
| 15134 | ;; |
| 15135 | |
| 15136 | "UrukOS"*) |
| 15137 | set_colors 12 12 7 12 4 |
| 15138 | read -rd '' ascii_data <<'EOF' |
| 15139 | ${c3} :${c4}:::::::::::::: ${c5}. |
| 15140 | ${c3}=#${c4}*============. ${c5}:#: |
| 15141 | ${c3}=##%${c4}+----------. ${c5}.###: |
| 15142 | ${c3}=####. ${c5}.####: |
| 15143 | ${c3}=####. ${c5}.####: |
| 15144 | ${c3}=###*. .=${c4}--------. ${c5}####: |
| 15145 | ${c3}=####. .*#+${c4}======- ${c5}####: |
| 15146 | ${c3}=###*. .*###+${c4}====- ${c5}####: |
| 15147 | ${c3}=###*. .*#####+${c4}==- ${c5}####: |
| 15148 | ${c3}=###*. .*#######+${c4}: ${c5}####: |
| 15149 | ${c3}=###*. .*#######+${c4}: ${c5}####: |
| 15150 | ${c3}=###*. .*#####+${c4}==- ${c5}####: |
| 15151 | ${c3}=###*. .*###+${c4}====- ${c5}####: |
| 15152 | ${c3}=####. .*#+${c4}======- ${c5}####: |
| 15153 | ${c3}=###*. .=${c4}--------. ${c5}.####: |
| 15154 | ${c3}=####. ${c5}.####: |
| 15155 | ${c3}=####. ${c5}.####: |
| 15156 | ${c3}=###+${c4}--------------${c5}####: |
| 15157 | ${c3}=#+${c4}=================-${c5}: |
| 15158 | ${c3}:${c4}::::::::::::::::::. |
| 15159 | |
| 15160 | EOF |
| 15161 | ;; |
| 15162 | |
| 15163 | "venom_small"*) |
| 15164 | set_colors 8 4 |
| 15165 | read -rd '' ascii_data <<'EOF' |
| 15166 | ${c1} ++** |
| 15167 | *===**====+* |
| 15168 | *====* +===+ |
| 15169 | *==*+===* *===* |
| 15170 | *===* *===+ *===* |
| 15171 | *===* +===+ *===* |
| 15172 | *===* +===* *===* |
| 15173 | *===* *===+*==* |
| 15174 | +===+ *===+=* |
| 15175 | *+====**===* |
| 15176 | **++ |
| 15177 | EOF |
| 15178 | ;; |
| 15179 | |
| 15180 | |
| 15181 | "Venom"*) |
| 15182 | set_colors 8 4 |
| 15183 | read -rd '' ascii_data <<'EOF' |
| 15184 | ${c1} |
| 15185 | `-` |
| 15186 | -yys+/-` |
| 15187 | `oyyyyy: /osyyyyso+:. |
| 15188 | /yyyyy+`+yyyyyyyyyys/. |
| 15189 | .-yyyyys.:+//+oyyyyyyyo. |
| 15190 | `oy/`oyyyyy/ ./syyyyy: |
| 15191 | syyys`:yyyyyo` :yyyyy: |
| 15192 | /yyyyo .syyyyy- .yyyyy. |
| 15193 | yyyyy. +yyyyy/ /yyyy/ |
| 15194 | `yyyyy :yyyyys` -yyyyo |
| 15195 | yyyyy. `syyyyy- /yyyy/ |
| 15196 | /yyyyo /yyyyy+ .yyyyy. |
| 15197 | syyyys. -yyyyys.:yyyy: |
| 15198 | `oyyyyyo-` `oyyyyy:.sy: |
| 15199 | :syyyyyyso+/++`/yyyyyo`` |
| 15200 | -oyyyyyyyyyyy-.syyyys. |
| 15201 | -/+osyyyyso.`+yyyyy/ |
| 15202 | .-/+syo` |
| 15203 | `. |
| 15204 | EOF |
| 15205 | ;; |
| 15206 | |
| 15207 | "void_small") |
| 15208 | set_colors 2 8 |
| 15209 | read -rd '' ascii_data <<'EOF' |
| 15210 | ${c1} _______ |
| 15211 | _ \\______ - |
| 15212 | | \\ ___ \\ | |
| 15213 | | | / \ | | |
| 15214 | | | \___/ | | |
| 15215 | | \\______ \\_| |
| 15216 | -_______\\ |
| 15217 | EOF |
| 15218 | ;; |
| 15219 | |
| 15220 | "Void"*) |
| 15221 | set_colors 8 2 7 |
| 15222 | read -rd '' ascii_data <<'EOF' |
| 15223 | ${c1} .......... |
| 15224 | .::::::::::::::::::.. |
| 15225 | ..:::::::::::::::::::::::::. |
| 15226 | '::::::::::::::::::::::::::::. |
| 15227 | ':::::'' '':::::::::::::. |
| 15228 | ${c3} .. ${c1}' '':::::::::. |
| 15229 | ${c3} .||. ${c1}'::::::::: |
| 15230 | ${c3} .|||||. ${c1}':::::::: |
| 15231 | ${c3} .|||||||: ${c1}:::::::: |
| 15232 | ${c3} |||||||: ${c1}.::::::::. :::::::: |
| 15233 | ${c2} ######${c3}||||||' ${c2}##^ v##########v${c1}::. ${c2}##### #############v |
| 15234 | ${c2} ######${c3}||||| ${c2}##^ v####${c1}::::::${c2}####v${c1}::${c2}##### #####${c1}:::::${c2}##### |
| 15235 | ${c2} ######${c3}||${c2}##^ #####${c1}::::::${c2}#####${c1}::${c2}##### #####${c1}:::::${c2}###### |
| 15236 | ${c2} ######^${c3}|| ${c2}#####${c1}:::::${c2}####^${c1}::${c2}##### #####${c1}:::::${c2}#####^ |
| 15237 | ${c2} ##^${c3}||||| ${c2}^###########^${c1}:::${c2}##### ##############^ |
| 15238 | ${c3} |||||||: ${c1}'::::::::' .:::::::: |
| 15239 | ${c3} '|||||||: ${c1}.::::::::' |
| 15240 | ${c3} '|||||||:. ${c1}':::::: |
| 15241 | ${c3} '||||||||:. ${c1}'::: |
| 15242 | ${c3} ':|||||||||. . ${c1}' |
| 15243 | ${c3} '|||||||||||:... ...:||||. |
| 15244 | ${c3} ':||||||||||||||||||||||||||. |
| 15245 | ${c3} ':|||||||||||||||||||||||'' |
| 15246 | ${c3} '':||||||||||||||:'' |
| 15247 | ${c3} '''''' |
| 15248 | EOF |
| 15249 | ;; |
| 15250 | |
| 15251 | "VNux"*) |
| 15252 | set_colors 11 8 15 1 7 |
| 15253 | read -rd '' ascii_data <<'EOF' |
| 15254 | ${c1} ` |
| 15255 | ^[XOx~. |
| 15256 | ^_nwdbbkp0ti' |
| 15257 | <vJCZw0LQ0Uj> |
| 15258 | ${c2} _j>!vC1,, |
| 15259 | ${c4},${c2} ,CY${c3}O${c2}t${c3}O${c2}1(l;" |
| 15260 | `${c4}~-{r(1I${c2} ^${c1}/zmwJuc:${c2}I^ |
| 15261 | '${c4}?)|${c1}U${c4}/}-${c2} ^${c3}f${c1}OCLLOw${c3}_${c2},; |
| 15262 | ,${c4}i,``. ${c2}",${c3}k%ooW@$d"${c2}I,' |
| 15263 | ' ;^${c3}u$$$$$$$$^<${c2}:^ |
| 15264 | ` .>>${c3}($$${c5}$@@@@$$${c3}$nl${c2}[:: |
| 15265 | `!}?${c3}B$${c5}%&WMMW&%$${c3}$1}-${c2}}": |
| 15266 | ^?j${c3}Z$${c5}WMMWWWWMMW$${c3}ofc${c2};;` |
| 15267 | <~x&${c3}$${c5}&MWWWWWWWWp${c3}-${c5}l>[< |
| 15268 | ${c1} 'ljmwn${c2}~tk8${c5}MWWWWM8O${c2}X${c1}r${c2}+]nC${c1}[ |
| 15269 | !JZqwwdX${c2}:^C8${c5}#MMMM@${c2}X${c1}Odpdpq0< |
| 15270 | <wwwwmmpO${c2}1${c3}0@%%%%8${c2}d${c1}nqmwmqqqJl |
| 15271 | ?QOZmqqqpb${c2}t[run/?!${c1}0pwqqQj-, |
| 15272 | ^:l<{nUUv> ^x00J(" |
| 15273 | ^" |
| 15274 | EOF |
| 15275 | |
| 15276 | ;; |
| 15277 | |
| 15278 | "VzLinux"*) |
| 15279 | set_colors 1 7 3 |
| 15280 | read -rd '' ascii_data <<'EOF' |
| 15281 | ${c2} ${c1}.::::::::.${c2} |
| 15282 | `/////` ${c1}:zzzzzzzz${c2} ://///- |
| 15283 | VVVVVu` ${c1}-zzz`${c2} /VVVVV. |
| 15284 | `dVVVVV ${c1}.zzz`${c2} :VVVVV: |
| 15285 | `VVVVVo ${c1}zzz${c2} -VVVVV/ |
| 15286 | .VVVVV\ ${c1}zzz/${c2} .VVVVV+ |
| 15287 | -VVVVV: ${c1}zzzzzzzzz${c2} .dVVVVs |
| 15288 | \VVVVV- ${c1}`````````${c2} VVVVVV |
| 15289 | +VVVVV. sVVVVu` |
| 15290 | oVVVVd` +VVVVd` |
| 15291 | VVVVVV /VVVVV. |
| 15292 | `uVVVVs -VVVVV- |
| 15293 | `dVVVV+ .VVVVV/ |
| 15294 | .VVVVV\ `dVVVV+ |
| 15295 | -VVVVV-`uVVVVo |
| 15296 | :VVVVVVVVVVV |
| 15297 | \VVVVVVVVu |
| 15298 | oVVVVVVd` |
| 15299 | sVVVVV. |
| 15300 | ----. |
| 15301 | EOF |
| 15302 | ;; |
| 15303 | |
| 15304 | "yiffOS"*) |
| 15305 | set_colors 93 92 |
| 15306 | read -rd '' ascii_data <<'EOF' |
| 15307 | ${c1} NK |
| 15308 | NxKXW |
| 15309 | WOlcoXW |
| 15310 | 0olccloxNW |
| 15311 | XxllllllloxOKNW |
| 15312 | Nklllllllllllodk0XWW |
| 15313 | N0dllllllllllllllodxOKNW |
| 15314 | WKxlllllllllllllllllllooxOKN |
| 15315 | WKdllllllllllllllooooooooooooo |
| 15316 | Nxllllllllllllllloooooooooo${c2}oooo |
| 15317 | ${c1} XXNOolllllllllllloooooooooo${c2}oooooo |
| 15318 | ${c1} WX0xolllllllllllooooooooooo${c2}oooooooo |
| 15319 | ${c1} XWN0xolllllllllloooooooo${c2}ooooooooooooo |
| 15320 | ${c1} Kkdolllllllooooddddd${c2}doooooooooooddo |
| 15321 | ${c1} K00XNW${c2} WX0xdooooooddddddd |
| 15322 | WXOxdoooooodddd |
| 15323 | WXOxdddddddd |
| 15324 | NX0ddd |
| 15325 | WN0d |
| 15326 | EOF |
| 15327 | ;; |
| 15328 | |
| 15329 | "semc"*) |
| 15330 | set_colors 2 8 1 |
| 15331 | read -rd '' ascii_data <<'EOF' |
| 15332 | ${c1} /\ |
| 15333 | ______/ \ |
| 15334 | / |()| ${c2}E M C |
| 15335 | ${c1} | (-- | | |
| 15336 | \ \ | | |
| 15337 | .----) | |__| |
| 15338 | |_______/ / ${c3}"${c1} \ |
| 15339 | ${c3}" |
| 15340 | " |
| 15341 | EOF |
| 15342 | |
| 15343 | ;; |
| 15344 | |
| 15345 | "Vanilla"*) |
| 15346 | set_colors 11 15 |
| 15347 | read -rd '' ascii_data <<'EOF' |
| 15348 | ${c1} |
| 15349 | |
| 15350 | .OO. |
| 15351 | .OOOO. |
| 15352 | .OO${c2}II${c1}OO. |
| 15353 | IOOO${c2}II${c1}OOOI |
| 15354 | .OOOO${c2}II${c1}OOOO. |
| 15355 | ............IOOOO${c2}II${c1}OOOOI............ |
| 15356 | OOOOOOOOOOOOOOOOOO${c2}II${c1}OOOOOOOOOOOOOOOOOO |
| 15357 | OOOO${c2}II${c1}OOOOOOOOOOO${c2}II${c1}OOOOOOOOOOO${c2}II${c1}OOOO |
| 15358 | OOOOO${c2}III${c1}OOOOOOOO${c2}II${c1}OOOOOOOO${c2}III${c1}OOOOO |
| 15359 | OOOOOOO${c2}IIII${c1}OO${c2}I....I${c1}OO${c2}IIII${c1}OOOOOOO |
| 15360 | OOOOOOOOOO${c2}II.. ..II${c1}OOOOOOOOOO |
| 15361 | OOOOOOO${c2}II. .II${c1}OOOOOOO |
| 15362 | OOOOOO${c2}II:......:II${c1}OOOOOO |
| 15363 | OOOOOOOOO${c2}IIIIIIII${c1}OOOOOOOOO |
| 15364 | OOOOOO${c2}II${c1}OOOOOOOOOOOO${c2}II${c1}OOOOOO |
| 15365 | OOOO${c2}II${c1}OOOOOOOI IOOOOOO${c2}II${c1}OOOO |
| 15366 | IOO${c2}II${c1}OOOOOOOO: :OOOOOOOO${c2}II${c1}OOI |
| 15367 | IOOOOOOOOOOII IIOOOOOOOOOOI |
| 15368 | |
| 15369 | EOF |
| 15370 | ;; |
| 15371 | |
| 15372 | |
| 15373 | "Obarun"*) |
| 15374 | set_colors 6 6 7 1 |
| 15375 | read -rd '' ascii_data <<'EOF' |
| 15376 | ${c1} ,;::::; |
| 15377 | ;cooolc;, |
| 15378 | ,coool; |
| 15379 | ,loool, |
| 15380 | loooo; |
| 15381 | :ooool |
| 15382 | cooooc ,:ccc; |
| 15383 | looooc :oooooool |
| 15384 | cooooo ;oooooooooo, |
| 15385 | :ooooo; :ooooooooooo |
| 15386 | oooooo oooooooooooc |
| 15387 | :oooooo :ooooooooool |
| 15388 | loooooo ;oooooooool |
| 15389 | looooooc .coooooooc |
| 15390 | cooooooo: ,;co; |
| 15391 | ,ooooooool; ,:loc |
| 15392 | cooooooooooooloooooc |
| 15393 | ;ooooooooooooool; |
| 15394 | ;looooooolc; |
| 15395 | EOF |
| 15396 | ;; |
| 15397 | |
| 15398 | *"wii-linux-ngx"*|*"whiite-linux"*|\ |
| 15399 | *"gc-linux"*) |
| 15400 | set_colors 6 7 |
| 15401 | read -rd '' ascii_data <<'EOF' |
| 15402 | ${c1}''''''' `~;:` -'''''' ~kQ@@g\ ,EQ@@g/ |
| 15403 | h@@@@@@' o@@@@@9` `@@@@@@D `@@@@@@@= @@@@@@@? |
| 15404 | '@@@@@@X o@@@@@@@D v@@@@@@: R@@@@@@, D@@@@@@_ |
| 15405 | t@@@@@@' _@@@@@@@@@; `Q@@@@@U ;fmo/- ;fmo/- |
| 15406 | `Q@@@@@m d@@@@@@@@@N 7@@@@@@' |
| 15407 | L@@@@@@' :@@@@@&@@@@@| `Q@@@@@Z :]]]]]v :]]]]]v |
| 15408 | Q@@@@@X R@@@@Q`g@@@@Q f@@@@@Q- z@@@@@Q v@@@@@Q |
| 15409 | r@@@@@@~ ;@@@@@/ ;@@@@@L `@@@@@@/ z@@@@@Q v@@@@@Q |
| 15410 | d@@@@@q M@@@@# H@@@@Q ]@@@@@Q z@@@@@Q v@@@@@Q |
| 15411 | ,@@@@@@, >@@@@@; _@@@@@c `@@@@@@> z@@@@@Q v@@@@@Q |
| 15412 | X@@@@@U Q@@@@R Z@@@@Q`{@@@@@N z@@@@@Q v@@@@@Q |
| 15413 | .@@@@@@S@@@@@: -@@@@@e@@@@@@: z@@@@@Q v@@@@@Q |
| 15414 | {@@@@@@@@@@U t@@@@@@@@@@e z@@@@@Q v@@@@@Q |
| 15415 | `Q@@@@@@@@@' `Q@@@@@@@@@- z@@@@@Q v@@@@@Q |
| 15416 | :@@@@@@@@| ;@@@@@@@@= z@@@@@Q v@@@@@Q |
| 15417 | '2#@@Q6: ,eQ@@QZ~ /QQQQQg \QQQQQN |
| 15418 | EOF |
| 15419 | ;; |
| 15420 | |
| 15421 | *"[Windows 11]"*|*"on Windows 11"*|\ |
| 15422 | "Windows 11"* |"windows11") |
| 15423 | set_colors 4 6 |
| 15424 | read -rd '' ascii_data <<'EOF' |
| 15425 | ${c1} |
| 15426 | ################ ################ |
| 15427 | ################ ################ |
| 15428 | ################ ################ |
| 15429 | ################ ################ |
| 15430 | ################ ################ |
| 15431 | ################ ################ |
| 15432 | ################ ################ |
| 15433 | |
| 15434 | ################ ################ |
| 15435 | ################ ################ |
| 15436 | ################ ################ |
| 15437 | ################ ################ |
| 15438 | ################ ################ |
| 15439 | ################ ################ |
| 15440 | ################ ################ |
| 15441 | EOF |
| 15442 | ;; |
| 15443 | |
| 15444 | *"[Windows 10]"*|*"on Windows 10"*|"Windows 8"*|\ |
| 15445 | "Windows 10"* |"windows10"|"windows8") |
| 15446 | set_colors 6 7 |
| 15447 | read -rd '' ascii_data <<'EOF' |
| 15448 | ${c1} .., |
| 15449 | ....,,:;+ccllll |
| 15450 | ...,,+:; cllllllllllllllllll |
| 15451 | ,cclllllllllll lllllllllllllllllll |
| 15452 | llllllllllllll lllllllllllllllllll |
| 15453 | llllllllllllll lllllllllllllllllll |
| 15454 | llllllllllllll lllllllllllllllllll |
| 15455 | llllllllllllll lllllllllllllllllll |
| 15456 | llllllllllllll lllllllllllllllllll |
| 15457 | |
| 15458 | llllllllllllll lllllllllllllllllll |
| 15459 | llllllllllllll lllllllllllllllllll |
| 15460 | llllllllllllll lllllllllllllllllll |
| 15461 | llllllllllllll lllllllllllllllllll |
| 15462 | llllllllllllll lllllllllllllllllll |
| 15463 | `'ccllllllllll lllllllllllllllllll |
| 15464 | `' \\*:: :ccllllllllllllllll |
| 15465 | ````''*::cll |
| 15466 | `` |
| 15467 | EOF |
| 15468 | ;; |
| 15469 | |
| 15470 | "Windows95") |
| 15471 | set_colors 6 4 3 2 1 0 |
| 15472 | read -rd '' ascii_data <<'EOF' |
| 15473 | ${c6} ___ |
| 15474 | .--=+++++=-:. |
| 15475 | . _ *%@@@@@@@@@@@@@@* |
| 15476 | *:+:.__ :+* @@@ @"${c5}_*&%${c6}@@${c4}%&&&*${c6}"@@@ |
| 15477 | "+.-#+ +%* " _ ${c5}++&&&%${c6}@@${c4}%&&&&&#${c6}@@ |
| 15478 | ${c5} " , ${c6}%@@ ${c5}&&&&&%${c6}@@${c4}%&&&&&#${c6}@@ |
| 15479 | ${c5} * oo *# ${c6}" _ ${c5}&&&&&%${c6}@@${c4}%&&&&&#${c6}@@ |
| 15480 | ${c5} " , ${c6}%@@ ${c5}&&&&"${c6}@@@@#*${c4}"&&&${c6}@@ |
| 15481 | .${c5} * oo *# ${c6}" _ %@@@@@@@@@@@@@@@@ |
| 15482 | *:+:.__ :=* %@@ @"${c1}**&%${c6}@@${c3}%&&&*${c6}"@@@ |
| 15483 | "+.-#+ +%* " _ ${c1}&&&&&%${c6}@@${c3}%&&&&&#${c6}@@ |
| 15484 | ${c1} " , ${c6}%@@ ${c1}&&&&&%${c6}@@${c3}%&&&&&#${c6}@@ |
| 15485 | ${c1} * oo *# ${c6}" _ ${c1}&&&&&%${c6}@@${c3}%&&&&&#${c6}@@ |
| 15486 | ${c1} " , ${c6}%@@ ${c1}&&*"${c6}%@@@@@@${c3}"*%&${c6}@@ |
| 15487 | .${c1} * oo *# ${c6}" _ @@@@@@@@@@@@@@@@@ |
| 15488 | *:+:.__ :+# @@@ @%#=+""""""+==%#@ |
| 15489 | "+.-#+ +%* %+" " ":@ |
| 15490 | " " |
| 15491 | EOF |
| 15492 | ;; |
| 15493 | |
| 15494 | "Windows"*) |
| 15495 | set_colors 1 2 4 3 |
| 15496 | read -rd '' ascii_data <<'EOF' |
| 15497 | ${c1} ,.=:!!t3Z3z., |
| 15498 | :tt:::tt333EE3 |
| 15499 | ${c1} Et:::ztt33EEEL${c2} @Ee., .., |
| 15500 | ${c1} ;tt:::tt333EE7${c2} ;EEEEEEttttt33# |
| 15501 | ${c1} :Et:::zt333EEQ.${c2} $EEEEEttttt33QL |
| 15502 | ${c1} it::::tt333EEF${c2} @EEEEEEttttt33F |
| 15503 | ${c1} ;3=*^```"*4EEV${c2} :EEEEEEttttt33@. |
| 15504 | ${c3} ,.=::::!t=., ${c1}`${c2} @EEEEEEtttz33QF |
| 15505 | ${c3} ;::::::::zt33)${c2} "4EEEtttji3P* |
| 15506 | ${c3} :t::::::::tt33.${c4}:Z3z..${c2} ``${c4} ,..g. |
| 15507 | ${c3} i::::::::zt33F${c4} AEEEtttt::::ztF |
| 15508 | ${c3} ;:::::::::t33V${c4} ;EEEttttt::::t3 |
| 15509 | ${c3} E::::::::zt33L${c4} @EEEtttt::::z3F |
| 15510 | ${c3}{3=*^```"*4E3)${c4} ;EEEtttt:::::tZ` |
| 15511 | ${c3} `${c4} :EEEEtttt::::z7 |
| 15512 | "VEzjt:;;z>*` |
| 15513 | EOF |
| 15514 | ;; |
| 15515 | |
| 15516 | "Xray_OS"*) |
| 15517 | set_colors 15 14 16 24 |
| 15518 | read -rd '' ascii_data <<'EOF' |
| 15519 | ${c1} ${c1}rrrrrraaaaaaaaaaaayyyy |
| 15520 | ${c1}xxrrrrrrrraaaaaaaaaaaayyyyyyyyy |
| 15521 | ${c1}xxxxxrrrrrrrraaaaaaaaaaaayyyyyyy${c3}yyyyy${c2}yyyyyyyyyy |
| 15522 | ${c1}xxxxxxxrrrrrrrraaaaa ${c2}aaaaayyyyyyyyyyyyyyyyyyy |
| 15523 | ${c1}xxxxxx${c3}xxx${c1}rrrrrrrraaaa ${c2}aaaaaaayyyyyyyyyyyyyyyyy |
| 15524 | ${c1}xxxxxx${c3}xxxxxr${c1}rrrrrrraa ${c2}aaaaaaaaay${c3}yyyyyyyyy${c2}yyyy ${c1}yy |
| 15525 | ${c1}xxxxxxx${c3}xxx${c1}xxrrrrrrrra ${c2}aaaaaaaaa${c3}ayyyyyyyyyyyy${c1}yyyyyy |
| 15526 | ${c1}xxxxxxxxxxxxrrrrrrrr ${c2}aaaaaaaaaaa${c3}yyyyyyyyyyyy${c1}yyyyyyy |
| 15527 | ${c1}xxxxxxxxxxxxxrrrrrr ${c2}raaaaaaaaaaaayyy${c3}yyyyyyyy${c1}yyyyyy${c1}yyy |
| 15528 | ${c1}xxxxxxxxxxxxxrrrrr ${c2}rraaaaaaaaaaaayyyyy${c3}yy${c2}yyyyyy ${c1}yyyyyy |
| 15529 | ${c1}xxxxxxxx${c3}xxxx${c1}xrrrrr${c2}rr${c3}raaaaaaa${c2}aaaaayyyyyyyyyy ${c1}yyyyyyyyy |
| 15530 | ${c1}xxxxxxx${c3}xxxx${c1}xxrrrrrrr${c3}raaaaaa${c2}aaaaaayyyyyyy ${c1}yyyyyyyyyyyy |
| 15531 | ${c1}xxxxxxx${c3}xxx${c1}xxxrrrrrrrr${c3}aaaaaa${c2}aaaaaayyyy ${c1}yyyyyyyyyyyyyy |
| 15532 | ${c1}xxxxxxxxxxxxrrrrrrrra ${c2}aaaaaaaaaay ${c1}yyyyyyyyyyyyyyyy |
| 15533 | ${c1}xxxxxxxxxxxrrrrrrr ${c2}aaaaaaaaaaaayyyy${c1}yyyyyyyyyyyyy |
| 15534 | ${c1}xxxxxxx${c3}xxxrr${c1}rrrr ${c2}raaaaaaaaaaaa ${c1}yyyyyyyyyyyyyyy |
| 15535 | ${c1}xxxxxxxxrrrr ${c2}rrraaaaaaaaa ${c1}aayyyyyyyyyyyyyy |
| 15536 | ${c1}xxxxxxrrrrrrr ${c2}aaaaaa ${c1}aaaayyyyyyyyyyyy |
| 15537 | ${c1}xxxrrrrrr ${c2}raaa ${c1}aaaaaaayyyyyyyyy |
| 15538 | ${c1}rrrr ${c2}rr ${c1}aaaaaaaaaayyyyyy |
| 15539 | ${c2}r ${c1}aaaaaaaaaa |
| 15540 | EOF |
| 15541 | ;; |
| 15542 | |
| 15543 | "Xubuntu"*) |
| 15544 | set_colors 4 7 1 |
| 15545 | read -rd '' ascii_data <<'EOF' |
| 15546 | ${c1} `.:/ossyyyysso/:. |
| 15547 | `.yyyyyyyyyyyyyyyyyyyy.` |
| 15548 | `yyyyyyyyyyyyyyyyyyyyyyyyyy` |
| 15549 | `yyyyyyyyyyyyyyyyyyyy${c2}::${c1}yyyyyyyy` |
| 15550 | .yyyyyyyyyyy${c2}/+:${c1}yyyyyyy${c2}ds${c1}yyy${c2}+y${c1}yyyy. |
| 15551 | yyyyyyy${c2}:o/${c1}yy${c2}dMMM+${c1}yyyyy${c2}/M+${c1}y${c2}:hM+${c1}yyyyyy |
| 15552 | yyyyyyy${c2}+MMMy${c1}y${c2}mMMMh${c1}yyyyy${c2}yM::mM+${c1}yyyyyyyy |
| 15553 | `yyyyyyy${c2}+MMMMysMMMd${c1}yyyyy${c2}dh:mN+${c1}yyyyyyyyy` |
| 15554 | yyyyyyyy${c2}:NMMMMmMMMMmmdhyy+/y:${c1}yyyyyyyyyyy |
| 15555 | yyyyyyyy${c2}+MMMMMMMMMMMMMMMMMMNho:${c1}yyyyyyyyy |
| 15556 | yyyyyyyy${c2}mMMMMMMMMMMMMMMMMMMMMMMy${c1}yyyyyyyy |
| 15557 | yyyyyyy${c2}+MMMMMMMMMMMMMMMMMMMMMMMM/${c1}yyyyyyy |
| 15558 | `yyyyyy${c2}sMMMMMMMMMMMMMMMMMMMMMMmo${c1}yyyyyyy` |
| 15559 | yyyyyy${c2}oMMMMMMMMMMMMMMMMMMMmy+${c1}yyyyyyyyy |
| 15560 | yyyyy${c2}:mMMMMMMMMMMMMMMNho/${c1}yyyyyyyyyyy |
| 15561 | .yyyy${c2}:yNMMMMMMMNdyo:${c1}yyyyyyyyyyyyy. |
| 15562 | `yyyyyy${c2}:/++/::${c1}yyyyyyyyyyyyyyyyy` |
| 15563 | `yyyyyyyyyyyyyyyyyyyyyyyyyy` |
| 15564 | `.yyyyyyyyyyyyyyyyyyyy.` |
| 15565 | `.:/oosyyyysso/:.` |
| 15566 | EOF |
| 15567 | ;; |
| 15568 | |
| 15569 | "Soda"*) |
| 15570 | set_colors 1 7 |
| 15571 | read -rd '' ascii_data <<'EOF' |
| 15572 | ${c2} @&&&&${c1} *'*, |
| 15573 | ${c2}@@@@@@@&&&${c1} ** '*, |
| 15574 | ${c2}@@@@@@@@@@@&&&& |
| 15575 | @&@@@@@@@@@@@@@@@&&& |
| 15576 | ${c1}******${c2}@@@@@@@@@@@@@@@&&&& |
| 15577 | ${c1}************${c2}@@@@@@@@@@@@@@ |
| 15578 | ${c1}*****************${c2}@@@@@@@@@ |
| 15579 | ${c1}**********************${c2}@@@ |
| 15580 | @@@@@${c1}******************** |
| 15581 | ${c2}@@@@@@@@@${c1}*************** |
| 15582 | ${c2}@@@@@@@@@@@@@@@${c1}********* |
| 15583 | ${c2}@@@@@@@@@@@@@@@@@@${c1}**** |
| 15584 | ${c2}@@@@@@@@@@@@@@@@@@ |
| 15585 | @@@@@@@@@@@@ |
| 15586 | @@@@@@@ |
| 15587 | EOF |
| 15588 | ;; |
| 15589 | |
| 15590 | "KrassOS"* | "Krass"*) |
| 15591 | set_colors 4 7 |
| 15592 | read -rd '' ascii_data <<'EOF' |
| 15593 | ${c1} ${c2}**@@@@@@@@@@@* |
| 15594 | ${c2},@@@@%${c1}(((((((((((((${c2}%@@@@, |
| 15595 | ${c2}#@@&${c1}(((((((((((((((((((((((${c2}&@@% |
| 15596 | ${c2}@@&${c1}(((((((((((((((((((((((((((((${c2}@@@ |
| 15597 | ${c2}@@&${c1}(((((((((((((((((((((((((((((((((${c2}&@@ |
| 15598 | ${c2}.@@${c1}(((((((((((((((((((((((((((((((((((((${c2}@@. |
| 15599 | ${c2}@@${c1}(((((((((((((((((((((((((((((((((((((((${c2}@@ |
| 15600 | ${c2}@@#${c1}(((((((((((((((((((((((((((((${c2}%@@@@@@@#${c1}(#${c2}@@ |
| 15601 | ${c2}.@@${c1}((((((((((((((((${c2}#%@@@@@@@@@&%#${c1}((((${c2}%@&${c1}((((${c2}@@. |
| 15602 | ${c2}.@@${c1}(((((((/(${c2}&@@@@@@%${c1}(/((((((((((((((${c2}@@/${c1}(((((${c2}@@. |
| 15603 | ${c2}.@@${c1}(///////////////////////////////${c2}@${c1}(///////${c2}@@ |
| 15604 | ${c2}%@#${c1}/////////////////////////////(${c2}#${c1}////////${c2}%@% |
| 15605 | ${c2} @@${c1}(///////////////////////////${c2}%${c1}/////////(${c2}@@ |
| 15606 | ${c2}@@#${c1}***********************************${c2}%@@ |
| 15607 | ${c2}*@@${c1}********************************${c2}/@@/ |
| 15608 | ${c2},@@#${c1}***************************${c2}%@@* |
| 15609 | ${c2}@@@&${c1}********************${c2}/@@@@ |
| 15610 | ${c2}&@@@@&${c1}(//***//(${c2}&@@@@& |
| 15611 | ${c1} ${c2}**@@@@@@@@@@@* |
| 15612 | EOF |
| 15613 | ;; |
| 15614 | |
| 15615 | "IRIX"*) |
| 15616 | set_colors 4 7 |
| 15617 | read -rd '' ascii_data <<'EOF' |
| 15618 | ${c1} ./ohmNd/ +dNmho/- |
| 15619 | `:+ydNMMMMMMMM.-MMMMMMMMMdyo:. |
| 15620 | `hMMMMMMNhs/sMMM-:MMM+/shNMMMMMMh` |
| 15621 | -NMMMMMmo-` /MMM-/MMM- `-omMMMMMN. |
| 15622 | `.`-+hNMMMMMNhyMMM-/MMMshmMMMMMmy+...` |
| 15623 | +mMNds:-:sdNMMMMMMMyyMMMMMMMNdo:.:sdMMm+ |
| 15624 | dMMMMMMmy+.-/ymNMMMMMMMMNmy/-.+hmMMMMMMd |
| 15625 | oMMMMmMMMMNds:.+MMMmmMMN/.-odNMMMMmMMMM+ |
| 15626 | .MMMM-/ymMMMMMmNMMy..hMMNmMMMMMmy/-MMMM. |
| 15627 | hMMM/ `/dMMMMMMMN////NMMMMMMMd/. /MMMh |
| 15628 | /MMMdhmMMMmyyMMMMMMMMMMMMhymMMMmhdMMM: |
| 15629 | `mMMMMNho//sdMMMMM//NMMMMms//ohNMMMMd |
| 15630 | `/so/:+ymMMMNMMMM` mMMMMMMMmh+::+o/` |
| 15631 | `yNMMNho-yMMMM` NMMMm.+hNMMNh` |
| 15632 | -MMMMd: oMMMM. NMMMh :hMMMM- |
| 15633 | -yNMMMmooMMMM- NMMMyomMMMNy- |
| 15634 | .omMMMMMMMM-`NMMMMMMMmo. |
| 15635 | `:hMMMMMM. NMMMMMh/` |
| 15636 | .odNm+ /dNms. |
| 15637 | EOF |
| 15638 | ;; |
| 15639 | |
| 15640 | "Xenia2"*) |
| 15641 | set_colors '#55CDFD' '#F6AAB7' '#FFFFFF' |
| 15642 | read -rd '' ascii_data <<'EOF' |
| 15643 | ${c2} ,c. .c; |
| 15644 | ${c2} .${c1}KMMMk${c2}.... ....${c1}kMMMK${c2}. |
| 15645 | ${c2} .${c1}WMMMMMX${c2}..... .....${c1}KMMMMMW. |
| 15646 | ${c1} XMMMMMMM0${c2}..... ....${c1}OMMMMMMMN |
| 15647 | ${c1} dMMMMMMMMM;${c2}.... ..... ....,${c1}MMMMMMMMMd |
| 15648 | ${c1} WMMMMMMMMMl;${c3}okKKKKKKKKKOo${c1};cMMMMMMMMMM |
| 15649 | ${c1} 'MMMMMMMNX${c2}K0${c3}KKKKKKKKKKKKKKK${c2}0K${c1}XNMMMMMMM; |
| 15650 | ${c1} oMMMMMMM${c2}Oxo${c3}KKKKKKKKKKKKKKKKK${c2}oxO${c1}MMMMMMMd |
| 15651 | ${c1} dMMMMMMM${c2}dxxx${c3}KKKKKKKKKKKKKKK${c2}xxxd${c1}NMMMMMMk |
| 15652 | ${c1} :MMMMX0${c2}xxxxxx${c3}0KKKKKKKK0KK0${c2}xxxxxx0${c1}XMMMMc |
| 15653 | ${c1} MMMO${c2}xxxxxxxxdx${c3}kdd${c2}0x0${c3}ddk${c2}xdxxxxxxxx${c1}OMMM |
| 15654 | ${c1} ;${c2}xxkxddxxxxdodxxxxdxdxxxxdodxxxxddxkxx${c1}; |
| 15655 | ${c1}dxd${c2}KMMMWXo${c1}'.....'${c2}cdxxxdc${c1}'.....'${c2}lXWMMMX${c1}dxd |
| 15656 | ${c1}cxd${c2}XMMMN${c1},..........${c2}dxd${c1}'.........'${c2}XMMMN${c1}dxl |
| 15657 | ${c1} .xx${c2}WMMl${c1}...''....'.;k:.'....''...${c2}lMMW${c1}xx. |
| 15658 | ${c1}..:kXMMx..'....''..kMk..''....'..xMMXkc.. |
| 15659 | ${c1} dMMMMMMd.....'...xMMMx...''....dMMMMMMx |
| 15660 | ${c1} kMMMMWOoc:coOkolllokOoc:coOWMMMMO |
| 15661 | ${c1} .MMMMMMMMl${c2}...${c1}lNMMMMMMM. |
| 15662 | ${c1} KMMMMMMX${c2}l${c1}KMMMMMMX |
| 15663 | ${c1} .MMMMMMMMM. |
| 15664 | EOF |
| 15665 | ;; |
| 15666 | |
| 15667 | "Xenia"*) |
| 15668 | set_colors '#55CDFD' '#F6AAB7' '#FFFFFF' |
| 15669 | read -rd '' ascii_data <<'EOF' |
| 15670 | ${c3} !${c3}`${c3} @ |
| 15671 | ${c3} @${c3}```${c3}b @@@@@ |
| 15672 | ${c3} @${c3}`````${c3}@ @/${c3}@@@@ |
| 15673 | ${c3} @@${c3}``'))))))))))C@@ |
| 15674 | ${c3} @@@){)))))()))))))) |
| 15675 | ${c3} @r))))@${c1}oooo${c3})))))h)))[ |
| 15676 | ${c3} rr)))j${c1}oooooo${c3}(x${c1}ooooo${c3}$@) |
| 15677 | ${c3} rrrxr))r/l;${c1},,,${c3}z@{${c1},,,,,${c3}@@ |
| 15678 | ${c3} rr ) ${c2}v${c3} @;@rx |
| 15679 | ${c3} rrr) ${c2}\\__^__/${c3} ji |
| 15680 | ${c3} rj]. . r |
| 15681 | ${c3}[[${c2}]]${c1}11111111111111111] |
| 15682 | ${c2}]${c3}[[[${c2}]]][${c1}11111111111111111< |
| 15683 | ${c2}]${c3}[[[[[${c2}]]]]]]]]]]]]]]${c1}-111111[ |
| 15684 | ${c2}]-${c3}[[[[[[;${c2}]]]]]]]]]]]]]]]]${c1} 1 |
| 15685 | ${c2}]]${c3}[[[[[[[[[[[${c2}]]]]]]]]]]]]] |
| 15686 | ${c1}1${c2}]][${c3}[[[[[[[[[[[[[${c2}<]]]]]]]]] |
| 15687 | ${c1}11${c2}]]]${c3}[[[[[[[[[[[[[[[${c2}]]]]]]] |
| 15688 | ${c1}111${c2}]]]]'${c3}[[[[[[[[[[[[[[${c2}]]]] |
| 15689 | ${c1}111-${c2}]]]]]${c3}[[[[[[[[[[[[[${c2}]] |
| 15690 | ${c1}11111${c2}]]]]]_${c3}[[[[[[[[[[${c2}] |
| 15691 | ${c1}11111${c2}]]]i${c3}[[[[[[[[ |
| 15692 | ${c1}1111${c2}]]+${c3}[[[[[[^ |
| 15693 | ${c1}11 ${c2}]]${c3}[[[[[[ |
| 15694 | ${c1}11 +${c2}]${c3}[[[[ |
| 15695 | ${c1}1 ${c2}]${c3}[[ |
| 15696 | ` |
| 15697 | EOF |
| 15698 | ;; |
| 15699 | |
| 15700 | "Tatra"*) |
| 15701 | set_colors 4 7 |
| 15702 | read -rd '' ascii_data <<'EOF' |
| 15703 | ${c1} |
| 15704 | . .:. . .:. |
| 15705 | .^^.!.:::. .^!?J?^ |
| 15706 | .:^.^!!!~:~^. .7??77!~~^. |
| 15707 | .~^.!??77?!.^~: ..:^^7JJJ7~~^. |
| 15708 | .^~.^7???7~.~~. .7??????????! |
| 15709 | .:^:^^~^^:!^ ^: .......^!:... |
| 15710 | .!7~.::.!.::. ~BG~ :^ ^~: |
| 15711 | :!!~ ~. ?BBBB! ^?J!. .!~. |
| 15712 | :!. .JBY. .Y#BBBY?~!???J7. :^^. |
| 15713 | .. :5#B#P~P#BBP?7?55J?J7: |
| 15714 | ^P#BBBBBBBB5?7J5555J!..... |
| 15715 | !BBBBBBGBBGJ77::Y555J?77777^ |
| 15716 | ?BBBBG5JJ5PJ?!: .?Y??????77?~. |
| 15717 | .YBGPYJ??????Y?^^^^~7?????????7?!. |
| 15718 | .^^:..::::::::.....:::::::::::..:. |
| 15719 | EOF |
| 15720 | ;; |
| 15721 | |
| 15722 | "Zorin"*) |
| 15723 | set_colors 4 6 |
| 15724 | read -rd '' ascii_data <<'EOF' |
| 15725 | ${c1} `osssssssssssssssssssso` |
| 15726 | .osssssssssssssssssssssso. |
| 15727 | .+oooooooooooooooooooooooo+. |
| 15728 | |
| 15729 | |
| 15730 | `::::::::::::::::::::::. .:` |
| 15731 | `+ssssssssssssssssss+:.` `.:+ssso` |
| 15732 | .ossssssssssssssso/. `-+ossssssso. |
| 15733 | ssssssssssssso/-` `-/osssssssssssss |
| 15734 | .ossssssso/-` .-/ossssssssssssssso. |
| 15735 | `+sss+:. `.:+ssssssssssssssssss+` |
| 15736 | `:. .::::::::::::::::::::::` |
| 15737 | |
| 15738 | |
| 15739 | .+oooooooooooooooooooooooo+. |
| 15740 | -osssssssssssssssssssssso- |
| 15741 | `osssssssssssssssssssso` |
| 15742 | EOF |
| 15743 | ;; |
| 15744 | |
| 15745 | *) |
| 15746 | case $kernel_name in |
| 15747 | *"BSD") |
| 15748 | set_colors 1 7 4 3 6 |
| 15749 | read -rd '' ascii_data <<'EOF' |
| 15750 | ${c1} , , |
| 15751 | /( )` |
| 15752 | \ \___ / | |
| 15753 | /- _ `-/ ' |
| 15754 | (${c2}/\/ \ ${c1}\ /\ |
| 15755 | ${c2}/ / | ` ${c1}\ |
| 15756 | ${c3}O O ${c2}) ${c1}/ | |
| 15757 | ${c2}`-^--'${c1}`< ' |
| 15758 | (_.) _ ) / |
| 15759 | `.___/` / |
| 15760 | `-----' / |
| 15761 | ${c4}<----. __ / __ \ |
| 15762 | ${c4}<----|====${c1}O)))${c4}==${c1}) \) /${c4}====| |
| 15763 | <----' ${c1}`--' `.__,' \ |
| 15764 | | | |
| 15765 | \ / /\ |
| 15766 | ${c5}______${c1}( (_ / \______/ |
| 15767 | ${c5},' ,-----' | |
| 15768 | `--{__________) |
| 15769 | EOF |
| 15770 | ;; |
| 15771 | |
| 15772 | "Darwin") |
| 15773 | set_colors 2 3 1 1 5 4 |
| 15774 | read -rd '' ascii_data <<'EOF' |
| 15775 | ${c1} c.' |
| 15776 | ,xNMM. |
| 15777 | .OMMMMo |
| 15778 | lMMM" |
| 15779 | .;loddo:. .olloddol;. |
| 15780 | cKMMMMMMMMMMNWMMMMMMMMMM0: |
| 15781 | ${c2} .KMMMMMMMMMMMMMMMMMMMMMMMWd. |
| 15782 | XMMMMMMMMMMMMMMMMMMMMMMMX. |
| 15783 | ${c3};MMMMMMMMMMMMMMMMMMMMMMMM: |
| 15784 | :MMMMMMMMMMMMMMMMMMMMMMMM: |
| 15785 | ${c4}.MMMMMMMMMMMMMMMMMMMMMMMMX. |
| 15786 | kMMMMMMMMMMMMMMMMMMMMMMMMWd. |
| 15787 | ${c5}'XMMMMMMMMMMMMMMMMMMMMMMMMMMk |
| 15788 | 'XMMMMMMMMMMMMMMMMMMMMMMMMK. |
| 15789 | ${c6}kMMMMMMMMMMMMMMMMMMMMMMd |
| 15790 | ;KMMMMMMMWXXWMMMMMMMk. |
| 15791 | "cooc*" "*coo'" |
| 15792 | EOF |
| 15793 | ;; |
| 15794 | |
| 15795 | "GNU"*) |
| 15796 | set_colors fg 7 |
| 15797 | read -rd '' ascii_data <<'EOF' |
| 15798 | ${c1} _-`````-, ,- '- . |
| 15799 | .' .- - | | - -. `. |
| 15800 | /.' / `. \ |
| 15801 | :/ : _... ..._ `` : |
| 15802 | :: : /._ .`:'_.._\. || : |
| 15803 | :: `._ ./ ,` : \ . _.'' . |
| 15804 | `:. / | -. \-. \\_ / |
| 15805 | \:._ _/ .' .@) \@) ` `\ ,.' |
| 15806 | _/,--' .- .\,-.`--`. |
| 15807 | ,'/'' (( \ ` ) |
| 15808 | /'/' \ `-' ( |
| 15809 | '/'' `._,-----' |
| 15810 | ''/' .,---' |
| 15811 | ''/' ;: |
| 15812 | ''/'' ''/ |
| 15813 | ''/''/'' |
| 15814 | '/'/' |
| 15815 | `; |
| 15816 | EOF |
| 15817 | ;; |
| 15818 | |
| 15819 | |
| 15820 | "Linux") |
| 15821 | set_colors fg 8 3 |
| 15822 | read -rd '' ascii_data <<'EOF' |
| 15823 | ${c2} ##### |
| 15824 | ${c2} ####### |
| 15825 | ${c2} ##${c1}O${c2}#${c1}O${c2}## |
| 15826 | ${c2} #${c3}#####${c2}# |
| 15827 | ${c2} ##${c1}##${c3}###${c1}##${c2}## |
| 15828 | ${c2} #${c1}##########${c2}## |
| 15829 | ${c2} #${c1}############${c2}## |
| 15830 | ${c2} #${c1}############${c2}### |
| 15831 | ${c3} ##${c2}#${c1}###########${c2}##${c3}# |
| 15832 | ${c3}######${c2}#${c1}#######${c2}#${c3}###### |
| 15833 | ${c3}#######${c2}#${c1}#####${c2}#${c3}####### |
| 15834 | ${c3} #####${c2}#######${c3}##### |
| 15835 | EOF |
| 15836 | ;; |
| 15837 | |
| 15838 | "Profelis SambaBOX"* | "SambaBOX"*) |
| 15839 | set_colors 3 6 |
| 15840 | read -rd '' ascii_data <<'EOF' |
| 15841 | ${c1} |
| 15842 | # |
| 15843 | *////##### |
| 15844 | /////////#########( |
| 15845 | .((((((///// ,####(#((((( |
| 15846 | /#######(((* (#(((((((((. |
| 15847 | //((#(#(#, ((##( ,((((((// |
| 15848 | ////// #(##########( ////// |
| 15849 | ////// ((#(#(#(#(##########(///////// |
| 15850 | /////( (((((((#########(##((((((///// |
| 15851 | /(((#( ((((/ |
| 15852 | ####(# ((### |
| 15853 | #########(((/////////(((((((((, (#(#( |
| 15854 | ########( /////////(((((((* ##### |
| 15855 | ####///, *////((( ((((((( |
| 15856 | ./////////// .//((((((((( |
| 15857 | ///////////, *(/////((((* |
| 15858 | ,/(((((((((##########/. |
| 15859 | .((((((####### |
| 15860 | ((##* |
| 15861 | EOF |
| 15862 | ;; |
| 15863 | |
| 15864 | "SunOS") |
| 15865 | set_colors 3 7 |
| 15866 | read -rd '' ascii_data <<'EOF' |
| 15867 | ${c1} `- ` |
| 15868 | `-- `+- .: |
| 15869 | .+: `++: -/+- . |
| 15870 | `.::` -++/``:::`./+/ `.-/. |
| 15871 | `++/-`.` ` /++:` |
| 15872 | `` ./:` .: `..`.- |
| 15873 | ``./+/:- -+++:- |
| 15874 | -/+` :. |
| 15875 | EOF |
| 15876 | ;; |
| 15877 | esac |
| 15878 | ;; |
| 15879 | esac |
| 15880 | |
| 15881 | # Overwrite distro colors if '$ascii_colors' doesn't |
| 15882 | # equal 'distro'. |
| 15883 | [[ ${ascii_colors[0]} != distro ]] && { |
| 15884 | color_text=off |
| 15885 | set_colors "${ascii_colors[@]}" |
| 15886 | } |
| 15887 | } |
| 15888 | |
| 15889 | main() { |
| 15890 | cache_uname |
| 15891 | get_os |
| 15892 | get_cache_dir |
| 15893 | |
| 15894 | # Load default config. |
| 15895 | eval "$config" |
| 15896 | |
| 15897 | get_args "$@" |
| 15898 | [[ $verbose != on ]] && exec 2>/dev/null |
| 15899 | get_simple "$@" |
| 15900 | get_distro |
| 15901 | get_bold |
| 15902 | get_distro_ascii |
| 15903 | |
| 15904 | # check if the output is a interactive terminal |
| 15905 | [[ $stdout == auto ]] && { |
| 15906 | [[ -t 1 ]] && stdout=off || stdout=on |
| 15907 | } |
| 15908 | |
| 15909 | [[ $stdout == on ]] && stdout |
| 15910 | |
| 15911 | # Minix doesn't support these sequences. |
| 15912 | [[ $TERM != minix && $stdout != on ]] && { |
| 15913 | # If the script exits for any reason, unhide the cursor. |
| 15914 | trap 'printf "\e[?25h\e[?7h"' EXIT |
| 15915 | |
| 15916 | # Hide the cursor and disable line wrap. |
| 15917 | printf '\e[?25l\e[?7l' |
| 15918 | } |
| 15919 | |
| 15920 | image_backend |
| 15921 | old_functions |
| 15922 | print_info |
| 15923 | dynamic_prompt |
| 15924 | |
| 15925 | # w3m-img: Draw the image a second time to fix |
| 15926 | # rendering issues in specific terminal emulators. |
| 15927 | [[ $image_backend == *w3m* ]] && display_image |
| 15928 | [[ $image_backend == *ueberzug* ]] && display_image |
| 15929 | |
| 15930 | # Add neowofetch info to verbose output. |
| 15931 | err "Neowofetch command: $0 $*" |
| 15932 | err "Neowofetch version: $version" |
| 15933 | |
| 15934 | [[ $verbose == on ]] && printf '%b\033[m' "$err" >&2 |
| 15935 | |
| 15936 | # If `--loop` was used, constantly redraw the image. |
| 15937 | while [[ $image_loop == on && $image_backend == w3m ]]; do |
| 15938 | display_image |
| 15939 | sleep 1 |
| 15940 | done |
| 15941 | |
| 15942 | return 0 |
| 15943 | } |
| 15944 | |
| 15945 | get_ascii_distro_name() { |
| 15946 | get_distro |
| 15947 | echo "$ascii_distro" |
| 15948 | } |
| 15949 | |
| 15950 | get_print_ascii() { |
| 15951 | cache_uname |
| 15952 | get_os |
| 15953 | get_distro |
| 15954 | get_bold |
| 15955 | get_distro_ascii |
| 15956 | echo "$ascii_data" |
| 15957 | } |
| 15958 | |
| 15959 | main "$@" |