Skip to content

Instantly share code, notes, and snippets.

@lolpro11
Created February 19, 2022 03:01
Show Gist options
  • Save lolpro11/5a5953e61d6f3063cbb39e929de41e77 to your computer and use it in GitHub Desktop.
Save lolpro11/5a5953e61d6f3063cbb39e929de41e77 to your computer and use it in GitHub Desktop.
Neofetch Arch Linux ARM CX II CAS
+ 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
+ [[ -f /bedrock/etc/bedrock-release ]]
+ [[ -f /etc/redstar-release ]]
+ [[ -f /etc/siduction-version ]]
+ [[ -f /etc/mcst_version ]]
+ type -p pveversion
+ type -p lsb_release
+ [[ -f /etc/os-release ]]
+ for file in /etc/lsb-release /usr/lib/os-release /etc/os-release /etc/openwrt_release
+ source /etc/lsb-release
/usr/bin/neofetch: line 1007: /etc/lsb-release: No such file or directory
+ for file in /etc/lsb-release /usr/lib/os-release /etc/os-release /etc/openwrt_release
+ source /usr/lib/os-release
++ NAME='Arch Linux ARM'
++ PRETTY_NAME='Arch Linux ARM'
++ ID=archarm
++ ID_LIKE=arch
++ BUILD_ID=rolling
++ ANSI_COLOR='38;2;23;147;209'
++ HOME_URL=https://archlinuxarm.org/
++ DOCUMENTATION_URL=https://archlinuxarm.org/wiki
++ SUPPORT_URL=https://archlinuxarm.org/forum
++ BUG_REPORT_URL=https://github.com/archlinuxarm/PKGBUILDs/issues
++ LOGO=archlinux-logo
+ break
+ case $distro_shorthand in
+ distro='Arch Linux ARM '
+ [[ Linux version 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty ([email protected]) (arm-none-eabi-gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #238 Fri Oct 1 22:46:18 CEST 2021 == *Microsoft* ]]
+ [[ 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty == *Microsoft* ]]
+ [[ Linux version 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty ([email protected]) (arm-none-eabi-gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #238 Fri Oct 1 22:46:18 CEST 2021 == *chrome-bot* ]]
+ [[ -f /dev/cros_ec ]]
++ trim_quotes 'Arch Linux ARM '
++ trim_output='Arch Linux ARM '
++ trim_output='Arch Linux ARM '
++ printf %s 'Arch Linux ARM '
+ distro='Arch Linux ARM '
+ distro='Arch Linux ARM '
+ [[ Arch Linux ARM == \U\b\u\n\t\u* ]]
+ distro='Arch Linux ARM '
+ [[ -n Arch Linux ARM ]]
+ case $os in
+ machine_arch=armv5tejl
+ [[ on == on ]]
+ distro+=' armv5tejl'
+ [[ auto == auto ]]
++ trim 'Arch Linux ARM armv5tejl'
++ set -f
++ set -- Arch Linux ARM armv5tejl
++ printf '%s\n' 'Arch Linux ARM armv5tejl'
++ set +f
+ ascii_distro='Arch Linux ARM armv5tejl'
+ 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 'Arch Linux ARM armv5tejl'
++ set -f
++ set -- Arch Linux ARM armv5tejl
++ printf '%s\n' 'Arch Linux ARM armv5tejl'
++ set +f
+ set_colors 6 6 7 1
++ color 6
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 6
+ c1='\e[1m'
++ color 6
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 6
+ c2='\e[1m'
++ color 7
++ case $1 in
++ printf '\e[37m%b' '\e[0m'
+ c3='\e[1m'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ 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 6 6 7 1
+ [[ distro == \d\i\s\t\r\o ]]
++ color 6
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 6
+ title_color=''
+ at_color='\e[0m'
+ underline_color='\e[0m'
++ color 6
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 6
+ subtitle_color=''
+ colon_color='\e[0m'
+ info_color='\e[0m'
+ (( 6 == 8 ))
+ (( 6 == 8 ))
+ (( 6 == 7 ))
+ (( 6 == 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 6
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 6
+ bar_color_total=''
+ read -rd '' ascii_data
+ [[ distro != distro ]]
+ [[ off == on ]]
+ [[ linux != minix ]]
+ [[ off != on ]]
+ trap 'printf "\e[?25h\e[?7h"' EXIT
+ printf '\e[?25l\e[?7l'
+ image_backend
+ [[ ascii != \o\f\f ]]
+ type -p convert
+ image_backend=ascii
+ err 'Image: Imagemagick not found, falling back to ascii mode.'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Image: Imagemagick not found, falling back to ascii mode.
'
+ 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=' -`'
+ line=' -`'
+ (( ++lines,21>ascii_len ))
+ ascii_len=21
+ IFS='
'
+ read -r line
+ line=' .o+`'
+ line=' .o+`'
+ (( ++lines,22>ascii_len ))
+ ascii_len=22
+ IFS='
'
+ read -r line
+ line=' `ooo/'
+ line=' `ooo/'
+ (( ++lines,22>ascii_len ))
+ IFS='
'
+ read -r line
+ line=' `+oooo:'
+ line=' `+oooo:'
+ (( ++lines,23>ascii_len ))
+ ascii_len=23
+ IFS='
'
+ read -r line
+ line=' `+oooooo:'
+ line=' `+oooooo:'
+ (( ++lines,24>ascii_len ))
+ ascii_len=24
+ IFS='
'
+ read -r line
+ line=' -+oooooo+:'
+ line=' -+oooooo+:'
+ (( ++lines,25>ascii_len ))
+ ascii_len=25
+ IFS='
'
+ read -r line
+ line=' `/:-:++oooo+:'
+ line=' `/:-:++oooo+:'
+ (( ++lines,26>ascii_len ))
+ ascii_len=26
+ IFS='
'
+ read -r line
+ line=' `/++++/+++++++:'
+ line=' `/++++/+++++++:'
+ (( ++lines,27>ascii_len ))
+ ascii_len=27
+ IFS='
'
+ read -r line
+ line=' `/++++++++++++++:'
+ line=' `/++++++++++++++:'
+ (( ++lines,28>ascii_len ))
+ ascii_len=28
+ IFS='
'
+ read -r line
+ line=' `/+++ooooooooooooo/`'
+ line=' `/+++ooooooooooooo/`'
+ (( ++lines,30>ascii_len ))
+ ascii_len=30
+ IFS='
'
+ read -r line
+ line=' ./ooosssso++osssssso+`'
+ line=' ./ooosssso++osssssso+`'
+ (( ++lines,31>ascii_len ))
+ ascii_len=31
+ IFS='
'
+ read -r line
+ line=' .oossssso-````/ossssss+`'
+ line=' .oossssso-````/ossssss+`'
+ (( ++lines,32>ascii_len ))
+ ascii_len=32
+ IFS='
'
+ read -r line
+ line=' -osssssso. :ssssssso.'
+ line=' -osssssso. :ssssssso.'
+ (( ++lines,33>ascii_len ))
+ ascii_len=33
+ IFS='
'
+ read -r line
+ line=' :osssssss/ osssso+++.'
+ line=' :osssssss/ osssso+++.'
+ (( ++lines,34>ascii_len ))
+ ascii_len=34
+ IFS='
'
+ read -r line
+ line=' /ossssssss/ +ssssooo/-'
+ line=' /ossssssss/ +ssssooo/-'
+ (( ++lines,34>ascii_len ))
+ IFS='
'
+ read -r line
+ line=' `/ossssso+/:- -:/+osssso+-'
+ line=' `/ossssso+/:- -:/+osssso+-'
+ (( ++lines,36>ascii_len ))
+ ascii_len=36
+ IFS='
'
+ read -r line
+ line=' `+sso+:-` `.-/+oso:'
+ line=' `+sso+:-` `.-/+oso:'
+ (( ++lines,37>ascii_len ))
+ ascii_len=37
+ IFS='
'
+ read -r line
+ line=' `++:. `-/+/'
+ line=' `++:. `-/+/'
+ (( ++lines,38>ascii_len ))
+ ascii_len=38
+ IFS='
'
+ read -r line
+ line=' .` `/'
+ line=' .` `/'
+ (( ++lines,38>ascii_len ))
+ IFS='
'
+ read -r line
+ (( lines==1 ))
+ ascii_data='\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o${c2}oooooooo\e[1moooo/`
${c2} \e[1m./${c2}ooosssso++osssssso\e[1m+`
${c2} .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/'
+ ascii_data='\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o\e[1moooooooo\e[1moooo/`
\e[1m \e[1m./\e[1mooosssso++osssssso\e[1m+`
\e[1m .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/'
+ ascii_data='\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o\e[1moooooooo\e[1moooo/`
\e[1m \e[1m./\e[1mooosssso++osssssso\e[1m+`
\e[1m .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/'
+ ascii_data='\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o\e[1moooooooo\e[1moooo/`
\e[1m \e[1m./\e[1mooosssso++osssssso\e[1m+`
\e[1m .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/'
+ ascii_data='\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o\e[1moooooooo\e[1moooo/`
\e[1m \e[1m./\e[1mooosssso++osssssso\e[1m+`
\e[1m .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/'
+ ascii_data='\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o\e[1moooooooo\e[1moooo/`
\e[1m \e[1m./\e[1mooosssso++osssssso\e[1m+`
\e[1m .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/'
+ (( text_padding=ascii_len+gap ))
+ printf '%b\n' '\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o\e[1moooooooo\e[1moooo/`
\e[1m \e[1m./\e[1mooosssso++osssssso\e[1m+`
\e[1m .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/\e[0m'
+ LC_ALL=C
+ [[ ascii != \o\f\f ]]
+ printf '\e[%sA\e[9999999D' 19
+ get_cache_dir
+ case $os in
+ cache_dir=/tmp
+ old_functions
+ print_info
+ info title
+ [[ -n '' ]]
+ unset -v prin
+ get_title
+ user=alarm
+ case $title_fqdn in
+ hostname=alarm
+ title='\e[1malarm\e[0m@\e[1malarm'
+ length=11
+ [[ -n '' ]]
+ [[ -n '' ]]
++ trim '\e[1malarm\e[0m@\e[1malarm'
++ set -f
++ set -- '\e[1malarm\e[0m@\e[1malarm'
++ printf '%s\n' '\e[1malarm\e[0m@\e[1malarm'
++ set +f
+ output='\e[1malarm\e[0m@\e[1malarm'
+ [[ -n '' ]]
+ [[ -n \e[1malarm\e[0m@\e[1malarm ]]
+ prin '\e[1malarm\e[0m@\e[1malarm'
++ trim '\e[1malarm\e[0m@\e[1malarm'
++ set -f
++ set -- '\e[1malarm\e[0m@\e[1malarm'
++ printf '%s\n' '\e[1malarm\e[0m@\e[1malarm'
++ set +f
+ [[ -n \e[1malarm\e[0m@\e[1malarm ]]
+ [[ -n '' ]]
+ string='\e[1malarm\e[0m@\e[1malarm'
+ local 'subtitle_color=\e[0m'
++ trim '\e[1malarm\e[0m@\e[1malarm'
++ set -f
++ set -- '\e[1malarm\e[0m@\e[1malarm'
++ printf '%s\n' '\e[1malarm\e[0m@\e[1malarm'
++ set +f
+ string='\e[1malarm\e[0m@\e[1malarm'
++ strip_sequences '\e[1malarm\e[0m@\e[1malarm'
++ strip='\e[1malarm\e[0m@\e[1malarm'
++ strip='\e[1malarm\e[0m@\e[1malarm'
++ strip=alarm@alarm
++ strip=alarm@alarm
++ strip=alarm@alarm
++ strip=alarm@alarm
++ printf '%s\n' alarm@alarm
+ length=alarm@alarm
+ length=11
+ string='\e[1malarm\e[0m@\e[1malarm'
+ string='\e[0m\e[1m\e[1malarm\e[0m@\e[1malarm'
+ printf '%b\n' '\e[41C\e[0m\e[1m\e[1malarm\e[0m@\e[1malarm\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info underline
+ [[ -n '' ]]
+ unset -v prin
+ get_underline
+ [[ on == \o\n ]]
+ printf -v underline %11s
+ printf '%b%b\n' '\e[41C\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 Arch Linux ARM armv5tejl ]]
+ return
+ [[ -n '' ]]
+ [[ -n distro ]]
++ trim 'Arch Linux ARM armv5tejl'
++ set -f
++ set -- Arch Linux ARM armv5tejl
++ printf '%s\n' 'Arch Linux ARM armv5tejl'
++ set +f
+ output='Arch Linux ARM armv5tejl'
+ [[ -n distro ]]
+ [[ -n ArchLinuxARMarmv5tejl ]]
+ prin OS 'Arch Linux ARM armv5tejl'
++ trim OS
++ set -f
++ set -- OS
++ printf '%s\n' OS
++ set +f
+ [[ -n OS ]]
+ [[ -n Arch Linux ARM armv5tejl ]]
+ [[ -n '' ]]
+ string='OS: Arch Linux ARM armv5tejl'
++ trim 'OS: Arch Linux ARM armv5tejl'
++ set -f
++ set -- OS: Arch Linux ARM armv5tejl
++ printf '%s\n' 'OS: Arch Linux ARM armv5tejl'
++ set +f
+ string='OS: Arch Linux ARM armv5tejl'
++ strip_sequences 'OS: Arch Linux ARM armv5tejl'
++ strip='OS: Arch Linux ARM armv5tejl'
++ strip='OS: Arch Linux ARM armv5tejl'
++ strip='OS: Arch Linux ARM armv5tejl'
++ strip='OS: Arch Linux ARM armv5tejl'
++ strip='OS: Arch Linux ARM armv5tejl'
++ strip='OS: Arch Linux ARM armv5tejl'
++ printf '%s\n' 'OS: Arch Linux ARM armv5tejl'
+ length='OS: Arch Linux ARM armv5tejl'
+ length=28
+ string='OS\e[0m\e[0m:\e[0m Arch Linux ARM armv5tejl'
+ string='\e[1mOS\e[0m\e[0m:\e[0m Arch Linux ARM armv5tejl'
+ printf '%b\n' '\e[41C\e[1mOS\e[0m\e[0m:\e[0m Arch Linux ARM armv5tejl\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info Host model
+ [[ -n model ]]
+ subtitle=Host
+ unset -v prin
+ get_model
+ case $os in
+ [[ -d /system/app/ ]]
+ [[ -f /sys/devices/virtual/dmi/id/product_name ]]
+ [[ -f /sys/devices/virtual/dmi/id/product_version ]]
+ [[ -f /sys/firmware/devicetree/base/model ]]
/usr/bin/neofetch: line 1222: warning: command substitution: ignored null byte in input
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ model='TI-NSPIRE CX II'
+ case $model in
+ [[ -n '' ]]
+ [[ -n model ]]
++ trim 'TI-NSPIRE CX II'
++ set -f
++ set -- TI-NSPIRE CX II
++ printf '%s\n' 'TI-NSPIRE CX II'
++ set +f
+ output='TI-NSPIRE CX II'
+ [[ -n model ]]
+ [[ -n TI-NSPIRECXII ]]
+ prin Host 'TI-NSPIRE CX II'
++ trim Host
++ set -f
++ set -- Host
++ printf '%s\n' Host
++ set +f
+ [[ -n Host ]]
+ [[ -n TI-NSPIRE CX II ]]
+ [[ -n '' ]]
+ string='Host: TI-NSPIRE CX II'
++ trim 'Host: TI-NSPIRE CX II'
++ set -f
++ set -- Host: TI-NSPIRE CX II
++ printf '%s\n' 'Host: TI-NSPIRE CX II'
++ set +f
+ string='Host: TI-NSPIRE CX II'
++ strip_sequences 'Host: TI-NSPIRE CX II'
++ strip='Host: TI-NSPIRE CX II'
++ strip='Host: TI-NSPIRE CX II'
++ strip='Host: TI-NSPIRE CX II'
++ strip='Host: TI-NSPIRE CX II'
++ strip='Host: TI-NSPIRE CX II'
++ strip='Host: TI-NSPIRE CX II'
++ printf '%s\n' 'Host: TI-NSPIRE CX II'
+ length='Host: TI-NSPIRE CX II'
+ length=21
+ string='Host\e[0m\e[0m:\e[0m TI-NSPIRE CX II'
+ string='\e[1mHost\e[0m\e[0m:\e[0m TI-NSPIRE CX II'
+ printf '%b\n' '\e[41C\e[1mHost\e[0m\e[0m:\e[0m TI-NSPIRE CX II\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info Kernel kernel
+ [[ -n kernel ]]
+ subtitle=Kernel
+ unset -v prin
+ get_kernel
+ [[ Linux =~ (AIX|IRIX) ]]
+ [[ Linux == Haiku ]]
+ [[ Linux == Windows ]]
+ case $kernel_shorthand in
+ kernel=5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty
+ [[ Linux =~ (BSD|MINIX) ]]
+ [[ -n '' ]]
+ [[ -n kernel ]]
++ trim 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty
++ set -f
++ set -- 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty
++ printf '%s\n' 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty
++ set +f
+ output=5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty
+ [[ -n kernel ]]
+ [[ -n 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty ]]
+ prin Kernel 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty
++ trim Kernel
++ set -f
++ set -- Kernel
++ printf '%s\n' Kernel
++ set +f
+ [[ -n Kernel ]]
+ [[ -n 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty ]]
+ [[ -n '' ]]
+ string='Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
++ trim 'Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
++ set -f
++ set -- Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty
++ printf '%s\n' 'Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
++ set +f
+ string='Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
++ strip_sequences 'Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
++ strip='Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
++ strip='Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
++ strip='Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
++ strip='Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
++ strip='Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
++ strip='Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
++ printf '%s\n' 'Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
+ length='Kernel: 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
+ length=51
+ string='Kernel\e[0m\e[0m:\e[0m 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
+ string='\e[1mKernel\e[0m\e[0m:\e[0m 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty'
+ printf '%b\n' '\e[41C\e[1mKernel\e[0m\e[0m:\e[0m 5.12.0-rc4-nspire-00025-g95ca1cf01388-dirty\e[0m '
+ (( ++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='538.74 46.50'
+ s=538
+ d='0 days'
+ h='0 hours'
+ m='8 mins'
+ (( 0 == 1 ))
+ (( 0 == 1 ))
+ (( 8 == 1 ))
+ (( 0 == 0 ))
+ unset d
+ (( 0 == 0 ))
+ unset h
+ (( 8 == 0 ))
+ uptime='8 mins'
+ uptime='8 mins'
+ uptime='8 mins'
+ case $uptime_shorthand in
+ [[ -n '' ]]
+ [[ -n uptime ]]
++ trim '8 mins'
++ set -f
++ set -- 8 mins
++ printf '%s\n' '8 mins'
++ set +f
+ output='8 mins'
+ [[ -n uptime ]]
+ [[ -n 8mins ]]
+ prin Uptime '8 mins'
++ trim Uptime
++ set -f
++ set -- Uptime
++ printf '%s\n' Uptime
++ set +f
+ [[ -n Uptime ]]
+ [[ -n 8 mins ]]
+ [[ -n '' ]]
+ string='Uptime: 8 mins'
++ trim 'Uptime: 8 mins'
++ set -f
++ set -- Uptime: 8 mins
++ printf '%s\n' 'Uptime: 8 mins'
++ set +f
+ string='Uptime: 8 mins'
++ strip_sequences 'Uptime: 8 mins'
++ strip='Uptime: 8 mins'
++ strip='Uptime: 8 mins'
++ strip='Uptime: 8 mins'
++ strip='Uptime: 8 mins'
++ strip='Uptime: 8 mins'
++ strip='Uptime: 8 mins'
++ printf '%s\n' 'Uptime: 8 mins'
+ length='Uptime: 8 mins'
+ length=14
+ string='Uptime\e[0m\e[0m:\e[0m 8 mins'
+ string='\e[1mUptime\e[0m\e[0m:\e[0m 8 mins'
+ printf '%b\n' '\e[41C\e[1mUptime\e[0m\e[0m:\e[0m 8 mins\e[0m '
+ (( ++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
+ has kiss
+ type -p kiss
+ has pacman-key
+ type -p pacman-key
+ manager=pacman-key
+ tot pacman -Qq --color never
+ IFS='
'
+ read -d '' -ra pkgs
++ pacman -Qq --color never
+ (( packages+=126 ))
+ pac 126
+ (( 126 > 0 ))
+ managers+=("$1 (${manager})")
+ manager_string+='pacman-key, '
+ has dpkg
+ type -p dpkg
+ has rpm
+ type -p rpm
+ has xbps-query
+ type -p xbps-query
+ has apk
+ type -p apk
+ has opkg
+ type -p opkg
+ has pacman-g2
+ type -p pacman-g2
+ has lvu
+ type -p lvu
+ has tce-status
+ type -p tce-status
+ has pkg_info
+ type -p pkg_info
+ has tazpkg
+ type -p tazpkg
+ has sorcery
+ type -p sorcery
+ has alps
+ type -p alps
+ has butch
+ type -p butch
+ has mine
+ type -p mine
+ shopt -s nullglob
+ has brew
+ type -p brew
+ has emerge
+ type -p emerge
+ has Compile
+ type -p Compile
+ has eopkg
+ type -p eopkg
+ has crew
+ type -p crew
+ has pkgtool
+ type -p pkgtool
+ has scratch
+ type -p scratch
+ has kagami
+ type -p kagami
+ has cave
+ type -p cave
+ shopt -u nullglob
+ has kpm-pkg
+ type -p kpm-pkg
+ has guix
+ type -p guix
+ has nix-store
+ type -p nix-store
+ has pkginfo
+ type -p pkginfo
+ case $kernel_name in
+ has pkg
+ type -p pkg
+ (( packages == 0 ))
+ has flatpak
+ type -p flatpak
+ has spm
+ type -p spm
+ has puyo
+ type -p puyo
+ has snap
+ type -p snap
+ manager=appimage
+ has appimaged
+ type -p appimaged
+ (( packages == 0 ))
+ [[ on == on ]]
+ printf -v packages '%s, ' '126 (pacman-key)'
+ packages='126 (pacman-key)'
+ packages='126 (pacman)'
+ [[ -n '' ]]
+ [[ -n packages ]]
++ trim '126 (pacman)'
++ set -f
++ set -- 126 '(pacman)'
++ printf '%s\n' '126 (pacman)'
++ set +f
+ output='126 (pacman)'
+ [[ -n packages ]]
+ [[ -n 126(pacman) ]]
+ prin Packages '126 (pacman)'
++ trim Packages
++ set -f
++ set -- Packages
++ printf '%s\n' Packages
++ set +f
+ [[ -n Packages ]]
+ [[ -n 126 (pacman) ]]
+ [[ -n '' ]]
+ string='Packages: 126 (pacman)'
++ trim 'Packages: 126 (pacman)'
++ set -f
++ set -- Packages: 126 '(pacman)'
++ printf '%s\n' 'Packages: 126 (pacman)'
++ set +f
+ string='Packages: 126 (pacman)'
++ strip_sequences 'Packages: 126 (pacman)'
++ strip='Packages: 126 (pacman)'
++ strip='Packages: 126 (pacman)'
++ strip='Packages: 126 (pacman)'
++ strip='Packages: 126 (pacman)'
++ strip='Packages: 126 (pacman)'
++ strip='Packages: 126 (pacman)'
++ printf '%s\n' 'Packages: 126 (pacman)'
+ length='Packages: 126 (pacman)'
+ length=22
+ string='Packages\e[0m\e[0m:\e[0m 126 (pacman)'
+ string='\e[1mPackages\e[0m\e[0m:\e[0m 126 (pacman)'
+ printf '%b\n' '\e[41C\e[1mPackages\e[0m\e[0m:\e[0m 126 (pacman)\e[0m '
+ (( ++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.1.8(1)-release ]]
+ shell+='5.1.8(1)'
+ shell='bash 5.1.8(1)'
+ shell='bash 5.1.8(1)'
+ shell='bash 5.1.8(1)'
+ shell='bash 5.1.8'
+ [[ -n '' ]]
+ [[ -n shell ]]
++ trim 'bash 5.1.8'
++ set -f
++ set -- bash 5.1.8
++ printf '%s\n' 'bash 5.1.8'
++ set +f
+ output='bash 5.1.8'
+ [[ -n shell ]]
+ [[ -n bash5.1.8 ]]
+ prin Shell 'bash 5.1.8'
++ trim Shell
++ set -f
++ set -- Shell
++ printf '%s\n' Shell
++ set +f
+ [[ -n Shell ]]
+ [[ -n bash 5.1.8 ]]
+ [[ -n '' ]]
+ string='Shell: bash 5.1.8'
++ trim 'Shell: bash 5.1.8'
++ set -f
++ set -- Shell: bash 5.1.8
++ printf '%s\n' 'Shell: bash 5.1.8'
++ set +f
+ string='Shell: bash 5.1.8'
++ strip_sequences 'Shell: bash 5.1.8'
++ strip='Shell: bash 5.1.8'
++ strip='Shell: bash 5.1.8'
++ strip='Shell: bash 5.1.8'
++ strip='Shell: bash 5.1.8'
++ strip='Shell: bash 5.1.8'
++ strip='Shell: bash 5.1.8'
++ printf '%s\n' 'Shell: bash 5.1.8'
+ length='Shell: bash 5.1.8'
+ length=17
+ string='Shell\e[0m\e[0m:\e[0m bash 5.1.8'
+ string='\e[1mShell\e[0m\e[0m:\e[0m bash 5.1.8'
+ printf '%b\n' '\e[41C\e[1mShell\e[0m\e[0m:\e[0m bash 5.1.8\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info Resolution resolution
+ [[ -n resolution ]]
+ subtitle=Resolution
+ unset -v prin
+ get_resolution
+ case $os in
+ type -p xrandr
+ type -p xwininfo
+ type -p xdpyinfo
+ [[ -d /sys/class/drm ]]
+ for dev in /sys/class/drm/*/modes
+ read -r resolution _
+ [[ -n 240x320 ]]
+ break
+ resolution=240x320
+ [[ -z 240320 ]]
+ [[ -n '' ]]
+ [[ -n resolution ]]
++ trim 240x320
++ set -f
++ set -- 240x320
++ printf '%s\n' 240x320
++ set +f
+ output=240x320
+ [[ -n resolution ]]
+ [[ -n 240x320 ]]
+ prin Resolution 240x320
++ trim Resolution
++ set -f
++ set -- Resolution
++ printf '%s\n' Resolution
++ set +f
+ [[ -n Resolution ]]
+ [[ -n 240x320 ]]
+ [[ -n '' ]]
+ string='Resolution: 240x320'
++ trim 'Resolution: 240x320'
++ set -f
++ set -- Resolution: 240x320
++ printf '%s\n' 'Resolution: 240x320'
++ set +f
+ string='Resolution: 240x320'
++ strip_sequences 'Resolution: 240x320'
++ strip='Resolution: 240x320'
++ strip='Resolution: 240x320'
++ strip='Resolution: 240x320'
++ strip='Resolution: 240x320'
++ strip='Resolution: 240x320'
++ strip='Resolution: 240x320'
++ printf '%s\n' 'Resolution: 240x320'
+ length='Resolution: 240x320'
+ length=19
+ string='Resolution\e[0m\e[0m:\e[0m 240x320'
+ string='\e[1mResolution\e[0m\e[0m:\e[0m 240x320'
+ printf '%b\n' '\e[41C\e[1mResolution\e[0m\e[0m:\e[0m 240x320\e[0m '
+ (( ++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
+ (( wm_run != 1 ))
+ get_wm
+ (( wm_run == 1 ))
+ case $kernel_name in
+ ps_flags=(-e)
+ [[ -n '' ]]
+ [[ -n '' ]]
+ case $os in
+ [[ '' == *WINDOWMAKER* ]]
+ [[ '' == *GNOME*Shell* ]]
+ wm_run=1
+ [[ '' == regolith ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ '' == '' ]]
+ unset -v de
+ return
+ [[ -n '' ]]
+ [[ -n de ]]
++ trim ''
++ set -f
++ set --
++ printf '%s\n' ''
++ set +f
+ output=
+ [[ -n de ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ err 'Info: Couldn'\''t detect DE.'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Info: Couldn'\''t detect DE.
'
+ unset -v subtitle
+ info WM wm
+ [[ -n wm ]]
+ subtitle=WM
+ unset -v prin
+ get_wm
+ (( wm_run == 1 ))
+ return
+ [[ -n '' ]]
+ [[ -n wm ]]
++ trim ''
++ set -f
++ set --
++ printf '%s\n' ''
++ set +f
+ output=
+ [[ -n wm ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ err 'Info: Couldn'\''t detect WM.'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Info: Couldn'\''t detect WM.
'
+ 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 ))
+ get_de
+ (( de_run == 1 ))
+ case $os in
+ (( wm_run != 1 ))
+ [[ '' == regolith ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ '' == '' ]]
+ unset -v de
+ return
+ case $wm in
++ trim_quotes ''
++ trim_output=
++ trim_output=
++ printf %s ''
+ wm_theme=
+ [[ -n '' ]]
+ [[ -n wm_theme ]]
++ trim ''
++ set -f
++ set --
++ printf '%s\n' ''
++ set +f
+ output=
+ [[ -n wm_theme ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ err 'Info: Couldn'\''t detect WM Theme.'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Info: Couldn'\''t detect WM Theme.
'
+ 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=
+ [[ linux == \t\w\5\2 ]]
+ [[ linux == \t\w\1\0\0 ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -z '' ]]
++ get_ppid ''
++ case $os in
+++ grep -i -F PPid: /proc/156/status
++ ppid='PPid: 150'
+++ trim ' 150'
+++ set -f
+++ set -- 150
+++ printf '%s\n' 150
+++ set +f
++ ppid=150
++ printf %s 150
+ parent=150
+ [[ -z 150 ]]
++ get_process_name 150
++ case $os in
++ name=bash
++ printf %s bash
+ name=bash
+ case ${name// } in
+ [[ -z '' ]]
++ get_ppid 150
++ case $os in
+++ grep -i -F PPid: /proc/150/status
++ ppid='PPid: 139'
+++ trim ' 139'
+++ set -f
+++ set -- 139
+++ printf '%s\n' 139
+++ set +f
++ ppid=139
++ printf %s 139
+ parent=139
+ [[ -z 139 ]]
++ get_process_name 139
++ case $os in
++ name=login
++ printf %s login
+ name=login
+ case ${name// } in
++ tty
+ term=/dev/tty1
+ [[ -z /dev/tty1 ]]
+ term_run=1
+ [[ -n '' ]]
+ [[ -n term ]]
++ trim /dev/tty1
++ set -f
++ set -- /dev/tty1
++ printf '%s\n' /dev/tty1
++ set +f
+ output=/dev/tty1
+ [[ -n term ]]
+ [[ -n /dev/tty1 ]]
+ prin Terminal /dev/tty1
++ trim Terminal
++ set -f
++ set -- Terminal
++ printf '%s\n' Terminal
++ set +f
+ [[ -n Terminal ]]
+ [[ -n /dev/tty1 ]]
+ [[ -n '' ]]
+ string='Terminal: /dev/tty1'
++ trim 'Terminal: /dev/tty1'
++ set -f
++ set -- Terminal: /dev/tty1
++ printf '%s\n' 'Terminal: /dev/tty1'
++ set +f
+ string='Terminal: /dev/tty1'
++ strip_sequences 'Terminal: /dev/tty1'
++ strip='Terminal: /dev/tty1'
++ strip='Terminal: /dev/tty1'
++ strip='Terminal: /dev/tty1'
++ strip='Terminal: /dev/tty1'
++ strip='Terminal: /dev/tty1'
++ strip='Terminal: /dev/tty1'
++ printf '%s\n' 'Terminal: /dev/tty1'
+ length='Terminal: /dev/tty1'
+ length=19
+ string='Terminal\e[0m\e[0m:\e[0m /dev/tty1'
+ string='\e[1mTerminal\e[0m\e[0m:\e[0m /dev/tty1'
+ printf '%b\n' '\e[41C\e[1mTerminal\e[0m\e[0m:\e[0m /dev/tty1\e[0m '
+ (( ++info_height ))
+ prin=1
+ 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='Generic DT based system'
+ speed_dir=/sys/devices/system/cpu/cpu0/cpufreq
+ for temp_dir in /sys/class/hwmon/*
/usr/bin/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=
+ speed=
+ [[ -f /sys/class/hwmon/* ]]
+ case $cpu_cores in
++ grep -c '^processor' /proc/cpuinfo
+ cores=1
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cpu='Generic DT based system'
+ cores=1
+ speed=
+ [[ on == \o\f\f ]]
+ [[ logical != \o\f\f ]]
+ [[ -n 1 ]]
+ case $os in
+ cpu='Generic DT based system (1)'
+ [[ on != \o\f\f ]]
+ [[ -n '' ]]
+ [[ off != \o\f\f ]]
+ [[ -n '' ]]
+ [[ -n cpu ]]
++ trim 'Generic DT based system (1)'
++ set -f
++ set -- Generic DT based system '(1)'
++ printf '%s\n' 'Generic DT based system (1)'
++ set +f
+ output='Generic DT based system (1)'
+ [[ -n cpu ]]
+ [[ -n GenericDTbasedsystem(1) ]]
+ prin CPU 'Generic DT based system (1)'
++ trim CPU
++ set -f
++ set -- CPU
++ printf '%s\n' CPU
++ set +f
+ [[ -n CPU ]]
+ [[ -n Generic DT based system (1) ]]
+ [[ -n '' ]]
+ string='CPU: Generic DT based system (1)'
++ trim 'CPU: Generic DT based system (1)'
++ set -f
++ set -- CPU: Generic DT based system '(1)'
++ printf '%s\n' 'CPU: Generic DT based system (1)'
++ set +f
+ string='CPU: Generic DT based system (1)'
++ strip_sequences 'CPU: Generic DT based system (1)'
++ strip='CPU: Generic DT based system (1)'
++ strip='CPU: Generic DT based system (1)'
++ strip='CPU: Generic DT based system (1)'
++ strip='CPU: Generic DT based system (1)'
++ strip='CPU: Generic DT based system (1)'
++ strip='CPU: Generic DT based system (1)'
++ printf '%s\n' 'CPU: Generic DT based system (1)'
+ length='CPU: Generic DT based system (1)'
+ length=32
+ string='CPU\e[0m\e[0m:\e[0m Generic DT based system (1)'
+ string='\e[1mCPU\e[0m\e[0m:\e[0m Generic DT based system (1)'
+ printf '%b\n' '\e[41C\e[1mCPU\e[0m\e[0m:\e[0m Generic DT based system (1)\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info GPU gpu
+ [[ -n gpu ]]
+ subtitle=GPU
+ unset -v prin
+ get_gpu
+ case $os in
++ lspci -mm
++ awk -F '\"|\" \"|\\(' '/"Display|"3D|"VGA/ {a[$0] = $1 " " $3 " " $4}
END {for(i in a) {if(!seen[a[i]]++) print a[i]}}'
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
+ gpu_cmd=
+ IFS='
'
+ read -d '' -ra gpus
+ [[ '' == *Intel* ]]
+ return
+ [[ -n '' ]]
+ [[ -n gpu ]]
++ trim ''
++ set -f
++ set --
++ printf '%s\n' ''
++ set +f
+ output=
+ [[ -n gpu ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ err 'Info: Couldn'\''t detect GPU.'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Info: Couldn'\''t detect GPU.
'
+ unset -v subtitle
+ 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+= 59084 ))
+ mem_total=' 59084 '
+ IFS=:
+ read -r a b
+ case $a in
+ mem_used=49772
+ IFS=:
+ read -r a b
+ case $a in
+ IFS=:
+ read -r a b
+ case $a in
+ mem_used=47596
+ IFS=:
+ read -r a b
+ case $a in
+ mem_used=17576
+ 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
+ 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
+ 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
+ (( mem_used+= 192 ))
+ IFS=:
+ read -r a b
+ case $a in
+ IFS=:
+ read -r a b
+ case $a in
+ IFS=:
+ read -r a b
+ case $a in
+ mem_used=16316
+ 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
+ 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
+ case $a in
+ IFS=:
+ read -r a b
+ case $a in
+ IFS=:
+ read -r a b
+ mem_used=15
+ mem_total=57
+ [[ off == \o\n ]]
+ case $memory_unit in
+ memory='15MiB / 57MiB '
+ case $memory_display in
+ [[ -n '' ]]
+ [[ -n memory ]]
++ trim '15MiB / 57MiB '
++ set -f
++ set -- 15MiB / 57MiB
++ printf '%s\n' '15MiB / 57MiB'
++ set +f
+ output='15MiB / 57MiB'
+ [[ -n memory ]]
+ [[ -n 15MiB/57MiB ]]
+ prin Memory '15MiB / 57MiB'
++ trim Memory
++ set -f
++ set -- Memory
++ printf '%s\n' Memory
++ set +f
+ [[ -n Memory ]]
+ [[ -n 15MiB / 57MiB ]]
+ [[ -n '' ]]
+ string='Memory: 15MiB / 57MiB'
++ trim 'Memory: 15MiB / 57MiB'
++ set -f
++ set -- Memory: 15MiB / 57MiB
++ printf '%s\n' 'Memory: 15MiB / 57MiB'
++ set +f
+ string='Memory: 15MiB / 57MiB'
++ strip_sequences 'Memory: 15MiB / 57MiB'
++ strip='Memory: 15MiB / 57MiB'
++ strip='Memory: 15MiB / 57MiB'
++ strip='Memory: 15MiB / 57MiB'
++ strip='Memory: 15MiB / 57MiB'
++ strip='Memory: 15MiB / 57MiB'
++ strip='Memory: 15MiB / 57MiB'
++ printf '%s\n' 'Memory: 15MiB / 57MiB'
+ length='Memory: 15MiB / 57MiB'
+ length=21
+ string='Memory\e[0m\e[0m:\e[0m 15MiB / 57MiB'
+ string='\e[1mMemory\e[0m\e[0m:\e[0m 15MiB / 57MiB'
+ printf '%b\n' '\e[41C\e[1mMemory\e[0m\e[0m:\e[0m 15MiB / 57MiB\e[0m '
+ (( ++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' 41 '        
        '
+ 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 %4s
+ printf %b '\n\n\n\n'
+ [[ ascii == *w3m* ]]
+ err 'Neofetch command: /usr/bin/neofetch -vv'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Neofetch command: /usr/bin/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. (/home/alarm/.config/neofetch/config.conf)
[!]\e[0m Image: Imagemagick not found, falling back to ascii mode.
[!]\e[0m Info: Couldn'\''t detect DE.
[!]\e[0m Info: Couldn'\''t detect WM.
[!]\e[0m Info: Couldn'\''t detect WM Theme.
[!]\e[0m Info: Couldn'\''t detect Theme.
[!]\e[0m Info: Couldn'\''t detect Icons.
[!]\e[0m Info: Couldn'\''t detect Terminal Font.
[!]\e[0m Info: Couldn'\''t detect GPU.
[!]\e[0m Neofetch command: /usr/bin/neofetch -vv
[!]\e[0m Neofetch version: 7.1.0
'
[!] Config: Sourced user config. (/home/alarm/.config/neofetch/config.conf)
[!] Image: Imagemagick not found, falling back to ascii mode.
[!] Info: Couldn't detect DE.
[!] Info: Couldn't detect WM.
[!] Info: Couldn't detect WM Theme.
[!] Info: Couldn't detect Theme.
[!] Info: Couldn't detect Icons.
[!] Info: Couldn't detect Terminal Font.
[!] Info: Couldn't detect GPU.
[!] Neofetch command: /usr/bin/neofetch -vv
[!] Neofetch version: 7.1.0
+ [[ off == on ]]
+ return 0
+ printf '\e[?25h\e[?7h'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment