Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

No ascii for Windows 11 #2422

Open
GauthamMu opened this issue Dec 7, 2023 · 1 comment
Open

No ascii for Windows 11 #2422

GauthamMu opened this issue Dec 7, 2023 · 1 comment

Comments

@GauthamMu
Copy link

Description

The logo for Windows 11 in neofetch is just the Windows 7 logo

Neofetch version

Neofetch 7.1.0

neofetch log

  • verbose=on

  • shift

  • [[ -n '' ]]

  • [[ on != on ]]

  • get_simple -vv

  • [[ -n -vv ]]
    ++ type -t get_-vv

  • [[ '' == \f\u\n\c\t\i\o\n ]]

  • shift

  • [[ -n '' ]]

  • (( simple ))

  • get_distro

  • [[ -n '' ]]

  • case $os in
    ++ wmic os get Caption

  • distro='Caption
    Microsoft Windows 11 Education
    '

  • distro='
    Microsoft Windows 11 Education
    '

  • distro='
    Windows 11 Education
    '

  • distro='
    Windows 11 Education
    '

  • [[ -n
    Windows 11 Education
    ]]

  • case $os in

  • machine_arch=x86_64

  • [[ on == on ]]

  • distro+=' x86_64'

  • [[ auto == auto ]]
    ++ trim '
    Windows 11 Education
    x86_64'
    ++ set -f
    ++ set -- $'\r\r' Windows 11 Education $'\r\r' $'\r' x86_64
    ++ printf '%s\n' ' Windows 11 Education x86_64'
    ++ set +f

  • ascii_distro=' Windows 11 Education x86_64'

  • get_bold

  • case $ascii_bold in

  • ascii_bold='\e[1m'

  • case $bold in

  • bold='\e[1m'

  • get_distro_ascii

  • case $(trim "$ascii_distro") in
    ++ trim ' Windows 11 Education x86_64'
    ++ set -f
    ++ set -- Windows 11 Education x86_64
    ++ printf '%s\n' 'Windows 11 Education x86_64'
    ++ set +f

  • set_colors 1 2 4 3
    ++ color 1
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 1

  • c1='\e[1m'
    ++ color 2
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 2

  • c2='\e[1m'
    ++ color 4
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 4

  • c3='\e[1m'
    ++ color 3
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 3

  • c4='\e[1m'
    ++ color ''
    ++ case $1 in
    ++ printf '\e[38;5;%bm' ''

  • c5='\e[1m'
    ++ color ''
    ++ case $1 in
    ++ printf '\e[38;5;%bm' ''

  • c6='\e[1m'

  • [[ '' != \o\f\f ]]

  • set_text_colors 1 2 4 3

  • [[ distro == \d\i\s\t\r\o ]]
    ++ color 1
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 1

  • title_color=''

  • at_color='\e[0m'

  • underline_color='\e[0m'
    ++ color 2
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 2

  • subtitle_color=''

  • colon_color='\e[0m'

  • info_color='\e[0m'

  • (( 1 == 8 ))

  • (( 2 == 8 ))

  • (( 2 == 7 ))

  • (( 1 == 7 ))

  • [[ distro == \d\i\s\t\r\o ]]
    ++ color fg
    ++ case $1 in
    ++ printf '\e[37m%b' '\e[0m'

  • bar_color_elapsed=''

  • case ${bar_color_total}${1} in
    ++ color 2
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 2

  • bar_color_total=''

  • read -rd '' ascii_data

  • [[ distro != distro ]]

  • [[ off == on ]]

  • [[ xterm-256color != minix ]]

  • [[ off != on ]]

  • trap 'printf "\e[?25h\e[?7h"' EXIT

  • printf '\e[?25l\e[?7l'

  • image_backend

  • [[ ascii != \o\f\f ]]

  • type -p convert

  • case ${image_backend:-off} in

  • print_ascii

  • [[ -f auto ]]

  • [[ auto == \a\s\c\i\i ]]

  • [[ auto == auto ]]

  • :

  • LC_ALL=C

  • IFS='
    '

  • read -r line

  • line=' ,.=:!!t3Z3z.,'

  • line=' ,.=:!!t3Z3z.,'

  • (( ++lines,21>ascii_len ))

  • ascii_len=21

  • IFS='
    '

  • read -r line

  • line=' :tt:::tt333EE3'

  • line=' :tt:::tt333EE3'

  • (( ++lines,21>ascii_len ))

  • IFS='
    '

  • read -r line

  • line=' Et:::ztt33EEEL @EE., ..,'

  • line=' Et:::ztt33EEEL @EE., ..,'

  • (( ++lines,36>ascii_len ))

  • ascii_len=36

  • IFS='
    '

  • read -r line

  • line=' ;tt:::tt333EE7 ;EEEEEEttttt33#'

  • line=' ;tt:::tt333EE7 ;EEEEEEttttt33#'

  • (( ++lines,36>ascii_len ))

  • IFS='
    '

  • read -r line

  • line=' :Et:::zt333EEQ. $EEEEEttttt33QL'

  • line=' :Et:::zt333EEQ. $EEEEEttttt33QL'

  • (( ++lines,36>ascii_len ))

  • IFS='
    '

  • read -r line

  • line=' it::::tt333EEF @EEEEEEttttt33F'

  • line=' it::::tt333EEF @EEEEEEttttt33F'

  • (( ++lines,35>ascii_len ))

  • IFS='
    '

  • read -r line

  • line=' ;3=*^```"*4EEV :EEEEEEttttt33@.'

  • line=' ;3=*^```"*4EEV :EEEEEEttttt33@.'

  • (( ++lines,35>ascii_len ))

  • IFS='
    '

  • read -r line

  • line=' ,.=::::!t=., ` @EEEEEEtttz33QF'

  • line=' ,.=::::!t=., ` @EEEEEEtttz33QF'

  • (( ++lines,34>ascii_len ))

  • IFS='
    '

  • read -r line

  • line=' ;::::::::zt33) "4EEEtttji3P*'

  • line=' ;::::::::zt33) "4EEEtttji3P*'

  • (( ++lines,33>ascii_len ))

  • IFS='
    '

  • read -r line

  • line=' :t::::::::tt33.:Z3z.. `` ,..g.'

  • line=' :t::::::::tt33.:Z3z.. `` ,..g.'

  • (( ++lines,33>ascii_len ))

  • IFS='
    '

  • read -r line

  • line=' i::::::::zt33F AEEEtttt::::ztF'

  • line=' i::::::::zt33F AEEEtttt::::ztF'

  • (( ++lines,32>ascii_len ))

  • IFS='
    '

  • read -r line

  • line=' ;:::::::::t33V ;EEEttttt::::t3'

  • line=' ;:::::::::t33V ;EEEttttt::::t3'

  • (( ++lines,31>ascii_len ))

  • IFS='
    '

  • read -r line

  • line=' E::::::::zt33L @EeeTttt::::z3F'

  • line=' E::::::::zt33L @EeeTttt::::z3F'

  • (( ++lines,31>ascii_len ))

  • IFS='
    '

  • read -r line

  • line='{3=*^```"*4E3) ;EEEtttt:::::tZ`'

  • line='{3=*^```"*4E3) ;EEEtttt:::::tZ`'

  • (( ++lines,31>ascii_len ))

  • IFS='
    '

  • read -r line

  • line=' ` :EEEEtttt::::z7'

  • line=' ` :EEEEtttt::::z7'

  • (( ++lines,30>ascii_len ))

  • IFS='
    '

  • read -r line

  • line=' "VEzjt:;;z>*`'

  • line=' "VEzjt:;;z>*`'

  • (( ++lines,30>ascii_len ))

  • IFS='
    '

  • read -r line

  • (( lines==1 ))

  • ascii_data='\e[1m ,.=:!!t3Z3z.,
    :tt:::tt333EE3
    \e[1m Et:::ztt33EEEL${c2} @EE., ..,
    \e[1m ;tt:::tt333EE7${c2} ;EEEEEEttttt33#
    \e[1m :Et:::zt333EEQ.${c2} $EEEEEttttt33QL
    \e[1m it::::tt333EEF${c2} @EEEEEEttttt33F
    \e[1m ;3=*^"*4EEV${c2} :EEEEEEttttt33@. ${c3} ,.=::::!t=., \e[1m`${c2} @EEEEEEtttz33QF ${c3} ;::::::::zt33)${c2} "4EEEtttji3P* ${c3} :t::::::::tt33.${c4}:Z3z..${c2} ``${c4} ,..g. ${c3} i::::::::zt33F${c4} AEEEtttt::::ztF ${c3} ;:::::::::t33V${c4} ;EEEttttt::::t3 ${c3} E::::::::zt33L${c4} @EEEtttt::::z3F ${c3}{3=*^"4E3)${c4} ;EEEtttt:::::tZ${c3} ${c4} :EEEEtttt::::z7
    "VEzjt:;;z>
    `'

  • ascii_data='\e[1m ,.=:!!t3Z3z.,
    :tt:::tt333EE3
    \e[1m Et:::ztt33EEEL\e[1m @EE., ..,
    \e[1m ;tt:::tt333EE7\e[1m ;EEEEEEttttt33#
    \e[1m :Et:::zt333EEQ.\e[1m $EEEEEttttt33QL
    \e[1m it::::tt333EEF\e[1m @EEEEEEttttt33F
    \e[1m ;3=*^"*4EEV\e[1m :EEEEEEttttt33@. ${c3} ,.=::::!t=., \e[1m`\e[1m @EEEEEEtttz33QF ${c3} ;::::::::zt33)\e[1m "4EEEtttji3P* ${c3} :t::::::::tt33.${c4}:Z3z..\e[1m ``${c4} ,..g. ${c3} i::::::::zt33F${c4} AEEEtttt::::ztF ${c3} ;:::::::::t33V${c4} ;EEEttttt::::t3 ${c3} E::::::::zt33L${c4} @EEEtttt::::z3F ${c3}{3=*^"4E3)${c4} ;EEEtttt:::::tZ${c3} ${c4} :EEEEtttt::::z7
    "VEzjt:;;z>
    `'

  • ascii_data='\e[1m ,.=:!!t3Z3z.,
    :tt:::tt333EE3
    \e[1m Et:::ztt33EEEL\e[1m @EE., ..,
    \e[1m ;tt:::tt333EE7\e[1m ;EEEEEEttttt33#
    \e[1m :Et:::zt333EEQ.\e[1m $EEEEEttttt33QL
    \e[1m it::::tt333EEF\e[1m @EEEEEEttttt33F
    \e[1m ;3=*^"*4EEV\e[1m :EEEEEEttttt33@. \e[1m ,.=::::!t=., \e[1m`\e[1m @EEEEEEtttz33QF \e[1m ;::::::::zt33)\e[1m "4EEEtttji3P* \e[1m :t::::::::tt33.${c4}:Z3z..\e[1m ``${c4} ,..g. \e[1m i::::::::zt33F${c4} AEEEtttt::::ztF \e[1m ;:::::::::t33V${c4} ;EEEttttt::::t3 \e[1m E::::::::zt33L${c4} @EEEtttt::::z3F \e[1m{3=*^"4E3)${c4} ;EEEtttt:::::tZ\e[1m ${c4} :EEEEtttt::::z7
    "VEzjt:;;z>
    `'

  • ascii_data='\e[1m ,.=:!!t3Z3z.,
    :tt:::tt333EE3
    \e[1m Et:::ztt33EEEL\e[1m @EE., ..,
    \e[1m ;tt:::tt333EE7\e[1m ;EEEEEEttttt33#
    \e[1m :Et:::zt333EEQ.\e[1m $EEEEEttttt33QL
    \e[1m it::::tt333EEF\e[1m @EEEEEEttttt33F
    \e[1m ;3=*^"*4EEV\e[1m :EEEEEEttttt33@. \e[1m ,.=::::!t=., \e[1m`\e[1m @EEEEEEtttz33QF \e[1m ;::::::::zt33)\e[1m "4EEEtttji3P* \e[1m :t::::::::tt33.\e[1m:Z3z..\e[1m ``\e[1m ,..g. \e[1m i::::::::zt33F\e[1m AEEEtttt::::ztF \e[1m ;:::::::::t33V\e[1m ;EEEttttt::::t3 \e[1m E::::::::zt33L\e[1m @EEEtttt::::z3F \e[1m{3=*^"4E3)\e[1m ;EEEtttt:::::tZ\e[1m \e[1m :EEEEtttt::::z7
    "VEzjt:;;z>
    `'

  • ascii_data='\e[1m ,.=:!!t3Z3z.,
    :tt:::tt333EE3
    \e[1m Et:::ztt33EEEL\e[1m @EE., ..,
    \e[1m ;tt:::tt333EE7\e[1m ;EEEEEEttttt33#
    \e[1m :Et:::zt333EEQ.\e[1m $EEEEEttttt33QL
    \e[1m it::::tt333EEF\e[1m @EEEEEEttttt33F
    \e[1m ;3=*^"*4EEV\e[1m :EEEEEEttttt33@. \e[1m ,.=::::!t=., \e[1m`\e[1m @EEEEEEtttz33QF \e[1m ;::::::::zt33)\e[1m "4EEEtttji3P* \e[1m :t::::::::tt33.\e[1m:Z3z..\e[1m ``\e[1m ,..g. \e[1m i::::::::zt33F\e[1m AEEEtttt::::ztF \e[1m ;:::::::::t33V\e[1m ;EEEttttt::::t3 \e[1m E::::::::zt33L\e[1m @EEEtttt::::z3F \e[1m{3=*^"4E3)\e[1m ;EEEtttt:::::tZ\e[1m \e[1m :EEEEtttt::::z7
    "VEzjt:;;z>
    `'

  • ascii_data='\e[1m ,.=:!!t3Z3z.,
    :tt:::tt333EE3
    \e[1m Et:::ztt33EEEL\e[1m @EE., ..,
    \e[1m ;tt:::tt333EE7\e[1m ;EEEEEEttttt33#
    \e[1m :Et:::zt333EEQ.\e[1m $EEEEEttttt33QL
    \e[1m it::::tt333EEF\e[1m @EEEEEEttttt33F
    \e[1m ;3=*^"*4EEV\e[1m :EEEEEEttttt33@. \e[1m ,.=::::!t=., \e[1m`\e[1m @EEEEEEtttz33QF \e[1m ;::::::::zt33)\e[1m "4EEEtttji3P* \e[1m :t::::::::tt33.\e[1m:Z3z..\e[1m ``\e[1m ,..g. \e[1m i::::::::zt33F\e[1m AEEEtttt::::ztF \e[1m ;:::::::::t33V\e[1m ;EEEttttt::::t3 \e[1m E::::::::zt33L\e[1m @EEEtttt::::z3F \e[1m{3=*^"4E3)\e[1m ;EEEtttt:::::tZ\e[1m \e[1m :EEEEtttt::::z7
    "VEzjt:;;z>
    `'

  • (( text_padding=ascii_len+gap ))

  • printf '%b\n' '\e[1m ,.=:!!t3Z3z.,
    :tt:::tt333EE3
    \e[1m Et:::ztt33EEEL\e[1m @EE., ..,
    \e[1m ;tt:::tt333EE7\e[1m ;EEEEEEttttt33#
    \e[1m :Et:::zt333EEQ.\e[1m $EEEEEttttt33QL
    \e[1m it::::tt333EEF\e[1m @EEEEEEttttt33F
    \e[1m ;3=*^"*4EEV\e[1m :EEEEEEttttt33@. \e[1m ,.=::::!t=., \e[1m`\e[1m @EEEEEEtttz33QF \e[1m ;::::::::zt33)\e[1m "4EEEtttji3P* \e[1m :t::::::::tt33.\e[1m:Z3z..\e[1m ``\e[1m ,..g. \e[1m i::::::::zt33F\e[1m AEEEtttt::::ztF \e[1m ;:::::::::t33V\e[1m ;EEEttttt::::t3 \e[1m E::::::::zt33L\e[1m @EEEtttt::::z3F \e[1m{3=*^"4E3)\e[1m ;EEEtttt:::::tZ\e[1m \e[1m :EEEEtttt::::z7
    "VEzjt:;;z>
    `\e[0m'
    ,.=:!!t3Z3z.,
    :tt:::tt333EE3
    Et:::ztt33EEEL @EE., ..,

  • get_cache_dir33EE7 ;EEEEEEttttt33#

  • case $os in333EEQ. $EEEEEttttt33QL

  • cache_dir=/tmpEEF @EEEEEEttttt33F

  • old_functionsEEV :EEEEEEttttt33@.

  • print_infot=., ` @EEEEEEtttz33QF

  • info titlezt33) "4EEEtttji3P*

  • [[ -n '' ]]t33.:Z3z.. `` ,..g.

  • unset -v prinF AEEEtttt::::ztF

  • get_titlet33V ;EEEttttt::::t3
    ++ id -un:zt33L @EeeTttt::::z3F

  • user=HeartbrokenEtttt:::::tZ`

  • case $title_fqdn inttt::::z7

  • hostname=HeartbrokenLaptop*`

  • title='\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'

  • length=29!= \o\f\f ]]

  • [[ -n '' ]]%sA\e[9999999D' 16

  • [[ -n '' ]]
    ++ trim '\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ set -f
    ++ set -- '\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ printf '%s\n' '\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ set +f

  • output='\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'

  • [[ -n '' ]]

  • [[ -n \e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop ]]

  • prin '\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ trim '\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ set -f
    ++ set -- '\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ printf '%s\n' '\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ set +f

  • [[ -n \e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop ]]

  • [[ -n '' ]]

  • string='\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'

  • local 'subtitle_color=\e[0m'
    ++ trim '\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ set -f
    ++ set -- '\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ printf '%s\n' '\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ set +f

  • string='\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ strip_sequences '\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ strip='\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ strip='\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'
    ++ strip=Heartbroken@HeartbrokenLaptop
    ++ strip=Heartbroken@HeartbrokenLaptop
    ++ strip=Heartbroken@HeartbrokenLaptop
    ++ strip=Heartbroken@HeartbrokenLaptop
    ++ printf '%s\n' Heartbroken@HeartbrokenLaptop

  • length=Heartbroken@HeartbrokenLaptop

  • length=29

  • string='\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'

  • string='\e[0m\e[1m\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop'

  • printf '%b\n' '\e[39C\e[0m\e[1m\e[1mHeartbroken\e[0m@\e[1mHeartbrokenLaptop\e[0m '
    Heartbroken@HeartbrokenLaptop

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info underline

  • [[ -n '' ]]

  • unset -v prin

  • get_underline

  • [[ on == \o\n ]]

  • printf -v underline %29s

  • printf '%b%b\n' '\e[39C\e[0m' '-----------------------------\e[0m '
    -----------------------------

  • (( ++info_height ))

  • length=

  • prin=1

  • [[ -n 1 ]]

  • return

  • info OS distro

  • [[ -n distro ]]

  • subtitle=OS

  • unset -v prin

  • get_distro

  • [[ -n
    Windows 11 Education
    x86_64 ]]

  • return

  • [[ -n '' ]]

  • [[ -n distro ]]
    ++ trim '
    Windows 11 Education
    x86_64'
    ++ set -f
    ++ set -- $'\r\r' Windows 11 Education $'\r\r' $'\r' x86_64
    ++ printf '%s\n' ' Windows 11 Education x86_64'
    ++ set +f

  • output=' Windows 11 Education x86_64'

  • [[ -n distro ]]

  • [[ -n Windows11Educationx86_64 ]]

  • prin OS ' Windows 11 Education x86_64'
    ++ trim OS
    ++ set -f
    ++ set -- OS
    ++ printf '%s\n' OS
    ++ set +f

  • [[ -n OS ]]

  • [[ -n Windows 11 Education x86_64 ]]

  • [[ -n '' ]]

  • string='OS: Windows 11 Education x86_64'
    ++ trim 'OS: Windows 11 Education x86_64'
    ++ set -f
    ++ set -- OS: Windows 11 Education x86_64
    ++ printf '%s\n' 'OS: Windows 11 Education x86_64'
    ++ set +f

  • string='OS: Windows 11 Education x86_64'
    ++ strip_sequences 'OS: Windows 11 Education x86_64'
    ++ strip='OS: Windows 11 Education x86_64'
    ++ strip='OS: Windows 11 Education x86_64'
    ++ strip='OS: Windows 11 Education x86_64'
    ++ strip='OS: Windows 11 Education x86_64'
    ++ strip='OS: Windows 11 Education x86_64'
    ++ strip='OS: Windows 11 Education x86_64'
    ++ printf '%s\n' 'OS: Windows 11 Education x86_64'

  • length='OS: Windows 11 Education x86_64'

  • length=31

  • string='OS\e[0m\e[0m:\e[0m Windows 11 Education x86_64'

  • string='\e[1mOS\e[0m\e[0m:\e[0m Windows 11 Education x86_64'

  • printf '%b\n' '\e[39C\e[1mOS\e[0m\e[0m:\e[0m Windows 11 Education x86_64\e[0m '
    OS: Windows 11 Education x86_64

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info Host model

  • [[ -n model ]]

  • subtitle=Host

  • unset -v prin

  • get_model

  • case $os in
    ++ wmic computersystem get manufacturer,model

  • model='Manufacturer Model
    LENOVO 21CHCTO1WW
    '

  • model=' Model
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • model='
    LENOVO 21CHCTO1WW
    '

  • case $model in

  • [[ -n '' ]]

  • [[ -n model ]]
    ++ trim '
    LENOVO 21CHCTO1WW
    '
    ++ set -f
    ++ set -- $'\r\r' LENOVO 21CHCTO1WW $'\r\r' $'\r'
    ++ printf '%s\n' ' LENOVO 21CHCTO1WW '
    ++ set +f

  • output=' LENOVO 21CHCTO1WW '

  • [[ -n model ]]

  • [[ -n LENOVO21CHCTO1WW ]]

  • prin Host ' LENOVO 21CHCTO1WW '
    ++ trim Host
    ++ set -f
    ++ set -- Host
    ++ printf '%s\n' Host
    ++ set +f

  • [[ -n Host ]]

  • [[ -n LENOVO 21CHCTO1WW ]]

  • [[ -n '' ]]

  • string='Host: LENOVO 21CHCTO1WW '
    ++ trim 'Host: LENOVO 21CHCTO1WW '
    ++ set -f
    ++ set -- Host: LENOVO 21CHCTO1WW
    ++ printf '%s\n' 'Host: LENOVO 21CHCTO1WW'
    ++ set +f

  • string='Host: LENOVO 21CHCTO1WW'
    ++ strip_sequences 'Host: LENOVO 21CHCTO1WW'
    ++ strip='Host: LENOVO 21CHCTO1WW'
    ++ strip='Host: LENOVO 21CHCTO1WW'
    ++ strip='Host: LENOVO 21CHCTO1WW'
    ++ strip='Host: LENOVO 21CHCTO1WW'
    ++ strip='Host: LENOVO 21CHCTO1WW'
    ++ strip='Host: LENOVO 21CHCTO1WW'
    ++ printf '%s\n' 'Host: LENOVO 21CHCTO1WW'

  • length='Host: LENOVO 21CHCTO1WW'

  • length=23

  • string='Host\e[0m\e[0m:\e[0m LENOVO 21CHCTO1WW'

  • string='\e[1mHost\e[0m\e[0m:\e[0m LENOVO 21CHCTO1WW'

  • printf '%b\n' '\e[39C\e[1mHost\e[0m\e[0m:\e[0m LENOVO 21CHCTO1WW\e[0m '
    Host: LENOVO 21CHCTO1WW

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info Kernel kernel

  • [[ -n kernel ]]

  • subtitle=Kernel

  • unset -v prin

  • get_kernel

  • [[ Windows =~ (AIX|IRIX) ]]

  • [[ Windows == Haiku ]]

  • [[ Windows == Windows ]]
    ++ wmic os get Version

  • kernel='Version
    10.0.22631
    '

  • kernel='
    10.0.22631
    '

  • return

  • [[ -n '' ]]

  • [[ -n kernel ]]
    ++ trim '
    10.0.22631
    '
    ++ set -f
    ++ set -- $'\r\r' 10.0.22631 $'\r\r' $'\r'
    ++ printf '%s\n' ' 10.0.22631 '
    ++ set +f

  • output=' 10.0.22631 '

  • [[ -n kernel ]]

  • [[ -n 10.0.22631 ]]

  • prin Kernel ' 10.0.22631 '
    ++ trim Kernel
    ++ set -f
    ++ set -- Kernel
    ++ printf '%s\n' Kernel
    ++ set +f

  • [[ -n Kernel ]]

  • [[ -n 10.0.22631 ]]

  • [[ -n '' ]]

  • string='Kernel: 10.0.22631 '
    ++ trim 'Kernel: 10.0.22631 '
    ++ set -f
    ++ set -- Kernel: 10.0.22631
    ++ printf '%s\n' 'Kernel: 10.0.22631'
    ++ set +f

  • string='Kernel: 10.0.22631'
    ++ strip_sequences 'Kernel: 10.0.22631'
    ++ strip='Kernel: 10.0.22631'
    ++ strip='Kernel: 10.0.22631'
    ++ strip='Kernel: 10.0.22631'
    ++ strip='Kernel: 10.0.22631'
    ++ strip='Kernel: 10.0.22631'
    ++ strip='Kernel: 10.0.22631'
    ++ printf '%s\n' 'Kernel: 10.0.22631'

  • length='Kernel: 10.0.22631'

  • length=18

  • string='Kernel\e[0m\e[0m:\e[0m 10.0.22631'

  • string='\e[1mKernel\e[0m\e[0m:\e[0m 10.0.22631'

  • printf '%b\n' '\e[39C\e[1mKernel\e[0m\e[0m:\e[0m 10.0.22631\e[0m '
    Kernel: 10.0.22631

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info Uptime uptime

  • [[ -n uptime ]]

  • subtitle=Uptime

  • unset -v prin

  • get_uptime

  • case $os in

  • [[ -r /proc/uptime ]]

  • s='3441.08 3374.77'

  • s=3441

  • d='0 days'

  • h='0 hours'

  • m='57 mins'

  • (( 0 == 1 ))

  • (( 0 == 1 ))

  • (( 57 == 1 ))

  • (( 0 == 0 ))

  • unset d

  • (( 0 == 0 ))

  • unset h

  • (( 57 == 0 ))

  • uptime='57 mins'

  • uptime='57 mins'

  • uptime='57 mins'

  • case $uptime_shorthand in

  • [[ -n '' ]]

  • [[ -n uptime ]]
    ++ trim '57 mins'
    ++ set -f
    ++ set -- 57 mins
    ++ printf '%s\n' '57 mins'
    ++ set +f

  • output='57 mins'

  • [[ -n uptime ]]

  • [[ -n 57mins ]]

  • prin Uptime '57 mins'
    ++ trim Uptime
    ++ set -f
    ++ set -- Uptime
    ++ printf '%s\n' Uptime
    ++ set +f

  • [[ -n Uptime ]]

  • [[ -n 57 mins ]]

  • [[ -n '' ]]

  • string='Uptime: 57 mins'
    ++ trim 'Uptime: 57 mins'
    ++ set -f
    ++ set -- Uptime: 57 mins
    ++ printf '%s\n' 'Uptime: 57 mins'
    ++ set +f

  • string='Uptime: 57 mins'
    ++ strip_sequences 'Uptime: 57 mins'
    ++ strip='Uptime: 57 mins'
    ++ strip='Uptime: 57 mins'
    ++ strip='Uptime: 57 mins'
    ++ strip='Uptime: 57 mins'
    ++ strip='Uptime: 57 mins'
    ++ strip='Uptime: 57 mins'
    ++ printf '%s\n' 'Uptime: 57 mins'

  • length='Uptime: 57 mins'

  • length=15

  • string='Uptime\e[0m\e[0m:\e[0m 57 mins'

  • string='\e[1mUptime\e[0m\e[0m:\e[0m 57 mins'

  • printf '%b\n' '\e[39C\e[1mUptime\e[0m\e[0m:\e[0m 57 mins\e[0m '
    Uptime: 57 mins

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info Packages packages

  • [[ -n packages ]]

  • subtitle=Packages

  • unset -v prin

  • get_packages

  • [[ -f /bedrock/etc/bedrock-release ]]

  • case $os in

  • case $kernel_name in

  • has scoop

  • type -p scoop

  • manager=scoop

  • dir /c/Users/Heartbroken/scoop/apps/7zip /c/Users/Heartbroken/scoop/apps/git /c/Users/Heartbroken/scoop/apps/neofetch /c/Users/Heartbroken/scoop/apps/scoop

  • (( packages+=4 ))

  • pac 4

  • (( 4 > 0 ))

  • managers+=("$1 (${manager})")

  • manager_string+='scoop, '

  • (( packages-=1 ))

  • [[ -d /cygdrive/c/ProgramData/chocolatey/lib ]]

  • (( packages == 0 ))

  • [[ on == on ]]

  • printf -v packages '%s, ' '4 (scoop)'

  • packages='4 (scoop)'

  • packages='4 (scoop)'

  • [[ -n '' ]]

  • [[ -n packages ]]
    ++ trim '4 (scoop)'
    ++ set -f
    ++ set -- 4 '(scoop)'
    ++ printf '%s\n' '4 (scoop)'
    ++ set +f

  • output='4 (scoop)'

  • [[ -n packages ]]

  • [[ -n 4(scoop) ]]

  • prin Packages '4 (scoop)'
    ++ trim Packages
    ++ set -f
    ++ set -- Packages
    ++ printf '%s\n' Packages
    ++ set +f

  • [[ -n Packages ]]

  • [[ -n 4 (scoop) ]]

  • [[ -n '' ]]

  • string='Packages: 4 (scoop)'
    ++ trim 'Packages: 4 (scoop)'
    ++ set -f
    ++ set -- Packages: 4 '(scoop)'
    ++ printf '%s\n' 'Packages: 4 (scoop)'
    ++ set +f

  • string='Packages: 4 (scoop)'
    ++ strip_sequences 'Packages: 4 (scoop)'
    ++ strip='Packages: 4 (scoop)'
    ++ strip='Packages: 4 (scoop)'
    ++ strip='Packages: 4 (scoop)'
    ++ strip='Packages: 4 (scoop)'
    ++ strip='Packages: 4 (scoop)'
    ++ strip='Packages: 4 (scoop)'
    ++ printf '%s\n' 'Packages: 4 (scoop)'

  • length='Packages: 4 (scoop)'

  • length=19

  • string='Packages\e[0m\e[0m:\e[0m 4 (scoop)'

  • string='\e[1mPackages\e[0m\e[0m:\e[0m 4 (scoop)'

  • printf '%b\n' '\e[39C\e[1mPackages\e[0m\e[0m:\e[0m 4 (scoop)\e[0m '
    Packages: 4 (scoop)

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info Shell shell

  • [[ -n shell ]]

  • subtitle=Shell

  • unset -v prin

  • get_shell

  • case $shell_path in

  • shell='bash '

  • [[ on != on ]]

  • case ${shell_name:=${SHELL##*/}} in

  • [[ -n 5.2.15(1)-release ]]

  • shell+='5.2.15(1)'

  • shell='bash 5.2.15(1)'

  • shell='bash 5.2.15(1)'

  • shell='bash 5.2.15(1)'

  • shell='bash 5.2.15'

  • [[ -n '' ]]

  • [[ -n shell ]]
    ++ trim 'bash 5.2.15'
    ++ set -f
    ++ set -- bash 5.2.15
    ++ printf '%s\n' 'bash 5.2.15'
    ++ set +f

  • output='bash 5.2.15'

  • [[ -n shell ]]

  • [[ -n bash5.2.15 ]]

  • prin Shell 'bash 5.2.15'
    ++ trim Shell
    ++ set -f
    ++ set -- Shell
    ++ printf '%s\n' Shell
    ++ set +f

  • [[ -n Shell ]]

  • [[ -n bash 5.2.15 ]]

  • [[ -n '' ]]

  • string='Shell: bash 5.2.15'
    ++ trim 'Shell: bash 5.2.15'
    ++ set -f
    ++ set -- Shell: bash 5.2.15
    ++ printf '%s\n' 'Shell: bash 5.2.15'
    ++ set +f

  • string='Shell: bash 5.2.15'
    ++ strip_sequences 'Shell: bash 5.2.15'
    ++ strip='Shell: bash 5.2.15'
    ++ strip='Shell: bash 5.2.15'
    ++ strip='Shell: bash 5.2.15'
    ++ strip='Shell: bash 5.2.15'
    ++ strip='Shell: bash 5.2.15'
    ++ strip='Shell: bash 5.2.15'
    ++ printf '%s\n' 'Shell: bash 5.2.15'

  • length='Shell: bash 5.2.15'

  • length=18

  • string='Shell\e[0m\e[0m:\e[0m bash 5.2.15'

  • string='\e[1mShell\e[0m\e[0m:\e[0m bash 5.2.15'

  • printf '%b\n' '\e[39C\e[1mShell\e[0m\e[0m:\e[0m bash 5.2.15\e[0m '
    Shell: bash 5.2.15

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info Resolution resolution

  • [[ -n resolution ]]

  • subtitle=Resolution

  • unset -v prin

  • get_resolution

  • case $os in

  • IFS='
    '

  • read -d '' -ra sw
    ++ wmic path Win32_VideoController get CurrentHorizontalResolution

  • IFS='
    '

  • read -d '' -ra sh
    ++ wmic path Win32_VideoController get CurrentVerticalResolution

  • sw=("${sw[@]//CurrentHorizontalResolution}")

  • sh=("${sh[@]//CurrentVerticalResolution}")

  • (( mn = 0 ))

  • (( mn < 3 ))

  • [[ -n '' ]]

  • (( mn++ ))

  • (( mn < 3 ))

  • [[ -n 1920 ]]

  • [[ -n 1200 ]]

  • resolution+='1920x1200, '

  • (( mn++ ))

  • (( mn < 3 ))

  • [[ -n '' ]]

  • (( mn++ ))

  • (( mn < 3 ))

  • resolution='1920x1200, '

  • resolution=1920x1200

  • [[ -z 19201200 ]]

  • [[ -n '' ]]

  • [[ -n resolution ]]
    ++ trim 1920x1200
    ++ set -f
    ++ set -- 1920x1200
    ++ printf '%s\n' 1920x1200
    ++ set +f

  • output=1920x1200

  • [[ -n resolution ]]

  • [[ -n 1920x1200 ]]

  • prin Resolution 1920x1200
    ++ trim Resolution
    ++ set -f
    ++ set -- Resolution
    ++ printf '%s\n' Resolution
    ++ set +f

  • [[ -n Resolution ]]

  • [[ -n 1920x1200 ]]

  • [[ -n '' ]]

  • string='Resolution: 1920x1200'
    ++ trim 'Resolution: 1920x1200'
    ++ set -f
    ++ set -- Resolution: 1920x1200
    ++ printf '%s\n' 'Resolution: 1920x1200'
    ++ set +f

  • string='Resolution: 1920x1200'
    ++ strip_sequences 'Resolution: 1920x1200'
    ++ strip='Resolution: 1920x1200'
    ++ strip='Resolution: 1920x1200'
    ++ strip='Resolution: 1920x1200'
    ++ strip='Resolution: 1920x1200'
    ++ strip='Resolution: 1920x1200'
    ++ strip='Resolution: 1920x1200'
    ++ printf '%s\n' 'Resolution: 1920x1200'

  • length='Resolution: 1920x1200'

  • length=21

  • string='Resolution\e[0m\e[0m:\e[0m 1920x1200'

  • string='\e[1mResolution\e[0m\e[0m:\e[0m 1920x1200'

  • printf '%b\n' '\e[39C\e[1mResolution\e[0m\e[0m:\e[0m 1920x1200\e[0m '
    Resolution: 1920x1200

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info DE de

  • [[ -n de ]]

  • subtitle=DE

  • unset -v prin

  • get_de

  • (( de_run == 1 ))

  • case $os in

  • case $distro in

  • de=Aero

  • [[ -n '' ]]

  • case $de in

  • (( 0 >= 4 ))

  • [[ on == on ]]

  • [[ -n Aero ]]

  • case $de in

  • de_ver=

  • de_ver=

  • de_ver=

  • de_ver=

  • de_ver=

  • de_ver=

  • de_ver=

  • de='Aero '

  • de_run=1

  • [[ -n '' ]]

  • [[ -n de ]]
    ++ trim 'Aero '
    ++ set -f
    ++ set -- Aero
    ++ printf '%s\n' Aero
    ++ set +f

  • output=Aero

  • [[ -n de ]]

  • [[ -n Aero ]]

  • prin DE Aero
    ++ trim DE
    ++ set -f
    ++ set -- DE
    ++ printf '%s\n' DE
    ++ set +f

  • [[ -n DE ]]

  • [[ -n Aero ]]

  • [[ -n '' ]]

  • string='DE: Aero'
    ++ trim 'DE: Aero'
    ++ set -f
    ++ set -- DE: Aero
    ++ printf '%s\n' 'DE: Aero'
    ++ set +f

  • string='DE: Aero'
    ++ strip_sequences 'DE: Aero'
    ++ strip='DE: Aero'
    ++ strip='DE: Aero'
    ++ strip='DE: Aero'
    ++ strip='DE: Aero'
    ++ strip='DE: Aero'
    ++ strip='DE: Aero'
    ++ printf '%s\n' 'DE: Aero'

  • length='DE: Aero'

  • length=8

  • string='DE\e[0m\e[0m:\e[0m Aero'

  • string='\e[1mDE\e[0m\e[0m:\e[0m Aero'

  • printf '%b\n' '\e[39C\e[1mDE\e[0m\e[0m:\e[0m Aero\e[0m '
    DE: Aero

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info WM wm

  • [[ -n wm ]]

  • subtitle=WM

  • unset -v prin

  • get_wm

  • (( wm_run == 1 ))

  • case $kernel_name in

  • ps_flags=(-e)

  • [[ -n '' ]]

  • [[ -n '' ]]

  • case $os in
    ++ tasklist
    ++ grep -m 1 -o -F -e bugn -e Windawesome -e blackbox -e emerge -e litestep

  • wm=

  • [[ '' == blackbox ]]

  • wm=Explorer

  • [[ Explorer == WINDOWMAKER ]]

  • [[ Explorer == GNOMEShell* ]]

  • wm_run=1

  • [[ -n '' ]]

  • [[ -n wm ]]
    ++ trim Explorer
    ++ set -f
    ++ set -- Explorer
    ++ printf '%s\n' Explorer
    ++ set +f

  • output=Explorer

  • [[ -n wm ]]

  • [[ -n Explorer ]]

  • prin WM Explorer
    ++ trim WM
    ++ set -f
    ++ set -- WM
    ++ printf '%s\n' WM
    ++ set +f

  • [[ -n WM ]]

  • [[ -n Explorer ]]

  • [[ -n '' ]]

  • string='WM: Explorer'
    ++ trim 'WM: Explorer'
    ++ set -f
    ++ set -- WM: Explorer
    ++ printf '%s\n' 'WM: Explorer'
    ++ set +f

  • string='WM: Explorer'
    ++ strip_sequences 'WM: Explorer'
    ++ strip='WM: Explorer'
    ++ strip='WM: Explorer'
    ++ strip='WM: Explorer'
    ++ strip='WM: Explorer'
    ++ strip='WM: Explorer'
    ++ strip='WM: Explorer'
    ++ printf '%s\n' 'WM: Explorer'

  • length='WM: Explorer'

  • length=12

  • string='WM\e[0m\e[0m:\e[0m Explorer'

  • string='\e[1mWM\e[0m\e[0m:\e[0m Explorer'

  • printf '%b\n' '\e[39C\e[1mWM\e[0m\e[0m:\e[0m Explorer\e[0m '
    WM: Explorer

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info 'WM Theme' wm_theme

  • [[ -n wm_theme ]]

  • subtitle='WM Theme'

  • unset -v prin

  • get_wm_theme

  • (( wm_run != 1 ))

  • (( de_run != 1 ))

  • case $wm in

  • path=/proc/registry/HKEY_CURRENT_USER/Software/Microsoft

  • path+=/Windows/CurrentVersion/Themes/CurrentTheme
    ++ head -n1 /proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Themes/CurrentTheme
    C:\Users\Heartbroken\scoop\apps\neofetch\current\neofetch: line 2050: warning: command substitution: ignored null byte in input

  • wm_theme='C:\Users\Heartbroken\AppData\Local\Microsoft\Windows\Themes\Custom.theme'

  • wm_theme=Custom.theme

  • wm_theme=Custom
    ++ trim_quotes Custom
    ++ trim_output=Custom
    ++ trim_output=Custom
    ++ printf %s Custom

  • wm_theme=Custom

  • [[ -n '' ]]

  • [[ -n wm_theme ]]
    ++ trim Custom
    ++ set -f
    ++ set -- Custom
    ++ printf '%s\n' Custom
    ++ set +f

  • output=Custom

  • [[ -n wm_theme ]]

  • [[ -n Custom ]]

  • prin 'WM Theme' Custom
    ++ trim 'WM Theme'
    ++ set -f
    ++ set -- WM Theme
    ++ printf '%s\n' 'WM Theme'
    ++ set +f

  • [[ -n WM Theme ]]

  • [[ -n Custom ]]

  • [[ -n '' ]]

  • string='WM Theme: Custom'
    ++ trim 'WM Theme: Custom'
    ++ set -f
    ++ set -- WM Theme: Custom
    ++ printf '%s\n' 'WM Theme: Custom'
    ++ set +f

  • string='WM Theme: Custom'
    ++ strip_sequences 'WM Theme: Custom'
    ++ strip='WM Theme: Custom'
    ++ strip='WM Theme: Custom'
    ++ strip='WM Theme: Custom'
    ++ strip='WM Theme: Custom'
    ++ strip='WM Theme: Custom'
    ++ strip='WM Theme: Custom'
    ++ printf '%s\n' 'WM Theme: Custom'

  • length='WM Theme: Custom'

  • length=16

  • string='WM Theme\e[0m\e[0m:\e[0m Custom'

  • string='\e[1mWM Theme\e[0m\e[0m:\e[0m Custom'

  • printf '%b\n' '\e[39C\e[1mWM Theme\e[0m\e[0m:\e[0m Custom\e[0m '
    WM Theme: Custom

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info Theme theme

  • [[ -n theme ]]

  • subtitle=Theme

  • unset -v prin

  • get_theme

  • name=gtk-theme-name

  • gsettings=gtk-theme

  • gconf=gtk_theme

  • xfconf=/Net/ThemeName

  • kde=Name

  • get_style

  • unset gtk2_theme gtk3_theme theme path

  • [[ -n '' ]]

  • [[ -n '' ]]

  • [[ -n theme ]]
    ++ trim ''
    ++ set -f
    ++ set --
    ++ printf '%s\n' ''
    ++ set +f

  • output=

  • [[ -n theme ]]

  • [[ -n '' ]]

  • [[ -n '' ]]

  • err 'Info: Couldn'''t detect Theme.'
    ++ color 1
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 1

  • err+='[!]\e[0m Info: Couldn'''t detect Theme.
    '

  • unset -v subtitle

  • info Icons icons

  • [[ -n icons ]]

  • subtitle=Icons

  • unset -v prin

  • get_icons

  • name=gtk-icon-theme-name

  • gsettings=icon-theme

  • gconf=icon_theme

  • xfconf=/Net/IconThemeName

  • kde=Theme

  • get_style

  • unset gtk2_theme gtk3_theme theme path

  • [[ -n '' ]]

  • icons=

  • [[ -n '' ]]

  • [[ -n icons ]]
    ++ trim ''
    ++ set -f
    ++ set --
    ++ printf '%s\n' ''
    ++ set +f

  • output=

  • [[ -n icons ]]

  • [[ -n '' ]]

  • [[ -n '' ]]

  • err 'Info: Couldn'''t detect Icons.'
    ++ color 1
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 1

  • err+='[!]\e[0m Info: Couldn'''t detect Icons.
    '

  • unset -v subtitle

  • info Terminal term

  • [[ -n term ]]

  • subtitle=Terminal

  • unset -v prin

  • get_term

  • (( term_run == 1 ))

  • case $TERM_PROGRAM in

  • term=

  • [[ xterm-256color == \t\w\5\2 ]]

  • [[ xterm-256color == \t\w\1\0\0 ]]

  • [[ -n '' ]]

  • [[ -n '' ]]

  • [[ -z '' ]]
    ++ get_ppid ''
    ++ case $os in
    +++ ps -p 1
    +++ awk '{printf $2}'
    ++ ppid=PPID
    ++ ppid=
    ++ printf %s ''

  • parent=

  • [[ -z '' ]]

  • break

  • term_run=1

  • [[ -n '' ]]

  • [[ -n term ]]
    ++ trim ''
    ++ set -f
    ++ set --
    ++ printf '%s\n' ''
    ++ set +f

  • output=

  • [[ -n term ]]

  • [[ -n '' ]]

  • [[ -n '' ]]

  • err 'Info: Couldn'''t detect Terminal.'
    ++ color 1
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 1

  • err+='[!]\e[0m Info: Couldn'''t detect Terminal.
    '

  • unset -v subtitle

  • info 'Terminal Font' term_font

  • [[ -n term_font ]]

  • subtitle='Terminal Font'

  • unset -v prin

  • get_term_font

  • (( term_run != 1 ))

  • case $term in

  • [[ -n '' ]]

  • [[ -n term_font ]]
    ++ trim ''
    ++ set -f
    ++ set --
    ++ printf '%s\n' ''
    ++ set +f

  • output=

  • [[ -n term_font ]]

  • [[ -n '' ]]

  • [[ -n '' ]]

  • err 'Info: Couldn'''t detect Terminal Font.'
    ++ color 1
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 1

  • err+='[!]\e[0m Info: Couldn'''t detect Terminal Font.
    '

  • unset -v subtitle

  • info CPU cpu

  • [[ -n cpu ]]

  • subtitle=CPU

  • unset -v prin

  • get_cpu

  • case $os in

  • cpu_file=/proc/cpuinfo

  • case $kernel_machine in
    ++ awk -F '\s*: | @' '/model name|Hardware|Processor|^cpu model|chip type|^cpu type/ {
    cpu=$2; if ($1 == "Hardware") exit } END { print cpu }' /proc/cpuinfo

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • speed_dir=/sys/devices/system/cpu/cpu0/cpufreq

  • for temp_dir in /sys/class/hwmon/*
    C:\Users\Heartbroken\scoop\apps\neofetch\current\neofetch: line 2100: /sys/class/hwmon/*/name: No such file or directory

  • [[ '' =~ (coretemp|fam15h_power|k10temp) ]]

  • [[ -d /sys/devices/system/cpu/cpu0/cpufreq ]]
    ++ awk -F ': |\.' '/cpu MHz|^clock/ {printf $2; exit}' /proc/cpuinfo

  • speed=2700

  • speed=2700

  • [[ -f /sys/class/hwmon/* ]]

  • case $cpu_cores in
    ++ grep -c '^processor' /proc/cpuinfo

  • cores=16

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics '

  • cores=16

  • speed=2700

  • [[ on == \o\f\f ]]

  • [[ logical != \o\f\f ]]

  • [[ -n 16 ]]

  • case $os in

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics (16)'

  • [[ on != \o\f\f ]]

  • [[ -n 2700 ]]

  • (( speed < 1000 ))

  • [[ off == \o\n ]]

  • speed=2.700

  • cpu='AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'

  • [[ off != \o\f\f ]]

  • [[ -n '' ]]

  • [[ -n cpu ]]
    ++ trim 'AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ set -f
    ++ set -- AMD Ryzen 7 PRO 6850U with Radeon Graphics '(16)' @ 2.700GHz
    ++ printf '%s\n' 'AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ set +f

  • output='AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'

  • [[ -n cpu ]]

  • [[ -n AMDRyzen7PRO6850UwithRadeonGraphics(16)@2.700GHz ]]

  • prin CPU 'AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ trim CPU
    ++ set -f
    ++ set -- CPU
    ++ printf '%s\n' CPU
    ++ set +f

  • [[ -n CPU ]]

  • [[ -n AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz ]]

  • [[ -n '' ]]

  • string='CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ trim 'CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ set -f
    ++ set -- CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics '(16)' @ 2.700GHz
    ++ printf '%s\n' 'CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ set +f

  • string='CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ strip_sequences 'CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ strip='CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ strip='CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ strip='CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ strip='CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ strip='CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ strip='CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'
    ++ printf '%s\n' 'CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'

  • length='CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'

  • length=63

  • string='CPU\e[0m\e[0m:\e[0m AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'

  • string='\e[1mCPU\e[0m\e[0m:\e[0m AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz'

  • printf '%b\n' '\e[39C\e[1mCPU\e[0m\e[0m:\e[0m AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz\e[0m '
    CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info GPU gpu

  • [[ -n gpu ]]

  • subtitle=GPU

  • unset -v prin

  • get_gpu

  • case $os in
    ++ wmic path Win32_VideoController get caption

  • read -r line
    '+ trim 'Caption
    ++ set -f
    ++ set -- Caption $'\r\r'
    ++ printf '%s\n' 'Caption '
    ++ set +f

  • prin GPU 'Caption '
    ++ trim GPU
    ++ set -f
    ++ set -- GPU
    ++ printf '%s\n' GPU
    ++ set +f

  • [[ -n GPU ]]

  • [[ -n Caption ]]

  • [[ -n '' ]]

  • string='GPU: Caption '
    ++ trim 'GPU: Caption '
    ++ set -f
    ++ set -- GPU: Caption
    ++ printf '%s\n' 'GPU: Caption'
    ++ set +f

  • string='GPU: Caption'
    ++ strip_sequences 'GPU: Caption'
    ++ strip='GPU: Caption'
    ++ strip='GPU: Caption'
    ++ strip='GPU: Caption'
    ++ strip='GPU: Caption'
    ++ strip='GPU: Caption'
    ++ strip='GPU: Caption'
    ++ printf '%s\n' 'GPU: Caption'

  • length='GPU: Caption'

  • length=12

  • string='GPU\e[0m\e[0m:\e[0m Caption'

  • string='\e[1mGPU\e[0m\e[0m:\e[0m Caption'

  • printf '%b\n' '\e[39C\e[1mGPU\e[0m\e[0m:\e[0m Caption\e[0m '
    GPU: Caption

  • (( ++info_height ))

  • prin=1

  • read -r line
    '+ trim 'AMD Radeon(TM) Graphics
    ++ set -f
    ++ set -- AMD 'Radeon(TM)' Graphics $'\r\r'
    ++ printf '%s\n' 'AMD Radeon(TM) Graphics '
    ++ set +f

  • prin GPU 'AMD Radeon(TM) Graphics '
    ++ trim GPU
    ++ set -f
    ++ set -- GPU
    ++ printf '%s\n' GPU
    ++ set +f

  • [[ -n GPU ]]

  • [[ -n AMD Radeon(TM) Graphics ]]

  • [[ -n '' ]]

  • string='GPU: AMD Radeon(TM) Graphics '
    ++ trim 'GPU: AMD Radeon(TM) Graphics '
    ++ set -f
    ++ set -- GPU: AMD 'Radeon(TM)' Graphics
    ++ printf '%s\n' 'GPU: AMD Radeon(TM) Graphics'
    ++ set +f

  • string='GPU: AMD Radeon(TM) Graphics'
    ++ strip_sequences 'GPU: AMD Radeon(TM) Graphics'
    ++ strip='GPU: AMD Radeon(TM) Graphics'
    ++ strip='GPU: AMD Radeon(TM) Graphics'
    ++ strip='GPU: AMD Radeon(TM) Graphics'
    ++ strip='GPU: AMD Radeon(TM) Graphics'
    ++ strip='GPU: AMD Radeon(TM) Graphics'
    ++ strip='GPU: AMD Radeon(TM) Graphics'
    ++ printf '%s\n' 'GPU: AMD Radeon(TM) Graphics'

  • length='GPU: AMD Radeon(TM) Graphics'

  • length=28

  • string='GPU\e[0m\e[0m:\e[0m AMD Radeon(TM) Graphics'

  • string='\e[1mGPU\e[0m\e[0m:\e[0m AMD Radeon(TM) Graphics'

  • printf '%b\n' '\e[39C\e[1mGPU\e[0m\e[0m:\e[0m AMD Radeon(TM) Graphics\e[0m '
    GPU: AMD Radeon(TM) Graphics

  • (( ++info_height ))

  • prin=1

  • read -r line
    ++ trim $'\r\r'
    ++ set -f
    ++ set -- $'\r\r'
    ++ printf '%s\n' ''
    ++ set +f

  • prin GPU ''
    ++ trim GPU
    ++ set -f
    ++ set -- GPU
    ++ printf '%s\n' GPU
    ++ set +f

  • [[ -n GPU ]]

  • [[ -n '' ]]

  • string=GPU

  • local 'subtitle_color=\e[0m'
    ++ trim GPU
    ++ set -f
    ++ set -- GPU
    ++ printf '%s\n' GPU
    ++ set +f

  • string=GPU
    ++ strip_sequences GPU
    ++ strip=GPU
    ++ strip=GPU
    ++ strip=GPU
    ++ strip=GPU
    ++ strip=GPU
    ++ strip=GPU
    ++ printf '%s\n' GPU

  • length=GPU

  • length=3

  • string=GPU

  • string='\e[0m\e[1mGPU'

  • printf '%b\n' '\e[39C\e[0m\e[1mGPU\e[0m '
    GPU

  • (( ++info_height ))

  • prin=1

  • read -r line

  • gpu=

  • [[ on == \o\f\f ]]

  • [[ -n 1 ]]

  • return

  • info Memory memory

  • [[ -n memory ]]

  • subtitle=Memory

  • unset -v prin

  • get_memory

  • case $os in

  • IFS=:

  • read -r a b

  • case $a in

  • (( mem_used+= 32264524 ))

  • mem_total=' 32264524 '

  • IFS=:

  • read -r a b

  • case $a in

  • mem_used=7705880

  • IFS=:

  • read -r a b

  • case $a in

  • IFS=:

  • read -r a b

  • case $a in

  • IFS=:

  • read -r a b

  • case $a in

  • IFS=:

  • read -r a b

  • case $a in

  • IFS=:

  • read -r a b

  • case $a in

  • IFS=:

  • read -r a b

  • case $a in

  • IFS=:

  • read -r a b

  • mem_used=7525

  • mem_total=31508

  • [[ off == \o\n ]]

  • case $memory_unit in

  • memory='7525MiB / 31508MiB '

  • case $memory_display in

  • [[ -n '' ]]

  • [[ -n memory ]]
    ++ trim '7525MiB / 31508MiB '
    ++ set -f
    ++ set -- 7525MiB / 31508MiB
    ++ printf '%s\n' '7525MiB / 31508MiB'
    ++ set +f

  • output='7525MiB / 31508MiB'

  • [[ -n memory ]]

  • [[ -n 7525MiB/31508MiB ]]

  • prin Memory '7525MiB / 31508MiB'
    ++ trim Memory
    ++ set -f
    ++ set -- Memory
    ++ printf '%s\n' Memory
    ++ set +f

  • [[ -n Memory ]]

  • [[ -n 7525MiB / 31508MiB ]]

  • [[ -n '' ]]

  • string='Memory: 7525MiB / 31508MiB'
    ++ trim 'Memory: 7525MiB / 31508MiB'
    ++ set -f
    ++ set -- Memory: 7525MiB / 31508MiB
    ++ printf '%s\n' 'Memory: 7525MiB / 31508MiB'
    ++ set +f

  • string='Memory: 7525MiB / 31508MiB'
    ++ strip_sequences 'Memory: 7525MiB / 31508MiB'
    ++ strip='Memory: 7525MiB / 31508MiB'
    ++ strip='Memory: 7525MiB / 31508MiB'
    ++ strip='Memory: 7525MiB / 31508MiB'
    ++ strip='Memory: 7525MiB / 31508MiB'
    ++ strip='Memory: 7525MiB / 31508MiB'
    ++ strip='Memory: 7525MiB / 31508MiB'
    ++ printf '%s\n' 'Memory: 7525MiB / 31508MiB'

  • length='Memory: 7525MiB / 31508MiB'

  • length=26

  • string='Memory\e[0m\e[0m:\e[0m 7525MiB / 31508MiB'

  • string='\e[1mMemory\e[0m\e[0m:\e[0m 7525MiB / 31508MiB'

  • printf '%b\n' '\e[39C\e[1mMemory\e[0m\e[0m:\e[0m 7525MiB / 31508MiB\e[0m '
    Memory: 7525MiB / 31508MiB

  • (( ++info_height ))

  • prin=1

  • unset -v subtitle

  • info cols

  • [[ -n '' ]]

  • unset -v prin

  • get_cols

  • local blocks blocks2 cols

  • [[ on == \o\n ]]

  • printf -v block_width %3s

  • (( block_range[0] ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks '%b\e[3%bm\e[4%bm%b' '' 0 0 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks '%b\e[3%bm\e[4%bm%b' ' ' 1 1 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks '%b\e[3%bm\e[4%bm%b' ' ' 2 2 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks '%b\e[3%bm\e[4%bm%b' ' ' 3 3 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks '%b\e[3%bm\e[4%bm%b' ' ' 4 4 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks '%b\e[3%bm\e[4%bm%b' ' ' 5 5 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks '%b\e[3%bm\e[4%bm%b' ' ' 6 6 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks '%b\e[3%bm\e[4%bm%b' ' ' 7 7 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '' 8 8 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' ' ' 9 9 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' ' ' 10 10 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' ' ' 11 11 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' ' ' 12 12 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' ' ' 13 13 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' ' ' 14 14 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • case ${block_range[0]} in

  • printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' ' ' 15 15 ' '

  • (( block_range[0]++ ))

  • (( block_range[0]<=block_range[1] ))

  • printf -v block_spaces %1s

  • [[ -n ]]

  • cols+=' nl'

  • [[ -n ]]

  • cols+=' nl'

  • cols=' nl '

  • cols='
    '

  • (( info_height+=block_range[1]>7?block_height+3:block_height+2 ))

  • case $col_offset in

  • printf '\n\e[%bC%b\n\n' 39 '
    '

  • unset -v blocks blocks2 cols

  • prin=1

  • [[ -n 1 ]]

  • return

  • dynamic_prompt

  • [[ ascii == \o\f\f ]]

  • [[ ascii != \a\s\c\i\i ]]

  • [[ ascii == \w\3\m ]]

  • (( lines=lines>info_height?lines-info_height+1:1 ))

  • printf -v nlines %1s

  • printf %b '\n'

  • [[ ascii == w3m ]]

  • err 'Neofetch command: C:\Users\Heartbroken\scoop\apps\neofetch\current\neofetch -vv'
    ++ color 1
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 1

  • err+='[!]\e[0m Neofetch command: C:\Users\Heartbroken\scoop\apps\neofetch\current\neofetch -vv
    '

  • err 'Neofetch version: 7.1.0'
    ++ color 1
    ++ case $1 in
    ++ printf '%b\e[3%sm' '\e[0m' 1

  • err+='[!]\e[0m Neofetch version: 7.1.0
    '

  • [[ on == on ]]

  • printf %b '[!]\e[0m Config: Sourced user config. (/c/Users/Heartbroken/.config/neofetch/config.conf)
    [!]\e[0m Info: Couldn'''t detect Theme.
    [!]\e[0m Info: Couldn'''t detect Icons.
    [!]\e[0m Info: Couldn'''t detect Terminal.
    [!]\e[0m Info: Couldn'''t detect Terminal Font.
    [!]\e[0m Neofetch command: C:\Users\Heartbroken\scoop\apps\neofetch\current\neofetch -vv
    [!]\e[0m Neofetch version: 7.1.0
    '
    C:\Users\Heartbroken\scoop\apps\neofetch\current\neofetch: line 10561: printf: missing unicode digit for \U
    [!] Config: Sourced user config. (/c/Users/Heartbroken/.config/neofetch/config.conf)
    [!] Info: Couldn't detect Theme.
    [!] Info: Couldn't detect Icons.
    [!] Info: Couldn't detect Terminal.
    [!] Info: Couldn't detect Terminal Font.
    [!] Neofetch command: C:\Users\Heartbroken\scooppps
    eofetch+ [[ off == on ]]

  • return 0

  • printf '\e[?25h\e[?7h'

@IDKnix
Copy link

IDKnix commented Apr 4, 2024

no ones readin allat

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants