Update neofetch

This commit is contained in:
FragCGI 2023-08-12 20:50:06 -03:00 committed by GitHub
parent 62710fa00e
commit 3d7dfc0220
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

611
neofetch
View file

@ -214,18 +214,6 @@ mem_precision=2
package_managers="on" package_managers="on"
# Show separate user and system packages for supported package managers
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --package_separate
#
# Example:
# on: '8 packages (flatpak-system), 9 packages (flatpak-user)'
# off: '17 packages (flatpak)'
package_separate="on"
# Shell # Shell
@ -848,7 +836,7 @@ image_source="auto"
# NOTE: AIX, AlmaLinux, Alpine, Alter, Amazon, AmogOS, Anarchy, Android, Antergos, antiX, AOSC OS, # NOTE: AIX, AlmaLinux, Alpine, Alter, Amazon, AmogOS, Anarchy, Android, Antergos, antiX, AOSC OS,
# AOSC OS/Retro, Aperio GNU/Linux, Aperture, Apricity, Arch, ArchBox, Archcraft, archcraft_ascii, # AOSC OS/Retro, Aperio GNU/Linux, Aperture, Apricity, Arch, ArchBox, Archcraft, archcraft_ascii,
# archcraft_minimal, ARCHlabs, ArchMerge, ArchStrike, ArcoLinux, ArseLinux, Artix, Arya, Asahi, # archcraft_minimal, ARCHlabs, ArchMerge, ArchStrike, ArcoLinux, ArseLinux, Artix, Arya, Asahi,
# Aster, AsteroidOS, astOS, Astra Linux, Athena, Bedrock, BigLinux, Bitrig, BlackArch, blackPanther, BLAG, # Aster, AsteroidOS, astOS, Astra Linux, Bedrock, BigLinux, Bitrig, BlackArch, blackPanther, BLAG,
# BlankOn, BlueLight, Bodhi, bonsai, BSD, BunsenLabs, CachyOS, Calculate, CalinixOS, Carbs, CBL- # BlankOn, BlueLight, Bodhi, bonsai, BSD, BunsenLabs, CachyOS, Calculate, CalinixOS, Carbs, CBL-
# Mariner, CelOS, Center, CentOS, Chakra, ChaletOS, Chapeau, ChonkySealOS, Chrom, Cleanjaro, Clear # Mariner, CelOS, Center, CentOS, Chakra, ChaletOS, Chapeau, ChonkySealOS, Chrom, Cleanjaro, Clear
# Linux OS, ClearOS, Clover, Cobalt, Condres, Container Linux by CoreOS, CRUX, Crystal Linux, # Linux OS, ClearOS, Clover, Cobalt, Condres, Container Linux by CoreOS, CRUX, Crystal Linux,
@ -860,7 +848,7 @@ image_source="auto"
# Hyperbola, iglunix, instantOS, IRIX, Itc, januslinux, Kaisen, Kali, KaOS, KDE, Kibojoe, Kogaion, # Hyperbola, iglunix, instantOS, IRIX, Itc, januslinux, Kaisen, Kali, KaOS, KDE, Kibojoe, Kogaion,
# Korora, KrassOS, KSLinux, Kubuntu, LangitKetujuh, LaxerOS, LEDE, LibreELEC, Linspire, Linux, Linux # Korora, KrassOS, KSLinux, Kubuntu, LangitKetujuh, LaxerOS, LEDE, LibreELEC, Linspire, Linux, Linux
# Lite, Linux Mint, Linux Mint Old, Live Raizo, LMDE, Lubuntu, Lunar, mac, Mageia, MagpieOS, # Lite, Linux Mint, Linux Mint Old, Live Raizo, LMDE, Lubuntu, Lunar, mac, Mageia, MagpieOS,
# Mandriva, Manjaro, MassOS, MatuusOS, Maui, Meowix, Mer, Minix, MIRACLE LINUX, MX, Namib, NekOS, Neptune, # Mandriva, Manjaro, MassOS, MatuusOS, Maui, Mer, Minix, MIRACLE LINUX, MX, Namib, NekOS, Neptune,
# NetBSD, Netrunner, Nitrux, NixOS, Nobara, NomadBSD, Nurunner, NuTyX, Obarun, OBRevenge, OmniOS, # NetBSD, Netrunner, Nitrux, NixOS, Nobara, NomadBSD, Nurunner, NuTyX, Obarun, OBRevenge, OmniOS,
# Open Source Media Center, OpenBSD, openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, # Open Source Media Center, OpenBSD, openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage,
# openSUSE, openSUSE Leap, openSUSE Tumbleweed, OpenWrt, OPNsense, Oracle, orchid, OS Elbrus, # openSUSE, openSUSE Leap, openSUSE Tumbleweed, OpenWrt, OPNsense, Oracle, orchid, OS Elbrus,
@ -996,11 +984,6 @@ background_color=
stdout="auto" stdout="auto"
EOF EOF
# If /etc/neofetch/default.conf exist, set config variable to its content
if [[ -f /etc/neofetch/default.conf ]]; then
config="$(< /etc/neofetch/default.conf)"
fi
# DETECT INFORMATION # DETECT INFORMATION
get_os() { get_os() {
@ -1289,8 +1272,7 @@ get_distro() {
windows_version_verbose=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v ProductName | grep REG_) windows_version_verbose=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v ProductName | grep REG_)
windows_version_verbose=$(trim "${windows_version_verbose/ProductName}") windows_version_verbose=$(trim "${windows_version_verbose/ProductName}")
windows_version_verbose=$(trim "${windows_version_verbose/REG_SZ}") windows_version_verbose=$(trim "${windows_version_verbose/REG_SZ}")buildnumber=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v CurrentBuildNumber | grep REG_)
buildnumber=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v CurrentBuildNumber | grep REG_)
windows_version_verbose=$(trim "${windows_version_verbose/Windows}") windows_version_verbose=$(trim "${windows_version_verbose/Windows}")
windows_buildnumber=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v CurrentBuildNumber | grep REG_) windows_buildnumber=$(reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -v CurrentBuildNumber | grep REG_)
windows_buildnumber=${buildnumber/CurrentBuildNumber} windows_buildnumber=${buildnumber/CurrentBuildNumber}
@ -1363,24 +1345,23 @@ get_distro() {
"Mac OS X"|"macOS") "Mac OS X"|"macOS")
case $osx_version in case $osx_version in
10.4*) codename="Mac OS X Tiger" ;; 10.4*) codename="Mac OS X Tiger" ;;
10.5*) codename="Mac OS X Leopard" ;; 10.5*) codename="Mac OS X Leopard" ;;
10.6*) codename="Mac OS X Snow Leopard" ;; 10.6*) codename="Mac OS X Snow Leopard" ;;
10.7*) codename="Mac OS X Lion" ;; 10.7*) codename="Mac OS X Lion" ;;
10.8*) codename="OS X Mountain Lion" ;; 10.8*) codename="OS X Mountain Lion" ;;
10.9*) codename="OS X Mavericks" ;; 10.9*) codename="OS X Mavericks" ;;
10.10*) codename="OS X Yosemite" ;; 10.10*) codename="OS X Yosemite" ;;
10.11*) codename="OS X El Capitan" ;; 10.11*) codename="OS X El Capitan" ;;
10.12*) codename="macOS Sierra" ;; 10.12*) codename="macOS Sierra" ;;
10.13*) codename="macOS High Sierra" ;; 10.13*) codename="macOS High Sierra" ;;
10.14*) codename="macOS Mojave" ;; 10.14*) codename="macOS Mojave" ;;
10.15*) codename="macOS Catalina" ;; 10.15*) codename="macOS Catalina" ;;
10.16*) codename="macOS Big Sur" ;; 10.16*) codename="macOS Big Sur" ;;
11.*) codename="macOS Big Sur" ;; 11.*) codename="macOS Big Sur" ;;
12.*) codename="macOS Monterey" ;; 12.*) codename="macOS Monterey" ;;
13.*) codename="macOS Ventura" ;; 13.*) codename="macOS Ventura" ;;
14.*) codename="macOS Sonoma" ;; *) codename=macOS ;;
*) codename="macOS" ;;
esac esac
distro="$codename $osx_version ($osx_build)" distro="$codename $osx_version ($osx_build)"
@ -1524,17 +1505,7 @@ get_model() {
fi fi
case $model in case $model in
Mac14,15): "MacBook Air (15-inch, M2, 2023)" ;;
Mac14,14): "Mac Studio (M2 Max, 2023)" ;;
Mac14,13): "Mac Studio (M2 Ultra, 2023)" ;;
Mac14,8): "Mac Pro (2023)" ;;
Mac14,6 | Mac14,10): "MacBook Pro (16-inch, 2023)" ;;
Mac14,5 | Mac14,9): "MacBook Pro (14-inch, 2023)" ;;
Mac14,12 | Mac14,3): "Mac mini (2023)" ;;
Mac14,7): "MacBook Pro (13-inch, M2, 2022)" ;; Mac14,7): "MacBook Pro (13-inch, M2, 2022)" ;;
Mac14,2): "MacBook Air (M2, 2022)" ;;
Mac13,1): "Mac Studio (M1 Max, 2022)" ;;
Mac13,2): "Mac Studio (M1 Ultra, 2022)" ;;
MacBookPro18,[3-4]): "MacBook Pro (14-inch, 2021)" ;; MacBookPro18,[3-4]): "MacBook Pro (14-inch, 2021)" ;;
MacBookPro18,[1-2]): "MacBook Pro (16-inch, 2021)" ;; MacBookPro18,[1-2]): "MacBook Pro (16-inch, 2021)" ;;
MacBookPro17,1): "MacBook Pro (13-inch, M1, 2020)" ;; MacBookPro17,1): "MacBook Pro (13-inch, M1, 2020)" ;;
@ -1571,6 +1542,7 @@ get_model() {
MacBookPro5,2): "MacBook Pro (17-inch, Mid/Early 2009)" ;; MacBookPro5,2): "MacBook Pro (17-inch, Mid/Early 2009)" ;;
MacBookPro5,1): "MacBook Pro (15-inch, Late 2008)" ;; MacBookPro5,1): "MacBook Pro (15-inch, Late 2008)" ;;
MacBookPro4,1): "MacBook Pro (17/15-inch, Early 2008)" ;; MacBookPro4,1): "MacBook Pro (17/15-inch, Early 2008)" ;;
Mac14,2): "MacBook Air (M2, 2022)" ;;
MacBookAir10,1): "MacBook Air (M1, 2020)" ;; MacBookAir10,1): "MacBook Air (M1, 2020)" ;;
MacBookAir9,1): "MacBook Air (Retina, 13-inch, 2020)" ;; MacBookAir9,1): "MacBook Air (Retina, 13-inch, 2020)" ;;
MacBookAir8,2): "MacBook Air (Retina, 13-inch, 2019)" ;; MacBookAir8,2): "MacBook Air (Retina, 13-inch, 2019)" ;;
@ -1592,12 +1564,14 @@ get_model() {
MacBook7,1): "MacBook (13-inch, Mid 2010)" ;; MacBook7,1): "MacBook (13-inch, Mid 2010)" ;;
MacBook6,1): "MacBook (13-inch, Late 2009)" ;; MacBook6,1): "MacBook (13-inch, Late 2009)" ;;
MacBook5,2): "MacBook (13-inch, Early/Mid 2009)" ;; MacBook5,2): "MacBook (13-inch, Early/Mid 2009)" ;;
Mac13,1): "Mac Studio (2022, Two USB-C front ports)" ;;
Mac13,2): "Mac Studio (2022, Two Thunderbolt 4 front ports)" ;;
Macmini9,1): "Mac mini (M1, 2020)" ;; Macmini9,1): "Mac mini (M1, 2020)" ;;
Macmini8,1): "Mac mini (2018)" ;; Macmini8,1): "Mac mini (2018)" ;;
Macmini7,1): "Mac mini (Mid 2014)" ;; Macmini7,1): "Mac mini (Mid 2014)" ;;
Macmini6,[1-2]): "Mac mini (Late 2012)" ;; Macmini6,[1-2]): "Mac mini (Late 2012)" ;;
Macmini5,[1-2]): "Mac mini (Mid 2011)" ;; Macmini5,[1-2]): "Mac mini (Mid 2011)" ;;
Macmini4,1): "MacPromini (Mid 2010)" ;; Macmini4,1): "Mac mini (Mid 2010)" ;;
Macmini3,1): "Mac mini (Early/Late 2009)" ;; Macmini3,1): "Mac mini (Early/Late 2009)" ;;
MacPro7,1): "Mac Pro (2019)" ;; MacPro7,1): "Mac Pro (2019)" ;;
MacPro6,1): "Mac Pro (Late 2013)" ;; MacPro6,1): "Mac Pro (Late 2013)" ;;
@ -1946,14 +1920,6 @@ get_packages() {
((packages+=${#pkgs[@]})); ((packages+=${#pkgs[@]}));
pac "$((${#pkgs[@]}-pkgs_h))"; pac "$((${#pkgs[@]}-pkgs_h))";
} }
# Similar with tot but do nothing if the command fails
tot-safe() {
if pkgs="$("$@")"; then
pkgs=$(echo "$pkgs" | wc -l)
((packages+=pkgs))
pac "$((pkgs-pkgs_h))";
fi
}
# Redefine tot() and dir() for Bedrock Linux. # Redefine tot() and dir() for Bedrock Linux.
[[ -f /bedrock/etc/bedrock-release && $PATH == */bedrock/cross/* ]] && { [[ -f /bedrock/etc/bedrock-release && $PATH == */bedrock/cross/* ]] && {
@ -1974,8 +1940,7 @@ get_packages() {
} }
# OS-independent package managers. # OS-independent package managers.
has pipx && tot pipx list --short has pipx && tot pipx list --short
has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs"
# OS-specific package managers. # OS-specific package managers.
case $os in case $os in
@ -2002,9 +1967,8 @@ get_packages() {
has pisi && tot pisi li has pisi && tot pisi li
has pacstall && tot pacstall -L has pacstall && tot pacstall -L
has bulge && tot bulge list has bulge && tot bulge list
has pm && tot-safe pm list packages has pm && tot pm list packages
has evox && tot cat /var/evox/packages/DB has evox && tot cat /var/evox/packages/DB
has squirrel && tot ls /var/packages
has tea && tot find "$HOME/.tea" -maxdepth 2 -mindepth 2 -type d has tea && tot find "$HOME/.tea" -maxdepth 2 -mindepth 2 -type d
# Using the dnf package cache is much faster than rpm. # Using the dnf package cache is much faster than rpm.
@ -2032,7 +1996,7 @@ get_packages() {
has tekel && dir "/data/app/$USER/* /data/app/system/*" has tekel && dir "/data/app/$USER/* /data/app/system/*"
has crew && dir "${CREW_PREFIX:-/usr/local}/etc/crew/meta/*.filelist" has crew && dir "${CREW_PREFIX:-/usr/local}/etc/crew/meta/*.filelist"
has pkgtool && dir "/var/log/packages/*" has pkgtool && dir "/var/log/packages/*"
has scratch && dir "/var/lib/scratchpkg/db/*" has scratch && dir "/var/lib/scratchpkg/index/*/.pkginfo"
has kagami && dir "/var/lib/kagami/pkgs/*" has kagami && dir "/var/lib/kagami/pkgs/*"
has cave && dir "/var/db/paludis/repositories/cross-installed/*/data/*/ \ has cave && dir "/var/db/paludis/repositories/cross-installed/*/data/*/ \
/var/db/paludis/repositories/installed/data/*/" /var/db/paludis/repositories/installed/data/*/"
@ -2040,65 +2004,24 @@ get_packages() {
shopt -u nullglob shopt -u nullglob
} }
# Steam games
STEAM_P=".local/share/Steam/steamapps/common"
if [[ -d "$HOME/$STEAM_P" ]]; then
manager=steam && dir "$HOME/$STEAM_P/*/"
elif [[ -d "$HOME/.var/app/com.valvesoftware.Steam/$STEAM_P" ]]; then
manager=steam && dir "$HOME/.var/app/com.valvesoftware.Steam/$STEAM_P/*/"
elif [[ -d "$HOME/.steam/steam/steamapps/common" ]]; then
manager=steam && dir "$HOME/.steam/steam/steamapps/common/*/"
fi
# Other (Needs complex command) # Other (Needs complex command)
has kpm-pkg && ((packages+=$(kpm --get-selections | grep -cv deinstall$))) has kpm-pkg && ((packages+=$(kpm --get-selections | grep -cv deinstall$)))
# Separate system and user packages has guix && {
if [[ $package_separate == on ]]; then manager=guix-system && tot guix package -p /run/current-system/profile -I
has guix && { manager=guix-user && tot guix package -I
manager=guix-system && tot guix package -p /run/current-system/profile -I manager=guix-home && tot guix package -p ~/.guix-home/profile -I
manager=guix-user && tot guix package -I }
manager=guix-home && tot guix package -p ~/.guix-home/profile -I
}
has nix-store && { has nix-store && {
nix-user-pkgs() { nix-user-pkgs() {
nix-store -qR ~/.nix-profile nix-store -qR ~/.nix-profile
nix-store -qR /etc/profiles/per-user/"$USER" nix-store -qR /etc/profiles/per-user/"$USER"
}
manager=nix-system && tot nix-store -qR /run/current-system/sw
manager=nix-user && tot nix-user-pkgs
manager=nix-default && tot nix-store -qR /nix/var/nix/profiles/default
} }
manager=nix-system && tot nix-store -qR /run/current-system/sw
has flatpak && { manager=nix-user && tot nix-user-pkgs
manager=flatpak-system && tot flatpak list --system manager=nix-default && tot nix-store -qR /nix/var/nix/profiles/default
manager=flatpak-user && tot flatpak list --user }
}
else
has guix && {
guix-all() {
guix package -p /run/current-system/profile -I
guix package -I
guix package -p ~/.guix-home/profile -I
}
manager=guix && tot guix-all
}
has nix-store && {
nix-all() {
nix-store -qR ~/.nix-profile
nix-store -qR /etc/profiles/per-user/"$USER"
nix-store -qR /run/current-system/sw
nix-store -qR /nix/var/nix/profiles/default
}
manager=nix && tot nix-all
}
has flatpak && {
manager=flatpak && tot flatpak list
}
fi
# pkginfo is also the name of a python package manager which is painfully slow. # pkginfo is also the name of a python package manager which is painfully slow.
# TODO: Fix this somehow. # TODO: Fix this somehow.
@ -2122,8 +2045,10 @@ get_packages() {
esac esac
# List these last as they accompany regular package managers. # List these last as they accompany regular package managers.
has flatpak && tot flatpak list
has spm && tot spm list -i has spm && tot spm list -i
has puyo && dir ~/.puyo/installed has puyo && dir ~/.puyo/installed
has cargo && dir "${CARGO_HOME:-$HOME/.cargo}/bin/"*
# Snap hangs if the command is run without the daemon running. # Snap hangs if the command is run without the daemon running.
# Only run snap if the daemon is also running. # Only run snap if the daemon is also running.
@ -2133,9 +2058,6 @@ get_packages() {
# This is the only standard location for appimages. # This is the only standard location for appimages.
# See: https://github.com/AppImage/AppImageKit/wiki # See: https://github.com/AppImage/AppImageKit/wiki
manager=appimage && has appimaged && dir ~/.local/bin/*.[Aa]pp[Ii]mage manager=appimage && has appimaged && dir ~/.local/bin/*.[Aa]pp[Ii]mage
# Has devbox & is initialized
has devbox && [[ "$(devbox global list)" != *"not activated"* ]] && tot devbox global list
;; ;;
"Mac OS X"|"macOS"|MINIX) "Mac OS X"|"macOS"|MINIX)
@ -2293,7 +2215,7 @@ get_editor() {
editor="${editor/$editor_name }" editor="${editor/$editor_name }"
;; ;;
*) *)
# editor+=$("$editor_full_path" --version 2>&1) editor+=$("$editor_full_path" --version 2>&1)
editor="${editor/$'\n'*}" editor="${editor/$'\n'*}"
;; ;;
esac esac
@ -2438,7 +2360,7 @@ get_de() {
# TODO: # TODO:
# - New config option + flag: --de_display_server on/off ? # - New config option + flag: --de_display_server on/off ?
# - Add display of X11, Arcan and anything else relevant. # - Add display of X11, Arcan and anything else relevant.
[[ $de ]] && [[ $os != "Windows" ]] && [[ $de ]] &&
de+=" (${XDG_SESSION_TYPE})" de+=" (${XDG_SESSION_TYPE})"
de_run=1 de_run=1
@ -3819,42 +3741,36 @@ get_song() {
get_resolution() { get_resolution() {
case $os in case $os in
"Mac OS X"|"macOS") "Mac OS X"|"macOS")
resolution="" if type -p screenresolution >/dev/null; then
temp_plist="/tmp/neofetch_system_profiler_SPDisplaysDataType.xml" # PlistBuddy doesn't support reading from /dev/stdin resolution="$(screenresolution get 2>&1 | awk '/Display/ {printf $6 "Hz, "}')"
if system_profiler SPDisplaysDataType -xml > $temp_plist; then resolution="${resolution//x??@/ @ }"
for ((gpu=0; gpu<999; gpu++)); do
if PlistBuddy -c "print 0:_items:${gpu}" $temp_plist &> /dev/null; then
for ((display=0; display<999; display++)); do
if spdisplays_resolution="$(PlistBuddy -c "print 0:_items:${gpu}:spdisplays_ndrvs:${display}:_spdisplays_resolution" $temp_plist)" 2>/dev/null; then
spdisplays_resolution="${spdisplays_resolution//.[0-9][0-9]/}"
if spdisplays_pixels="$(PlistBuddy -c "print 0:_items:${gpu}:spdisplays_ndrvs:${display}:_spdisplays_pixels" $temp_plist)" 2>/dev/null; then
scaled_x="$(echo "$spdisplays_resolution" | awk '{print $1}')"
output_x="$(echo "$spdisplays_pixels" | awk '{print $1}')"
(( scale_factor=output_x/scaled_x ))
[[ $scale_factor -gt 1 ]] && spdisplays_resolution="${spdisplays_resolution// @/ @${scale_factor}x @}"
fi
spdisplays_resolution="${spdisplays_resolution// x /x}"
[[ $gpu -gt 0 || $display -gt 0 ]] && resolution+=", "
resolution+="${spdisplays_resolution}"
else
break
fi
done
else
break
fi
done
if [[ "$refresh_rate" == "off" ]]; then else
resolution="${resolution/ @ [0-9][0-9][0.9]Hz}" resolution="$(system_profiler SPDisplaysDataType |\
resolution="${resolution/ @ [0-9][0.9]Hz}" awk '/Resolution:/ {printf $2"x"$4" @ "$6"Hz, "}')"
resolution="${resolution/ @ [0-9]Hz}"
else
resolution="${resolution// @ 0Hz}"
fi
rm $temp_plist
fi fi
if [[ -e "/Library/Preferences/com.apple.windowserver.plist" ]]; then
scale_factor="$(PlistBuddy -c "Print DisplayAnyUserSets:0:0:Resolution" \
/Library/Preferences/com.apple.windowserver.plist)"
else
scale_factor=""
fi
# If no refresh rate is empty.
[[ "$resolution" == *"@ Hz"* ]] && \
resolution="${resolution//@ Hz}"
[[ "${scale_factor%.*}" == 2 ]] && \
resolution="${resolution// @/@2x @}"
if [[ "$refresh_rate" == "off" ]]; then
resolution="${resolution// @ [0-9][0-9]Hz}"
resolution="${resolution// @ [0-9][0-9][0-9]Hz}"
fi
[[ "$resolution" == *"0Hz"* ]] && \
resolution="${resolution// @ 0Hz}"
;; ;;
"Windows") "Windows")
@ -3949,13 +3865,8 @@ get_style() {
qt_theme="$(grep "^${kde}" "$kde_config_file")" qt_theme="$(grep "^${kde}" "$kde_config_file")"
qt_theme="${qt_theme/*=}" qt_theme="${qt_theme/*=}"
if [[ "$kde" == "widgetStyle" ]] && grep -q "\[Theme\]" "$HOME/.config/plasmarc"; then kde_theme="$(grep "^${kde}" "$kde_config_file")"
kde_theme="$(awk '/name=/ {gsub(/name=/,"",$0);print $0;exit}' "$HOME/.config/plasmarc")" kde_theme="${kde_theme/*=}"
else
kde_theme="$(grep "^${kde}" "$kde_config_file")"
kde_theme="${kde_theme/*=}"
fi
if [[ "$kde" == "font" ]]; then if [[ "$kde" == "font" ]]; then
kde_font_size="${kde_theme#*,}" kde_font_size="${kde_theme#*,}"
kde_font_size="${kde_font_size/,*}" kde_font_size="${kde_font_size/,*}"
@ -3972,7 +3883,7 @@ get_style() {
kde_theme="$(grep "${kde}" "$kde_config_file")" kde_theme="$(grep "${kde}" "$kde_config_file")"
kde_theme="${kde_theme/*=}" kde_theme="${kde_theme/*=}"
fi fi
#kde_theme="$kde_theme [KDE], " kde_theme="$kde_theme [KDE], "
else else
err "Theme: KDE config files not found, skipping." err "Theme: KDE config files not found, skipping."
fi fi
@ -4143,13 +4054,11 @@ get_style() {
gtk2_theme="$(trim "$gtk2_theme")" gtk2_theme="$(trim "$gtk2_theme")"
gtk3_theme="$(trim "$gtk3_theme")" gtk3_theme="$(trim "$gtk3_theme")"
qt_theme="$(trim "$qt_theme")" qt_theme="$(trim "$qt_theme")"
kde_theme="$(trim "$kde_theme")"
# Remove quotes. # Remove quotes.
gtk2_theme="$(trim_quotes "$gtk2_theme")" gtk2_theme="$(trim_quotes "$gtk2_theme")"
gtk3_theme="$(trim_quotes "$gtk3_theme")" gtk3_theme="$(trim_quotes "$gtk3_theme")"
qt_theme="$(trim_quotes "$qt_theme")" qt_theme="$(trim_quotes "$qt_theme")"
kde_theme="$(trim_quotes "$kde_theme")"
# Handle Qt theme engines that load external themes # Handle Qt theme engines that load external themes
case "$qt_theme" in case "$qt_theme" in
@ -4168,7 +4077,6 @@ get_style() {
[[ "$gtk2" == "off" ]] && unset gtk2_theme [[ "$gtk2" == "off" ]] && unset gtk2_theme
[[ "$gtk3" == "off" ]] && unset gtk3_theme [[ "$gtk3" == "off" ]] && unset gtk3_theme
[[ "$qt" == "off" ]] && unset qt_theme [[ "$qt" == "off" ]] && unset qt_theme
# TODO: kde theme visibility
# Format the string based on which themes exist. # Format the string based on which themes exist.
# append_theme theme toolkit # append_theme theme toolkit
@ -4184,7 +4092,6 @@ get_style() {
} }
theme='' theme=''
local cur_theme='' local cur_theme=''
append_theme "$kde_theme" 'KDE'
append_theme "$fly_theme" 'Fly' append_theme "$fly_theme" 'Fly'
append_theme "$qt_theme" 'Qt' append_theme "$qt_theme" 'Qt'
append_theme "$gtk2_theme" 'GTK2' append_theme "$gtk2_theme" 'GTK2'
@ -5167,7 +5074,7 @@ print_ascii() {
strip_escape_codes "${line}" line strip_escape_codes "${line}" line
# Use patterns to replace color codes that the above line did not catch # Use patterns to replace color codes that the above line did not catch
line=${line//\\033\[*([0-9;])[JKmsu]/} line=${line//\\033\[*([0-9;])[JKmsu]/}
line="$(printf %b "$line" | sed -E 's/'"$(printf %b '\x1B')"'\[*[0-9;]+[JKmsu]//g')" line=${line//\[*([0-9;])[JKmsu]/}
((++lines,${#line}>ascii_len)) && ascii_len="${#line}" ((++lines,${#line}>ascii_len)) && ascii_len="${#line}"
done <<< "${ascii_data//\$\{??\}}" done <<< "${ascii_data//\$\{??\}}"
fi fi
@ -6126,7 +6033,6 @@ INFO:
--title_fqdn on/off Hide/Show Fully Qualified Domain Name in title. --title_fqdn on/off Hide/Show Fully Qualified Domain Name in title.
--package_managers on/off Hide/Show Package Manager names. (on, tiny, off) --package_managers on/off Hide/Show Package Manager names. (on, tiny, off)
--package_separate on/off Whether to separate system/user modes for supported package managers
--os_arch on/off Hide/Show OS architecture. --os_arch on/off Hide/Show OS architecture.
--speed_type type Change the type of cpu speed to display. --speed_type type Change the type of cpu speed to display.
Possible values: current, min, max, bios, Possible values: current, min, max, bios,
@ -6275,7 +6181,7 @@ ASCII:
Aperture, Apricity, Arch, ArchBox, Archcraft, archcraft_ascii, Aperture, Apricity, Arch, ArchBox, Archcraft, archcraft_ascii,
archcraft_minimal, ARCHlabs, ArchMerge, ArchStrike, ArcoLinux, archcraft_minimal, ARCHlabs, ArchMerge, ArchStrike, ArcoLinux,
ArseLinux, Artix, Arya, Asahi, Aster, AsteroidOS, astOS, Astra ArseLinux, Artix, Arya, Asahi, Aster, AsteroidOS, astOS, Astra
Linux, Athena, Bedrock, BigLinux, Bitrig, BlackArch, blackPanther, BLAG, Linux, Bedrock, BigLinux, Bitrig, BlackArch, blackPanther, BLAG,
BlankOn, BlueLight, Bodhi, bonsai, BSD, BunsenLabs, CachyOS, BlankOn, BlueLight, Bodhi, bonsai, BSD, BunsenLabs, CachyOS,
Calculate, CalinixOS, Carbs, CBL-Mariner, CelOS, Center, CentOS, Calculate, CalinixOS, Carbs, CBL-Mariner, CelOS, Center, CentOS,
Chakra, ChaletOS, Chapeau, ChonkySealOS, Chrom, Cleanjaro, Clear Chakra, ChaletOS, Chapeau, ChonkySealOS, Chrom, Cleanjaro, Clear
@ -6293,7 +6199,7 @@ ASCII:
LangitKetujuh, LaxerOS, LEDE, LibreELEC, Linspire, Linux, Linux LangitKetujuh, LaxerOS, LEDE, LibreELEC, Linspire, Linux, Linux
Lite, Linux Mint, Linux Mint Old, Live Raizo, LMDE, Lubuntu, Lunar, Lite, Linux Mint, Linux Mint Old, Live Raizo, LMDE, Lubuntu, Lunar,
mac, Mageia, MagpieOS, Mandriva, Manjaro, MassOS, MatuusOS, Maui, mac, Mageia, MagpieOS, Mandriva, Manjaro, MassOS, MatuusOS, Maui,
Meowix, Mer, Minix, MIRACLE LINUX, MX, Namib, NekOS, Neptune, NetBSD, Mer, Minix, MIRACLE LINUX, MX, Namib, NekOS, Neptune, NetBSD,
Netrunner, Nitrux, NixOS, Nobara, NomadBSD, Nurunner, NuTyX, Obarun, Netrunner, Nitrux, NixOS, Nobara, NomadBSD, Nurunner, NuTyX, Obarun,
OBRevenge, OmniOS, Open Source Media Center, OpenBSD, openEuler, OBRevenge, OmniOS, Open Source Media Center, OpenBSD, openEuler,
OpenIndiana, openmamba, OpenMandriva, OpenStage, openSUSE, openSUSE OpenIndiana, openmamba, OpenMandriva, OpenStage, openSUSE, openSUSE
@ -6387,7 +6293,6 @@ get_args() {
# Info # Info
"--title_fqdn") title_fqdn="$2" ;; "--title_fqdn") title_fqdn="$2" ;;
"--package_managers") package_managers="$2" ;; "--package_managers") package_managers="$2" ;;
"--package_separate") package_separate="$2" ;;
"--os_arch") os_arch="$2" ;; "--os_arch") os_arch="$2" ;;
"--cpu_cores") cpu_cores="$2" ;; "--cpu_cores") cpu_cores="$2" ;;
"--cpu_speed") cpu_speed="$2" ;; "--cpu_speed") cpu_speed="$2" ;;
@ -7601,32 +7506,6 @@ ${c2} .oossssso-````/ossssss+`
EOF EOF
;; ;;
"unicodearch"*)
set_colors 6 6 7 1
read -rd '' ascii_data <<'EOF'
${c1} ▄
▟█▙
▟███▙
▟█████▙
▟███████▙
▂▔▀▜██████▙
▟██▅▂▝▜█████▙
▟█████████████▙
▟███████████████▙
▟█████████████████▙
▟███████████████████▙
▟█████████▛▀▀▜████████▙
▟████████▛ ▜███████▙
▟█████████ ████████▙
▟██████████ █████▆▅▄▃▂
▟██████████▛ ▜█████████▙
▟██████▀▀▀ ▀▀██████▙
▟███▀▘ ▝▀███▙
▟▛▀ ▀▜▙
EOF
;;
"artix_small"*) "artix_small"*)
set_colors 6 6 7 1 set_colors 6 6 7 1
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
@ -7762,36 +7641,6 @@ ${c1} ,.
EOF EOF
;; ;;
"Athena"*)
set_colors 7 3
read -rd '' ascii_data <<'EOF'
${c1} . ..
${c1} :####: ####.
${c1} .################
${c1} :##################
${c1}.###################.
${c1}######## #######
${c1}####### ${c2}####${c1} #####
${c1}:#######. ####
${c1} ######### ${c2}#${c1} ## #
${c1} ####### ${c2}##${c1} ####
${c1}######## ${c2}####${c1} #######
${c1}######## ${c2}#####${c1} ########
${c1}######## ${c2}#######${c1} #######
${c1} ####### ${c2}########${c1} #######
${c1} ######## ${c2}#########${c1} ######
${c1} ######## ${c2}#########${c1} #####
${c1} ####### ${c2}#########${c1} ####
${c1} ####### ${c2}#########${c1} ##
${c1} ####### ${c2}########${c1} ##
${c1} ###### ${c2}########${c1} #
${c1} ### ${c2}#######${c1}
${c1} ${c2}######${c1}
${c1} ${c2}####${c1}
${c1} ${c2}##${c1}
EOF
;;
"Bedrock"*) "Bedrock"*)
set_colors 8 7 set_colors 8 7
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
@ -8895,31 +8744,6 @@ ${c1} ............
EOF EOF
;; ;;
"openKylin"*)
set_colors 2 7
read -rd '' ascii_data <<'EOF'
${c1}
/KKK]
KKKKKKK` ]KKKK\
KKKKK/ /KKKKKKKKK\
KKKK/ ,KKKKKKKKKKKK^
,]KKK =KKK` /KKKKKKOOOOOO`
,KKKKKK =KK /` [\OOOOOOO\
\KKKKK =K ,OOOOOOO`
,KKKKK =^ \OOOOOO
,KKKK ^ OOOOOO^
*KKK^ =OOOOO^
OOKK^ OOOOOO^
\OOOK\ /OOOOOO`
OOOOOO] ,OOOOOOO^
,OOOOOOOO\] ,[OOOOOOOOO/
\OOOOOOOOOOOOOOOOOOOOO`
[OOOOOOOOOOOOOOOO/`
,[OOOOOOOOO]
EOF
;;
"DesaOS") "DesaOS")
set_colors 2 7 set_colors 2 7
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
@ -9307,30 +9131,6 @@ wWW${c2}N${c1}WWWWw
EOF EOF
;; ;;
"EvolutionOS"*)
set_colors 4 7
read -rd '' ascii_data <<'EOF'
${c1}\e[1;32m dddddddddddddddddddddddd
.dddd''''''''''''''''''''''dddd.
dd: dddddddddddddddddddd; dd:
dd: ldl:'''''''''''''''' dd:
dd: ldl: dd:
dd: ldl: dd:
dd: ldl: dd:
dd: ldl: dd:
dd: ldl: ddddddd; ddddd; dd:
dd: ldl: ''''''' ''''' dd:
dd: ldl: dd:
dd: ldl: dd:
dd: ldl: dd:
dd: ldl: dd:
dd: ldl: ddddddddddddddd; dd:
dddd:.''' ''''''''''''''' dddd:
dddddddddddddddddddddddddd;;'
'''''''''''''''''''''''''\e[0m
EOF
;;
"Exherbo"*) "Exherbo"*)
set_colors 4 7 1 set_colors 4 7 1
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
@ -10805,22 +10605,6 @@ ${c1} `.-://////:--`
EOF EOF
;; ;;
"Meowix"*)
set_colors 1 3 3 4
read -rd '' ascii_data <<'EOF'
${c1} #${c2}% ${c3}&${c4}*
${c1} ##${c2}%% ${c3}&&${c4}**
${c1} ## ${c2}%% ${c3}&& ${c4}**
${c1} ## ${c2}%% ${c3}&& ${c4}**
${c1} ## ${c2}%% ${c3}&& ${c4}**
${c1} ## ${c2}%% ${c3}&& ${c4}**
${c1} ## ${c2}%%${c3}&& ${c4}**
${c1} ## ${c2}%% ${c4}**
${c1} ## ${c4}**
${c1}## ${c4}**
EOF
;;
"Mer"*) "Mer"*)
set_colors 4 7 1 set_colors 4 7 1
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
@ -11606,7 +11390,7 @@ ${c1} /(/
EOF EOF
;; ;;
*"Wrt"*) "OpenWrt"*)
set_colors 4 7 1 set_colors 4 7 1
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
${c1} _______ ${c1} _______
@ -12073,31 +11857,6 @@ ${c1} /🐦🐦🐦$ /🐦/🐦 /🐦🐦🐦 /🐦🐦🐦
EOF EOF
;; ;;
"phyOS"*)
set_colors 33 33 7 1
read -rd '' ascii_data <<'EOF'
${c1} '
.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^.^^^^^.
:777777777777777777777777777777^~7777:
.~~~~~~~~~~~~~~~~~~~~~^~7777!:!777!.
~7!!!!!!!!!!!!!!!!!^:!777~^!777~
^77777!!!!!!!!!7!^^7777^^7777^
^7777~.~~~~^. .~7777^~7777:
:!777~^!777~. !777!:~777!:
.!777!:~777!:~77~:!777!.
~777!^~7777:^~^!777~
^7777^^7777^^7777^
:7777~^!7777777:
.!777!:!7777!.
.~777!:~77~.
~7777^~~
^7777.
:77:
..
EOF
;;
"PNM Linux"* | "WHPNM Linux"*) "PNM Linux"* | "WHPNM Linux"*)
set_colors 33 9 15 202 set_colors 33 9 15 202
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
@ -12524,28 +12283,26 @@ EOF
;; ;;
"Reborn OS"* | "Reborn"*) "Reborn OS"* | "Reborn"*)
set_colors 0 4 6 set_colors 2 2 8
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
${c1} .======================. ${c3}
${c1}.#${c2}#*********${c1}%%${c2}*********#${c1}%: mMMMMMMMMM MMMMMMMMMm
${c1}:%${c2}#**********${c1}%%${c2}**********#${c1}%- NM MN
${c1}-%${c2}************${c1}%%${c2}************${c1}%= MM ${c1}dddddddd dddddddd ${c3}MN
${c1}+%${c2}******${c1}%%#####${c1}%%#####%%${c2}******${c1}%+ mM ${c1}dd dd ${c3}MM
${c1}*%%#${c2}****${c1}%#${c3}+=====${c1}%%${c3}=====+${c1}#%${c2}****${c1}#%%* ${c1}dd hhhhhh hhhhh dd
${c1}*%${c2}*#${c1}#%%#%#${c3}====+++${c1}%%${c3}+++====${c1}#%#%%#${c2}#*${c1}##. ${c3}mM ${c1}hh hh ${c3}Mm
${c1}.##${c2}*****${c1}#%%%#${c3}*++${c1}%######%${c3}*+*${c1}#%%%#${c2}*****${c1}#%. NM ${c1}hd ${c3}mMMMMMMd ${c1}dh ${c3}MN
${c1}:%#${c2}*****${c1}#%${c3}*=+*${c1}#%%${c3}*++++++*${c1}%%#${c3}*+=*${c1}%#${c2}*****${c1}#%: NM ${c1}dd hh ${c3}mMMMMMMMMm ${c1}hh dd ${c3}MN
${c1}-%#${c2}*****${c1}#%${c3}+====*${c1}%${c3}*++++++++*${c1}%#${c3}====+${c1}%#${c2}******${c1}%- NM ${c1}dd hh ${c3}mMMMMMMMMMMm ${c1}hh dd ${c3}MN
${c1}-%#${c2}*****${c1}#%${c3}+====*${c1}%${c3}*++++++++*${c1}%#${c3}====+${c1}%#${c2}******${c1}%= NM ${c1}dd hh ${c3}mMMMMMMMMm ${c1}hh dd ${c3}MN
${c1}:%#${c2}*****${c1}#%${c3}*=+*${c1}#%%${c3}*++++++*${c1}%%#${c3}*+=*${c1}%#${c2}*****${c1}#%- NM ${c1}hd ${c3}mMMMMMMm ${c1}dh ${c3}MN
${c1}.##${c2}*****${c1}#%%%#${c3}*+*${c1}%######%${c3}*+*${c1}#%%%#${c2}*****${c1}#%: mM ${c1}hh hh ${c3}Mm
${c1}.##${c2}**${c1}#%%#%#${c3}====+++${c1}%%${c3}+++====${c1}#%#%%#${c2}#*${c1}##. ${c1}dd hhhhhh hhhhhh dd
${c1}*%%#${c2}****${c1}%#${c3}+=====${c1}%%${c3}=====+${c1}#%${c2}****${c1}#%%* ${c3}MM ${c1}dd dd ${c3}MM
${c1}+%${c2}******${c1}%%#####%%#####%%${c2}******${c1}%* MM ${c1}dddddddd dddddddd ${c3}MN
${c1}-%${c2}************${c1}%%${c2}************${c1}%= NM MN
${c1}:%${c2}#**********${c1}%%${c2}**********#${c1}%- mMMMMMMMMM MMMMMMMMMm
${c1}:%${c2}#*********${c1}%%${c2}*********#${c1}%:
${c1}.======================.
EOF EOF
;; ;;
@ -13001,32 +12758,6 @@ xxxxxxxxxxxxxxxxxx0 xxxxxxxxxxxxxx
EOF EOF
;; ;;
"Salix"*)
set_colors 2
read -rd '' ascii_data <<'EOF'
${c1} __s_aaaaaaaaauuoXSSSSSSSS:
._xSSSSSSSSSSSSSSSSSSSSSSSSSS:
_aSSSSSSSSSSSSSSSSSSSSSSSSSSSSS:
_xSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS:
<XSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS:
-"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^'
.ssssssssssssssssssssssssssssssssssss
{SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSl
oSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS;
:XSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS;
{SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
-"""""""""""""""""""""""""""""""""""'
<assssssssssssssssssssssssssssssss>
nSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS}
nSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS}`
XSSSSSSSSSSSSSSSSSSSSSSSSSSSS"`
SSSSSSSSSSSSSSSSSSSSSSSSS!"`
-""""""""""""""""""""""`
EOF
;;
"Scientific"*) "Scientific"*)
set_colors 4 7 1 set_colors 4 7 1
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
@ -13475,17 +13206,17 @@ EOF
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
${c2} ...... ${c2} ......
.,cdxxxoc,. .:kKMMMNWMMMNk:. .,cdxxxoc,. .:kKMMMNWMMMNk:.
cKMMN0OOOKWMMXo. A ;0MWk:' ':OMMk. cKMMN0OOOKWMMXo. ; ;0MWk:. .:OMMk.
;WMK;' 'lKMMNM, :NMK' 'OMW; ;WMK;. .lKMMNM, :NMK, .OMW;
cMW; WMMMN ,XMK' oMM. cMW; 'WMMMN ,XMK, oMM'
.MMc ''^*~l. xMN: KM0 .MMc ..;l. xMN: KM0
'MM. .NMO oMM 'MM. 'NMO oMM
.MM, .kMMl xMN .MM, .kMMl xMN
KM0 .kMM0' .dl>~,. .WMd KM0 .kMM0. .dl:,.. .WMd
'XM0. ,OMMK' OMMM7' .XMK .XM0. ,OMMK, OMMMK. .XMK
*WMO:. .;xNMMk' NNNMKl. .xWMx oWMO:. .;xNMMk, NNNMKl. .xWMx
^ONMMNXMMMKx; V 'xNMWKkxllox0NMWk' :ONMMNXMMMKx; . ,xNMWKkxllox0NMWk,
''''' ':dOOXXKOxl' ..... .:dOOXXKOxl,
EOF EOF
;; ;;
@ -13525,30 +13256,39 @@ dKK${c1}KKKKKKKKKK;.;oOKx,..${c2}^${c1}..;kKKK0.${c2} dKd
'^:ldxkkkkxdl:^' '^:ldxkkkkxdl:^'
EOF EOF
;; ;;
"parch"* | "Parch"* | "PARCH"*) "parch"* | "Parch"* | "PARCH"*)
set_colors 4 6 set_colors 4 6
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
${c1}
+s;;:o- ${c1} ,#/*%*
s/sssso+/-'+\\ ${c1} #. ..,..,*,,
+/ssssss/` ${c1} ,/,,... ,. (/ ...
/ssssssss/ ${c1} ,/,........ .,. ./(/%/ .* #*
\\ 'sssssss: ${c1} .**,..... ...,%&. .,
`o+;ssssssso\\ ${c1} ,%,.... ., ,
/sssssssssssss\\+ ${c1} ,&,... .,, &. .
;ssssssssssssssss: ${c1} (%,... ..,& *.
:sssssssssssssssssso; ${c1} *&*..... &,,,,,,,#& ..,&/ *. /
/ssssssssssssssssssssss ${c1} *&*,..... &***%&&**,& ...,&* / /
`+ssssssssssssssssssssso\\ ${c1} *&,.... &,**,,,**,# ..,&/ .
so+'+ssssssssssssssss+'` ${c1} (/,... &***%%%(, ..,%( #
'` +osssssoooooosssss++oo\\ ${c1} %*... #,,,% ..*% . *
/sssssssooooooosssssssso ${c1} %,.. .,% . /
`osssssssssoooossssssssso: ${c1} %,. ..,,. .%
\\sssssssssssssssssssss; ${c1} /,. ${c1} ..# .%
`+osssssssssssssss:/' ${c1} .,. ${c2} @@@@@# ${c1} ./ ./.
`\\osssssssssso;+' ${c1} ,.. ${c2} #&%.%%@ ${c1} .#%&*
`\\+;so:+-` ${c1} .,.. ${c2} @//(*(@, ${c1} ..
${c1} ,.. ${c2} #@ /@@, ${c1}
${c1} ... ${c2} &@ @@@ ${c1}
${c1} ,,. ${c2} (# .@@#, ${c1} ,
${c1} /,.. ${c2} *****@% #****/ ${c1} .
${c1} ((*....${c2} /***% %*** ${c1} .,.*
${c1} /&&&**,.., ${c2}* **,*,,. ${c1} ...,(&%*
${c1} %&&&#*(**,,,,,,,,,,,,,,,*//(&&&&#
${c1} /, .,....... .,,***/(/,,/
${c1} ./*/#*,,***,,***///(#%%*.
EOF EOF
;; ;;
@ -14156,24 +13896,47 @@ ${c3} :${c4}:::::::::::::: ${c5}.
EOF EOF
;; ;;
"venom_small"*)
set_colors 8 4
read -rd '' ascii_data <<'EOF'
${c1} ++**
*===**====+*
*====* +===+
*==*+===* *===*
*===* *===+ *===*
*===* +===+ *===*
*===* +===* *===*
*===* *===+*==*
+===+ *===+=*
*+====**===*
**++
EOF
;;
"Venom"*) "Venom"*)
set_colors 8 4 set_colors 8 4
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
${c1} ::::::: ::::::: ${c1}
mMMMMMMm dMMMMMMm `-`
/MMMMMMMo +MMMMMMM/ -yys+/-`
yMMMMMMN mMMMMMMy `oyyyyy: /osyyyyso+:.
NMMMMMMs oMMMMMMm /yyyyy+`+yyyyyyyyyys/.
+MMMMMMN: NMMMMMM+ .-yyyyys.:+//+oyyyyyyyo.
hMMMMMMy sMMMMMMy `oy/`oyyyyy/ ./syyyyy:
:NMMMMMM::NMMMMMN: syyys`:yyyyyo` :yyyyy:
oMMMMMMyyMMMMMM+ /yyyyo .syyyyy- .yyyyy.
dMMMMMMMMMMMMh yyyyy. +yyyyy/ /yyyy/
/MMMMMMMMMMMN: `yyyyy :yyyyys` -yyyyo
sMMMMMMMMMMo yyyyy. `syyyyy- /yyyy/
mMMMMMMMMd /yyyyo /yyyyy+ .yyyyy.
+MMMMMMMN: syyyys. -yyyyys.:yyyy:
:::::: `oyyyyyo-` `oyyyyy:.sy:
:syyyyyyso+/++`/yyyyyo``
-oyyyyyyyyyyy-.syyyys.
-/+osyyyyso.`+yyyyy/
.-/+syo`
`.
EOF EOF
;; ;;
@ -14440,30 +14203,6 @@ llllllllllllll lllllllllllllllllll
EOF EOF
;; ;;
"Windows95")
set_colors 6 4 3 2 1 0
read -rd '' ascii_data <<'EOF'
${c6} ___
.--=+++++=-:.
. _ *%@@@@@@@@@@@@@@*
*:+:.__ :+* @@@ @"${c5}_*&%${c6}@@${c4}%&&&*${c6}"@@@
"+.-#+ +%* " _ ${c5}++&&&%${c6}@@${c4}%&&&&&#${c6}@@
${c5} " , ${c6}%@@ ${c5}&&&&&%${c6}@@${c4}%&&&&&#${c6}@@
${c5} * oo *# ${c6}" _ ${c5}&&&&&%${c6}@@${c4}%&&&&&#${c6}@@
${c5} " , ${c6}%@@ ${c5}&&&&"${c6}@@@@#*${c4}"&&&${c6}@@
.${c5} * oo *# ${c6}" _ %@@@@@@@@@@@@@@@@
*:+:.__ :=* %@@ @"${c1}**&%${c6}@@${c3}%&&&*${c6}"@@@
"+.-#+ +%* " _ ${c1}&&&&&%${c6}@@${c3}%&&&&&#${c6}@@
${c1} " , ${c6}%@@ ${c1}&&&&&%${c6}@@${c3}%&&&&&#${c6}@@
${c1} * oo *# ${c6}" _ ${c1}&&&&&%${c6}@@${c3}%&&&&&#${c6}@@
${c1} " , ${c6}%@@ ${c1}&&*"${c6}%@@@@@@${c3}"*%&${c6}@@
.${c1} * oo *# ${c6}" _ @@@@@@@@@@@@@@@@@
*:+:.__ :+# @@@ @%#=+""""""+==%#@
"+.-#+ +%* %+" " ":@
" "
EOF
;;
"Windows"*) "Windows"*)
set_colors 1 2 4 3 set_colors 1 2 4 3
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'