Skip to content

Instantly share code, notes, and snippets.

@AleixMT
Created March 9, 2023 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AleixMT/7b59eaf58796a9499d60922da6e3c77d to your computer and use it in GitHub Desktop.
Save AleixMT/7b59eaf58796a9499d60922da6e3c77d to your computer and use it in GitHub Desktop.
+ verbose=on
+ shift
+ [[ -n '' ]]
+ [[ on != on ]]
+ get_simple --jp2a --source /home/aleixmt/.customizer/bin/opensshServer/logo.png -vv
+ [[ -n --jp2a ]]
++ type -t get_--jp2a
+ [[ '' == \f\u\n\c\t\i\o\n ]]
+ shift
+ [[ -n --source ]]
++ type -t get_--source
+ [[ '' == \f\u\n\c\t\i\o\n ]]
+ shift
+ [[ -n /home/aleixmt/.customizer/bin/opensshServer/logo.png ]]
++ type -t get_/home/aleixmt/.customizer/bin/opensshServer/logo.png
+ [[ '' == \f\u\n\c\t\i\o\n ]]
+ shift
+ [[ -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
+ case $distro_shorthand in
+ lsb_flags=-sd
++ lsb_release -sd
+ distro='Ubuntu 22.04.2 LTS'
+ [[ Linux version 5.19.0-35-generic (buildd@lcy02-amd64-020) (x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #36~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 17 15:17:25 UTC 2 == *Microsoft* ]]
+ [[ 5.19.0-35-generic == *Microsoft* ]]
+ [[ Linux version 5.19.0-35-generic (buildd@lcy02-amd64-020) (x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #36~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 17 15:17:25 UTC 2 == *chrome-bot* ]]
+ [[ -f /dev/cros_ec ]]
++ trim_quotes 'Ubuntu 22.04.2 LTS'
++ trim_output='Ubuntu 22.04.2 LTS'
++ trim_output='Ubuntu 22.04.2 LTS'
++ printf %s 'Ubuntu 22.04.2 LTS'
+ distro='Ubuntu 22.04.2 LTS'
+ distro='Ubuntu 22.04.2 LTS'
+ [[ Ubuntu 22.04.2 LTS == \U\b\u\n\t\u* ]]
+ case $XDG_CONFIG_DIRS in
+ distro='Ubuntu 22.04.2 LTS'
+ [[ -n Ubuntu 22.04.2 LTS ]]
+ case $os in
+ machine_arch=x86_64
+ [[ on == on ]]
+ distro+=' x86_64'
+ [[ auto == auto ]]
++ trim 'Ubuntu 22.04.2 LTS x86_64'
++ set -f
++ set -- Ubuntu 22.04.2 LTS x86_64
++ printf '%s\n' 'Ubuntu 22.04.2 LTS x86_64'
++ set +f
+ ascii_distro='Ubuntu 22.04.2 LTS 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 'Ubuntu 22.04.2 LTS x86_64'
++ set -f
++ set -- Ubuntu 22.04.2 LTS x86_64
++ printf '%s\n' 'Ubuntu 22.04.2 LTS x86_64'
++ set +f
+ set_colors 1 7 3
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ c1='\e[1m'
++ color 7
++ case $1 in
++ printf '\e[37m%b' '\e[0m'
+ c2='\e[1m'
++ color 3
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 3
+ c3='\e[1m'
++ color ''
++ case $1 in
++ printf '\e[38;5;%bm' ''
+ 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 7 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 7
++ case $1 in
++ printf '\e[37m%b' '\e[0m'
+ subtitle_color=''
+ colon_color='\e[0m'
+ info_color='\e[0m'
+ (( 1 == 8 ))
+ (( 7 == 8 ))
+ (( 7 == 7 ))
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ subtitle_color=''
+ (( 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 7
++ case $1 in
++ printf '\e[37m%b' '\e[0m'
+ bar_color_total=''
+ read -rd '' ascii_data
+ [[ distro != distro ]]
+ [[ off == on ]]
+ [[ screen-256color != minix ]]
+ [[ off != on ]]
+ trap 'printf "\e[?25h\e[?7h"' EXIT
+ printf '\e[?25l\e[?7l'
+ image_backend
+ [[ jp2a != \o\f\f ]]
+ type -p convert
+ case ${image_backend:-off} in
+ get_image_source
+ case $image_source in
++ get_full_path /home/aleixmt/.customizer/bin/opensshServer/logo.png
++ [[ -f /home/aleixmt//home/aleixmt/.customizer/bin/opensshServer/logo.png ]]
++ cd /home/aleixmt/.customizer/bin/opensshServer
++ local full_dir=logo.png
++ [[ -L logo.png ]]
+++ pwd -P
++ full_dir=/home/aleixmt/.customizer/bin/opensshServer/logo.png
++ [[ -e /home/aleixmt/.customizer/bin/opensshServer/logo.png ]]
++ printf '%s\n' /home/aleixmt/.customizer/bin/opensshServer/logo.png
+ image_source=/home/aleixmt/.customizer/bin/opensshServer/logo.png
+ [[ -d /home/aleixmt/.customizer/bin/opensshServer/logo.png ]]
+ image=/home/aleixmt/.customizer/bin/opensshServer/logo.png
+ err 'Image: Using image '\''/home/aleixmt/.customizer/bin/opensshServer/logo.png'\'''
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Image: Using image '\''/home/aleixmt/.customizer/bin/opensshServer/logo.png'\''
'
+ [[ ! -f /home/aleixmt/.customizer/bin/opensshServer/logo.png ]]
+ get_window_size
+ [[ jp2a == \t\y\c\a\t ]]
+ [[ -z '' ]]
+ case ${TMUX:-null} in
+ printf %b '\e[14t'
+ case $bash_version in
+ IFS=';t'
+ read -d t -t 0.05 -sra term_size
+ unset IFS
+ [[ jp2a == \t\y\c\a\t ]]
+ term_height=
+ term_width=
+ (( 0 < 50 ))
+ [[ -n '' ]]
+ term_width=0
+ (( term_width < 1 ))
+ to_ascii 'Image: Failed to find terminal window size.'
+ err 'Image: Failed to find terminal window size.'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Image: Failed to find terminal window size.
'
+ image_backend=ascii
+ print_ascii
+ [[ -f /home/aleixmt/.customizer/bin/opensshServer/logo.png ]]
+ [[ ! /home/aleixmt/.customizer/bin/opensshServer/logo.png =~ (png|jpg|jpeg|jpe|svg|gif) ]]
+ [[ /home/aleixmt/.customizer/bin/opensshServer/logo.png == \a\s\c\i\i ]]
+ [[ /home/aleixmt/.customizer/bin/opensshServer/logo.png == auto ]]
+ ascii_data=/home/aleixmt/.customizer/bin/opensshServer/logo.png
+ LC_ALL=en_US.UTF-8
+ IFS='
'
+ read -r line
+ line=/home/aleixmt/.customizer/bin/opensshServer/logo.png
+ line=/home/aleixmt/.customizer/bin/opensshServer/logo.png
+ (( ++lines,52>ascii_len ))
+ ascii_len=52
+ IFS='
'
+ read -r line
+ (( lines==1 ))
+ lines=
+ ascii_len=
+ image_source=auto
+ get_distro_ascii
+ case $(trim "$ascii_distro") in
++ trim 'Ubuntu 22.04.2 LTS x86_64'
++ set -f
++ set -- Ubuntu 22.04.2 LTS x86_64
++ printf '%s\n' 'Ubuntu 22.04.2 LTS x86_64'
++ set +f
+ set_colors 1 7 3
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ c1='\e[1m'
++ color 7
++ case $1 in
++ printf '\e[37m%b' '\e[0m'
+ c2='\e[1m'
++ color 3
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 3
+ c3='\e[1m'
++ color ''
++ case $1 in
++ printf '\e[38;5;%bm' ''
+ 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 7 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 7
++ case $1 in
++ printf '\e[37m%b' '\e[0m'
+ subtitle_color=''
+ colon_color='\e[0m'
+ info_color='\e[0m'
+ (( 1 == 8 ))
+ (( 7 == 8 ))
+ (( 7 == 7 ))
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ subtitle_color=''
+ (( 1 == 7 ))
+ [[  == \d\i\s\t\r\o ]]
++ color ''
++ case $1 in
++ printf '\e[38;5;%bm' ''
+ bar_color_elapsed='[38;5;m'
+ case ${bar_color_total}${1} in
++ color ''
++ case $1 in
++ printf '\e[38;5;%bm' ''
+ bar_color_total='[38;5;m'
+ read -rd '' ascii_data
+ [[ distro != distro ]]
+ print_ascii
+ [[ -f auto ]]
+ [[ auto == \a\s\c\i\i ]]
+ [[ auto == auto ]]
+ :
+ LC_ALL=en_US.UTF-8
+ IFS='
'
+ read -r line
+ line=' .-/+oossssoo+/-.'
+ line=' .-/+oossssoo+/-.'
+ (( ++lines,28>ascii_len ))
+ ascii_len=28
+ IFS='
'
+ read -r line
+ line=' `:+ssssssssssssssssss+:`'
+ line=' `:+ssssssssssssssssss+:`'
+ (( ++lines,32>ascii_len ))
+ ascii_len=32
+ IFS='
'
+ read -r line
+ line=' -+ssssssssssssssssssyyssss+-'
+ line=' -+ssssssssssssssssssyyssss+-'
+ (( ++lines,34>ascii_len ))
+ ascii_len=34
+ IFS='
'
+ read -r line
+ line=' .ossssssssssssssssssdMMMNysssso.'
+ line=' .ossssssssssssssssssdMMMNysssso.'
+ (( ++lines,36>ascii_len ))
+ ascii_len=36
+ IFS='
'
+ read -r line
+ line=' /ssssssssssshdmmNNmmyNMMMMhssssss/'
+ line=' /ssssssssssshdmmNNmmyNMMMMhssssss/'
+ (( ++lines,37>ascii_len ))
+ ascii_len=37
+ IFS='
'
+ read -r line
+ line=' +ssssssssshmydMMMMMMMNddddyssssssss+'
+ line=' +ssssssssshmydMMMMMMMNddddyssssssss+'
+ (( ++lines,38>ascii_len ))
+ ascii_len=38
+ IFS='
'
+ read -r line
+ line=' /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/'
+ line=' /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/'
+ (( ++lines,39>ascii_len ))
+ ascii_len=39
+ IFS='
'
+ read -r line
+ line=.ssssssssdMMMNhsssssssssshNMMMdssssssss.
+ line=.ssssssssdMMMNhsssssssssshNMMMdssssssss.
+ (( ++lines,40>ascii_len ))
+ ascii_len=40
+ IFS='
'
+ read -r line
+ line=+sssshhhyNMMNyssssssssssssyNMMMysssssss+
+ line=+sssshhhyNMMNyssssssssssssyNMMMysssssss+
+ (( ++lines,40>ascii_len ))
+ IFS='
'
+ read -r line
+ line=ossyNMMMNyMMhsssssssssssssshmmmhssssssso
+ line=ossyNMMMNyMMhsssssssssssssshmmmhssssssso
+ (( ++lines,40>ascii_len ))
+ IFS='
'
+ read -r line
+ line=ossyNMMMNyMMhsssssssssssssshmmmhssssssso
+ line=ossyNMMMNyMMhsssssssssssssshmmmhssssssso
+ (( ++lines,40>ascii_len ))
+ IFS='
'
+ read -r line
+ line=+sssshhhyNMMNyssssssssssssyNMMMysssssss+
+ line=+sssshhhyNMMNyssssssssssssyNMMMysssssss+
+ (( ++lines,40>ascii_len ))
+ IFS='
'
+ read -r line
+ line=.ssssssssdMMMNhsssssssssshNMMMdssssssss.
+ line=.ssssssssdMMMNhsssssssssshNMMMdssssssss.
+ (( ++lines,40>ascii_len ))
+ IFS='
'
+ read -r line
+ line=' /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/'
+ line=' /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/'
+ (( ++lines,39>ascii_len ))
+ IFS='
'
+ read -r line
+ line=' +sssssssssdmydMMMMMMMMddddyssssssss+'
+ line=' +sssssssssdmydMMMMMMMMddddyssssssss+'
+ (( ++lines,38>ascii_len ))
+ IFS='
'
+ read -r line
+ line=' /ssssssssssshdmNNNNmyNMMMMhssssss/'
+ line=' /ssssssssssshdmNNNNmyNMMMMhssssss/'
+ (( ++lines,37>ascii_len ))
+ IFS='
'
+ read -r line
+ line=' .ossssssssssssssssssdMMMNysssso.'
+ line=' .ossssssssssssssssssdMMMNysssso.'
+ (( ++lines,36>ascii_len ))
+ IFS='
'
+ read -r line
+ line=' -+sssssssssssssssssyyyssss+-'
+ line=' -+sssssssssssssssssyyyssss+-'
+ (( ++lines,34>ascii_len ))
+ IFS='
'
+ read -r line
+ line=' `:+ssssssssssssssssss+:`'
+ line=' `:+ssssssssssssssssss+:`'
+ (( ++lines,32>ascii_len ))
+ IFS='
'
+ read -r line
+ line=' .-/+oossssoo+/-.'
+ line=' .-/+oossssoo+/-.'
+ (( ++lines,28>ascii_len ))
+ IFS='
'
+ read -r line
+ (( lines==1 ))
+ ascii_data='\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss${c2}dMMMNy\e[1msssso.
/sssssssssss${c2}hdmmNNmmyNMMMMh\e[1mssssss/
+sssssssss${c2}hm\e[1myd${c2}MMMMMMMNddddy\e[1mssssssss+
/ssssssss${c2}hNMMM\e[1myh${c2}hyyyyhmNMMMNh\e[1mssssssss/
.ssssssss${c2}dMMMNh\e[1mssssssssss${c2}hNMMMd\e[1mssssssss.
+ssss${c2}hhhyNMMNy\e[1mssssssssssss${c2}yNMMMy\e[1msssssss+
oss${c2}yNMMMNyMMh\e[1mssssssssssssss${c2}hmmmh\e[1mssssssso
oss${c2}yNMMMNyMMh\e[1msssssssssssssshmmmh\e[1mssssssso
+ssss${c2}hhhyNMMNy\e[1mssssssssssss${c2}yNMMMy\e[1msssssss+
.ssssssss${c2}dMMMNh\e[1mssssssssss${c2}hNMMMd\e[1mssssssss.
/ssssssss${c2}hNMMM\e[1myh${c2}hyyyyhdNMMMNh\e[1mssssssss/
+sssssssss${c2}dm\e[1myd${c2}MMMMMMMMddddy\e[1mssssssss+
/sssssssssss${c2}hdmNNNNmyNMMMMh\e[1mssssss/
.ossssssssssssssssss${c2}dMMMNy\e[1msssso.
-+sssssssssssssssss${c2}yyy\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ ascii_data='\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss\e[1mdMMMNy\e[1msssso.
/sssssssssss\e[1mhdmmNNmmyNMMMMh\e[1mssssss/
+sssssssss\e[1mhm\e[1myd\e[1mMMMMMMMNddddy\e[1mssssssss+
/ssssssss\e[1mhNMMM\e[1myh\e[1mhyyyyhmNMMMNh\e[1mssssssss/
.ssssssss\e[1mdMMMNh\e[1mssssssssss\e[1mhNMMMd\e[1mssssssss.
+ssss\e[1mhhhyNMMNy\e[1mssssssssssss\e[1myNMMMy\e[1msssssss+
oss\e[1myNMMMNyMMh\e[1mssssssssssssss\e[1mhmmmh\e[1mssssssso
oss\e[1myNMMMNyMMh\e[1msssssssssssssshmmmh\e[1mssssssso
+ssss\e[1mhhhyNMMNy\e[1mssssssssssss\e[1myNMMMy\e[1msssssss+
.ssssssss\e[1mdMMMNh\e[1mssssssssss\e[1mhNMMMd\e[1mssssssss.
/ssssssss\e[1mhNMMM\e[1myh\e[1mhyyyyhdNMMMNh\e[1mssssssss/
+sssssssss\e[1mdm\e[1myd\e[1mMMMMMMMMddddy\e[1mssssssss+
/sssssssssss\e[1mhdmNNNNmyNMMMMh\e[1mssssss/
.ossssssssssssssssss\e[1mdMMMNy\e[1msssso.
-+sssssssssssssssss\e[1myyy\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ ascii_data='\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss\e[1mdMMMNy\e[1msssso.
/sssssssssss\e[1mhdmmNNmmyNMMMMh\e[1mssssss/
+sssssssss\e[1mhm\e[1myd\e[1mMMMMMMMNddddy\e[1mssssssss+
/ssssssss\e[1mhNMMM\e[1myh\e[1mhyyyyhmNMMMNh\e[1mssssssss/
.ssssssss\e[1mdMMMNh\e[1mssssssssss\e[1mhNMMMd\e[1mssssssss.
+ssss\e[1mhhhyNMMNy\e[1mssssssssssss\e[1myNMMMy\e[1msssssss+
oss\e[1myNMMMNyMMh\e[1mssssssssssssss\e[1mhmmmh\e[1mssssssso
oss\e[1myNMMMNyMMh\e[1msssssssssssssshmmmh\e[1mssssssso
+ssss\e[1mhhhyNMMNy\e[1mssssssssssss\e[1myNMMMy\e[1msssssss+
.ssssssss\e[1mdMMMNh\e[1mssssssssss\e[1mhNMMMd\e[1mssssssss.
/ssssssss\e[1mhNMMM\e[1myh\e[1mhyyyyhdNMMMNh\e[1mssssssss/
+sssssssss\e[1mdm\e[1myd\e[1mMMMMMMMMddddy\e[1mssssssss+
/sssssssssss\e[1mhdmNNNNmyNMMMMh\e[1mssssss/
.ossssssssssssssssss\e[1mdMMMNy\e[1msssso.
-+sssssssssssssssss\e[1myyy\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ ascii_data='\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss\e[1mdMMMNy\e[1msssso.
/sssssssssss\e[1mhdmmNNmmyNMMMMh\e[1mssssss/
+sssssssss\e[1mhm\e[1myd\e[1mMMMMMMMNddddy\e[1mssssssss+
/ssssssss\e[1mhNMMM\e[1myh\e[1mhyyyyhmNMMMNh\e[1mssssssss/
.ssssssss\e[1mdMMMNh\e[1mssssssssss\e[1mhNMMMd\e[1mssssssss.
+ssss\e[1mhhhyNMMNy\e[1mssssssssssss\e[1myNMMMy\e[1msssssss+
oss\e[1myNMMMNyMMh\e[1mssssssssssssss\e[1mhmmmh\e[1mssssssso
oss\e[1myNMMMNyMMh\e[1msssssssssssssshmmmh\e[1mssssssso
+ssss\e[1mhhhyNMMNy\e[1mssssssssssss\e[1myNMMMy\e[1msssssss+
.ssssssss\e[1mdMMMNh\e[1mssssssssss\e[1mhNMMMd\e[1mssssssss.
/ssssssss\e[1mhNMMM\e[1myh\e[1mhyyyyhdNMMMNh\e[1mssssssss/
+sssssssss\e[1mdm\e[1myd\e[1mMMMMMMMMddddy\e[1mssssssss+
/sssssssssss\e[1mhdmNNNNmyNMMMMh\e[1mssssss/
.ossssssssssssssssss\e[1mdMMMNy\e[1msssso.
-+sssssssssssssssss\e[1myyy\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ ascii_data='\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss\e[1mdMMMNy\e[1msssso.
/sssssssssss\e[1mhdmmNNmmyNMMMMh\e[1mssssss/
+sssssssss\e[1mhm\e[1myd\e[1mMMMMMMMNddddy\e[1mssssssss+
/ssssssss\e[1mhNMMM\e[1myh\e[1mhyyyyhmNMMMNh\e[1mssssssss/
.ssssssss\e[1mdMMMNh\e[1mssssssssss\e[1mhNMMMd\e[1mssssssss.
+ssss\e[1mhhhyNMMNy\e[1mssssssssssss\e[1myNMMMy\e[1msssssss+
oss\e[1myNMMMNyMMh\e[1mssssssssssssss\e[1mhmmmh\e[1mssssssso
oss\e[1myNMMMNyMMh\e[1msssssssssssssshmmmh\e[1mssssssso
+ssss\e[1mhhhyNMMNy\e[1mssssssssssss\e[1myNMMMy\e[1msssssss+
.ssssssss\e[1mdMMMNh\e[1mssssssssss\e[1mhNMMMd\e[1mssssssss.
/ssssssss\e[1mhNMMM\e[1myh\e[1mhyyyyhdNMMMNh\e[1mssssssss/
+sssssssss\e[1mdm\e[1myd\e[1mMMMMMMMMddddy\e[1mssssssss+
/sssssssssss\e[1mhdmNNNNmyNMMMMh\e[1mssssss/
.ossssssssssssssssss\e[1mdMMMNy\e[1msssso.
-+sssssssssssssssss\e[1myyy\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ ascii_data='\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss\e[1mdMMMNy\e[1msssso.
/sssssssssss\e[1mhdmmNNmmyNMMMMh\e[1mssssss/
+sssssssss\e[1mhm\e[1myd\e[1mMMMMMMMNddddy\e[1mssssssss+
/ssssssss\e[1mhNMMM\e[1myh\e[1mhyyyyhmNMMMNh\e[1mssssssss/
.ssssssss\e[1mdMMMNh\e[1mssssssssss\e[1mhNMMMd\e[1mssssssss.
+ssss\e[1mhhhyNMMNy\e[1mssssssssssss\e[1myNMMMy\e[1msssssss+
oss\e[1myNMMMNyMMh\e[1mssssssssssssss\e[1mhmmmh\e[1mssssssso
oss\e[1myNMMMNyMMh\e[1msssssssssssssshmmmh\e[1mssssssso
+ssss\e[1mhhhyNMMNy\e[1mssssssssssss\e[1myNMMMy\e[1msssssss+
.ssssssss\e[1mdMMMNh\e[1mssssssssss\e[1mhNMMMd\e[1mssssssss.
/ssssssss\e[1mhNMMM\e[1myh\e[1mhyyyyhdNMMMNh\e[1mssssssss/
+sssssssss\e[1mdm\e[1myd\e[1mMMMMMMMMddddy\e[1mssssssss+
/sssssssssss\e[1mhdmNNNNmyNMMMMh\e[1mssssss/
.ossssssssssssssssss\e[1mdMMMNy\e[1msssso.
-+sssssssssssssssss\e[1myyy\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ (( text_padding=ascii_len+gap ))
+ printf '%b\n' '\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss\e[1mdMMMNy\e[1msssso.
/sssssssssss\e[1mhdmmNNmmyNMMMMh\e[1mssssss/
+sssssssss\e[1mhm\e[1myd\e[1mMMMMMMMNddddy\e[1mssssssss+
/ssssssss\e[1mhNMMM\e[1myh\e[1mhyyyyhmNMMMNh\e[1mssssssss/
.ssssssss\e[1mdMMMNh\e[1mssssssssss\e[1mhNMMMd\e[1mssssssss.
+ssss\e[1mhhhyNMMNy\e[1mssssssssssss\e[1myNMMMy\e[1msssssss+
oss\e[1myNMMMNyMMh\e[1mssssssssssssss\e[1mhmmmh\e[1mssssssso
oss\e[1myNMMMNyMMh\e[1msssssssssssssshmmmh\e[1mssssssso
+ssss\e[1mhhhyNMMNy\e[1mssssssssssss\e[1myNMMMy\e[1msssssss+
.ssssssss\e[1mdMMMNh\e[1mssssssssss\e[1mhNMMMd\e[1mssssssss.
/ssssssss\e[1mhNMMM\e[1myh\e[1mhyyyyhdNMMMNh\e[1mssssssss/
+sssssssss\e[1mdm\e[1myd\e[1mMMMMMMMMddddy\e[1mssssssss+
/sssssssssss\e[1mhdmNNNNmyNMMMMh\e[1mssssss/
.ossssssssssssssssss\e[1mdMMMNy\e[1msssso.
-+sssssssssssssssss\e[1myyy\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.\e[0m'
+ LC_ALL=C
+ return
+ printf '\e[%sA\e[9999999D' 20
+ err 'Image: Check the '\''Images in the terminal'\'' wiki page for more info,'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Image: Check the '\''Images in the terminal'\'' wiki page for more info,
'
+ return
+ get_cache_dir
+ case $os in
+ cache_dir=/tmp
+ old_functions
+ print_info
+ info title
+ [[ -n '' ]]
+ unset -v prin
+ get_title
+ user=aleixmt
+ case $title_fqdn in
+ hostname=aleixmt-desktop-Ubuntu
+ title='\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
+ length=30
+ [[ -n '' ]]
+ [[ -n '' ]]
++ trim '\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ set -f
++ set -- '\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ printf '%s\n' '\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ set +f
+ output='\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
+ [[ -n '' ]]
+ [[ -n \e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu ]]
+ prin '\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ trim '\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ set -f
++ set -- '\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ printf '%s\n' '\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ set +f
+ [[ -n \e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu ]]
+ [[ -n '' ]]
+ string='\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
+ local 'subtitle_color=\e[0m'
++ trim '\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ set -f
++ set -- '\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ printf '%s\n' '\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ set +f
+ string='\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ strip_sequences '\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ strip='\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ strip='\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
++ strip=aleixmt@aleixmt-desktop-Ubuntu
++ strip=aleixmt@aleixmt-desktop-Ubuntu
++ strip=aleixmt@aleixmt-desktop-Ubuntu
++ strip=aleixmt@aleixmt-desktop-Ubuntu
++ printf '%s\n' aleixmt@aleixmt-desktop-Ubuntu
+ length=aleixmt@aleixmt-desktop-Ubuntu
+ length=30
+ string='\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
+ string='\e[0m\e[1m\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu'
+ printf '%b\n' '\e[43C\e[0m\e[1m\e[1maleixmt\e[0m@\e[1maleixmt-desktop-Ubuntu\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info underline
+ [[ -n '' ]]
+ unset -v prin
+ get_underline
+ [[ on == \o\n ]]
+ printf -v underline %30s
+ printf '%b%b\n' '\e[43C\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 Ubuntu 22.04.2 LTS x86_64 ]]
+ return
+ [[ -n '' ]]
+ [[ -n distro ]]
++ trim 'Ubuntu 22.04.2 LTS x86_64'
++ set -f
++ set -- Ubuntu 22.04.2 LTS x86_64
++ printf '%s\n' 'Ubuntu 22.04.2 LTS x86_64'
++ set +f
+ output='Ubuntu 22.04.2 LTS x86_64'
+ [[ -n distro ]]
+ [[ -n Ubuntu22.04.2LTSx86_64 ]]
+ prin OS 'Ubuntu 22.04.2 LTS x86_64'
++ trim OS
++ set -f
++ set -- OS
++ printf '%s\n' OS
++ set +f
+ [[ -n OS ]]
+ [[ -n Ubuntu 22.04.2 LTS x86_64 ]]
+ [[ -n '' ]]
+ string='OS: Ubuntu 22.04.2 LTS x86_64'
++ trim 'OS: Ubuntu 22.04.2 LTS x86_64'
++ set -f
++ set -- OS: Ubuntu 22.04.2 LTS x86_64
++ printf '%s\n' 'OS: Ubuntu 22.04.2 LTS x86_64'
++ set +f
+ string='OS: Ubuntu 22.04.2 LTS x86_64'
++ strip_sequences 'OS: Ubuntu 22.04.2 LTS x86_64'
++ strip='OS: Ubuntu 22.04.2 LTS x86_64'
++ strip='OS: Ubuntu 22.04.2 LTS x86_64'
++ strip='OS: Ubuntu 22.04.2 LTS x86_64'
++ strip='OS: Ubuntu 22.04.2 LTS x86_64'
++ strip='OS: Ubuntu 22.04.2 LTS x86_64'
++ strip='OS: Ubuntu 22.04.2 LTS x86_64'
++ printf '%s\n' 'OS: Ubuntu 22.04.2 LTS x86_64'
+ length='OS: Ubuntu 22.04.2 LTS x86_64'
+ length=29
+ string='OS\e[0m\e[0m:\e[0m Ubuntu 22.04.2 LTS x86_64'
+ string='\e[1mOS\e[0m\e[0m:\e[0m Ubuntu 22.04.2 LTS x86_64'
+ printf '%b\n' '\e[43C\e[1mOS\e[0m\e[0m:\e[0m Ubuntu 22.04.2 LTS x86_64\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 ]]
+ model='System Product Name'
+ model+=' System Version'
+ model='System Product Name System Version'
+ model='System Product Name System Version'
+ model='System Product Name System Version'
+ model='System Product Name System Version'
+ model=' System Version'
+ model=' '
+ model=' '
+ model=' '
+ model=' '
+ model=' '
+ model=' '
+ model=' '
+ model=' '
+ case $model in
+ [[ -n '' ]]
+ [[ -n model ]]
++ trim ' '
++ set -f
++ set --
++ printf '%s\n' ''
++ set +f
+ output=
+ [[ -n model ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ err 'Info: Couldn'\''t detect Host.'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Info: Couldn'\''t detect Host.
'
+ 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.19.0-35-generic
+ [[ Linux =~ (BSD|MINIX) ]]
+ [[ -n '' ]]
+ [[ -n kernel ]]
++ trim 5.19.0-35-generic
++ set -f
++ set -- 5.19.0-35-generic
++ printf '%s\n' 5.19.0-35-generic
++ set +f
+ output=5.19.0-35-generic
+ [[ -n kernel ]]
+ [[ -n 5.19.0-35-generic ]]
+ prin Kernel 5.19.0-35-generic
++ trim Kernel
++ set -f
++ set -- Kernel
++ printf '%s\n' Kernel
++ set +f
+ [[ -n Kernel ]]
+ [[ -n 5.19.0-35-generic ]]
+ [[ -n '' ]]
+ string='Kernel: 5.19.0-35-generic'
++ trim 'Kernel: 5.19.0-35-generic'
++ set -f
++ set -- Kernel: 5.19.0-35-generic
++ printf '%s\n' 'Kernel: 5.19.0-35-generic'
++ set +f
+ string='Kernel: 5.19.0-35-generic'
++ strip_sequences 'Kernel: 5.19.0-35-generic'
++ strip='Kernel: 5.19.0-35-generic'
++ strip='Kernel: 5.19.0-35-generic'
++ strip='Kernel: 5.19.0-35-generic'
++ strip='Kernel: 5.19.0-35-generic'
++ strip='Kernel: 5.19.0-35-generic'
++ strip='Kernel: 5.19.0-35-generic'
++ printf '%s\n' 'Kernel: 5.19.0-35-generic'
+ length='Kernel: 5.19.0-35-generic'
+ length=25
+ string='Kernel\e[0m\e[0m:\e[0m 5.19.0-35-generic'
+ string='\e[1mKernel\e[0m\e[0m:\e[0m 5.19.0-35-generic'
+ printf '%b\n' '\e[43C\e[1mKernel\e[0m\e[0m:\e[0m 5.19.0-35-generic\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='9326.26 108040.81'
+ s=9326
+ d='0 days'
+ h='2 hours'
+ m='35 mins'
+ (( 0 == 1 ))
+ (( 2 == 1 ))
+ (( 35 == 1 ))
+ (( 0 == 0 ))
+ unset d
+ (( 2 == 0 ))
+ (( 35 == 0 ))
+ uptime='2 hours, 35 mins'
+ uptime='2 hours, 35 mins'
+ uptime='2 hours, 35 mins'
+ case $uptime_shorthand in
+ [[ -n '' ]]
+ [[ -n uptime ]]
++ trim '2 hours, 35 mins'
++ set -f
++ set -- 2 hours, 35 mins
++ printf '%s\n' '2 hours, 35 mins'
++ set +f
+ output='2 hours, 35 mins'
+ [[ -n uptime ]]
+ [[ -n 2hours,35mins ]]
+ prin Uptime '2 hours, 35 mins'
++ trim Uptime
++ set -f
++ set -- Uptime
++ printf '%s\n' Uptime
++ set +f
+ [[ -n Uptime ]]
+ [[ -n 2 hours, 35 mins ]]
+ [[ -n '' ]]
+ string='Uptime: 2 hours, 35 mins'
++ trim 'Uptime: 2 hours, 35 mins'
++ set -f
++ set -- Uptime: 2 hours, 35 mins
++ printf '%s\n' 'Uptime: 2 hours, 35 mins'
++ set +f
+ string='Uptime: 2 hours, 35 mins'
++ strip_sequences 'Uptime: 2 hours, 35 mins'
++ strip='Uptime: 2 hours, 35 mins'
++ strip='Uptime: 2 hours, 35 mins'
++ strip='Uptime: 2 hours, 35 mins'
++ strip='Uptime: 2 hours, 35 mins'
++ strip='Uptime: 2 hours, 35 mins'
++ strip='Uptime: 2 hours, 35 mins'
++ printf '%s\n' 'Uptime: 2 hours, 35 mins'
+ length='Uptime: 2 hours, 35 mins'
+ length=24
+ string='Uptime\e[0m\e[0m:\e[0m 2 hours, 35 mins'
+ string='\e[1mUptime\e[0m\e[0m:\e[0m 2 hours, 35 mins'
+ printf '%b\n' '\e[43C\e[1mUptime\e[0m\e[0m:\e[0m 2 hours, 35 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
+ has dpkg
+ type -p dpkg
+ manager=dpkg
+ tot dpkg-query -f '.\n' -W
+ IFS='
'
+ read -d '' -ra pkgs
++ dpkg-query -f '.\n' -W
+ (( packages+=2296 ))
+ pac 2296
+ (( 2296 > 0 ))
+ managers+=("$1 (${manager})")
+ manager_string+='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=snap
+ ps -e
+ grep -qFm 1 snapd
+ tot snap list
+ IFS='
'
+ read -d '' -ra pkgs
++ snap list
+ (( packages+=10 ))
+ pac 10
+ (( 10 > 0 ))
+ managers+=("$1 (${manager})")
+ manager_string+='snap, '
+ (( packages-=1 ))
+ manager=appimage
+ has appimaged
+ type -p appimaged
+ (( packages == 0 ))
+ [[ on == on ]]
+ printf -v packages '%s, ' '2296 (dpkg)' '10 (snap)'
+ packages='2296 (dpkg), 10 (snap)'
+ packages='2296 (dpkg), 10 (snap)'
+ [[ -n '' ]]
+ [[ -n packages ]]
++ trim '2296 (dpkg), 10 (snap)'
++ set -f
++ set -- 2296 '(dpkg),' 10 '(snap)'
++ printf '%s\n' '2296 (dpkg), 10 (snap)'
++ set +f
+ output='2296 (dpkg), 10 (snap)'
+ [[ -n packages ]]
+ [[ -n 2296(dpkg),10(snap) ]]
+ prin Packages '2296 (dpkg), 10 (snap)'
++ trim Packages
++ set -f
++ set -- Packages
++ printf '%s\n' Packages
++ set +f
+ [[ -n Packages ]]
+ [[ -n 2296 (dpkg), 10 (snap) ]]
+ [[ -n '' ]]
+ string='Packages: 2296 (dpkg), 10 (snap)'
++ trim 'Packages: 2296 (dpkg), 10 (snap)'
++ set -f
++ set -- Packages: 2296 '(dpkg),' 10 '(snap)'
++ printf '%s\n' 'Packages: 2296 (dpkg), 10 (snap)'
++ set +f
+ string='Packages: 2296 (dpkg), 10 (snap)'
++ strip_sequences 'Packages: 2296 (dpkg), 10 (snap)'
++ strip='Packages: 2296 (dpkg), 10 (snap)'
++ strip='Packages: 2296 (dpkg), 10 (snap)'
++ strip='Packages: 2296 (dpkg), 10 (snap)'
++ strip='Packages: 2296 (dpkg), 10 (snap)'
++ strip='Packages: 2296 (dpkg), 10 (snap)'
++ strip='Packages: 2296 (dpkg), 10 (snap)'
++ printf '%s\n' 'Packages: 2296 (dpkg), 10 (snap)'
+ length='Packages: 2296 (dpkg), 10 (snap)'
+ length=32
+ string='Packages\e[0m\e[0m:\e[0m 2296 (dpkg), 10 (snap)'
+ string='\e[1mPackages\e[0m\e[0m:\e[0m 2296 (dpkg), 10 (snap)'
+ printf '%b\n' '\e[43C\e[1mPackages\e[0m\e[0m:\e[0m 2296 (dpkg), 10 (snap)\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.16(1)-release ]]
+ shell+='5.1.16(1)'
+ shell='bash 5.1.16(1)'
+ shell='bash 5.1.16(1)'
+ shell='bash 5.1.16(1)'
+ shell='bash 5.1.16'
+ [[ -n '' ]]
+ [[ -n shell ]]
++ trim 'bash 5.1.16'
++ set -f
++ set -- bash 5.1.16
++ printf '%s\n' 'bash 5.1.16'
++ set +f
+ output='bash 5.1.16'
+ [[ -n shell ]]
+ [[ -n bash5.1.16 ]]
+ prin Shell 'bash 5.1.16'
++ trim Shell
++ set -f
++ set -- Shell
++ printf '%s\n' Shell
++ set +f
+ [[ -n Shell ]]
+ [[ -n bash 5.1.16 ]]
+ [[ -n '' ]]
+ string='Shell: bash 5.1.16'
++ trim 'Shell: bash 5.1.16'
++ set -f
++ set -- Shell: bash 5.1.16
++ printf '%s\n' 'Shell: bash 5.1.16'
++ set +f
+ string='Shell: bash 5.1.16'
++ strip_sequences 'Shell: bash 5.1.16'
++ strip='Shell: bash 5.1.16'
++ strip='Shell: bash 5.1.16'
++ strip='Shell: bash 5.1.16'
++ strip='Shell: bash 5.1.16'
++ strip='Shell: bash 5.1.16'
++ strip='Shell: bash 5.1.16'
++ printf '%s\n' 'Shell: bash 5.1.16'
+ length='Shell: bash 5.1.16'
+ length=18
+ string='Shell\e[0m\e[0m:\e[0m bash 5.1.16'
+ string='\e[1mShell\e[0m\e[0m:\e[0m bash 5.1.16'
+ printf '%b\n' '\e[43C\e[1mShell\e[0m\e[0m:\e[0m bash 5.1.16\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
+ [[ -n '' ]]
+ type -p xwininfo
+ [[ -n '' ]]
+ type -p xdpyinfo
+ [[ -n '' ]]
+ [[ -d /sys/class/drm ]]
+ for dev in /sys/class/drm/*/modes
+ read -r resolution _
/usr/bin/neofetch: line 2967: /sys/class/drm/*/modes: No such file or directory
+ [[ -n '' ]]
+ resolution=
+ [[ -z '' ]]
+ resolution=
+ [[ -n '' ]]
+ [[ -n resolution ]]
++ trim ''
++ set -f
++ set --
++ printf '%s\n' ''
++ set +f
+ output=
+ [[ -n resolution ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ err 'Info: Couldn'\''t detect Resolution.'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Info: Couldn'\''t detect Resolution.
'
+ 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=
+ [[ screen-256color == \t\w\5\2 ]]
+ [[ screen-256color == \t\w\1\0\0 ]]
+ [[ -n 127.0.0.1 41154 127.0.0.1 3297 ]]
+ term=/dev/pts/3
+ [[ -n '' ]]
+ [[ -z /dev/pts/3 ]]
+ term_run=1
+ [[ -n '' ]]
+ [[ -n term ]]
++ trim /dev/pts/3
++ set -f
++ set -- /dev/pts/3
++ printf '%s\n' /dev/pts/3
++ set +f
+ output=/dev/pts/3
+ [[ -n term ]]
+ [[ -n /dev/pts/3 ]]
+ prin Terminal /dev/pts/3
++ trim Terminal
++ set -f
++ set -- Terminal
++ printf '%s\n' Terminal
++ set +f
+ [[ -n Terminal ]]
+ [[ -n /dev/pts/3 ]]
+ [[ -n '' ]]
+ string='Terminal: /dev/pts/3'
++ trim 'Terminal: /dev/pts/3'
++ set -f
++ set -- Terminal: /dev/pts/3
++ printf '%s\n' 'Terminal: /dev/pts/3'
++ set +f
+ string='Terminal: /dev/pts/3'
++ strip_sequences 'Terminal: /dev/pts/3'
++ strip='Terminal: /dev/pts/3'
++ strip='Terminal: /dev/pts/3'
++ strip='Terminal: /dev/pts/3'
++ strip='Terminal: /dev/pts/3'
++ strip='Terminal: /dev/pts/3'
++ strip='Terminal: /dev/pts/3'
++ printf '%s\n' 'Terminal: /dev/pts/3'
+ length='Terminal: /dev/pts/3'
+ length=20
+ string='Terminal\e[0m\e[0m:\e[0m /dev/pts/3'
+ string='\e[1mTerminal\e[0m\e[0m:\e[0m /dev/pts/3'
+ printf '%b\n' '\e[43C\e[1mTerminal\e[0m\e[0m:\e[0m /dev/pts/3\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='Intel(R) Core(TM) i7-8700K CPU'
+ speed_dir=/sys/devices/system/cpu/cpu0/cpufreq
+ for temp_dir in /sys/class/hwmon/*
+ [[ nvme =~ (coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ nvme =~ (coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ nvme =~ (coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ asus =~ (coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ coretemp =~ (coretemp|fam15h_power|k10temp) ]]
+ temp_dirs=("$temp_dir"/temp*_input)
+ temp_dir=/sys/class/hwmon/hwmon4/temp1_input
+ break
+ [[ -d /sys/devices/system/cpu/cpu0/cpufreq ]]
/usr/bin/neofetch: line 2110: /sys/devices/system/cpu/cpu0/cpufreq/bios_limit: No such file or directory
+ speed=
/usr/bin/neofetch: line 2111: /sys/devices/system/cpu/cpu0/cpufreq/bios_limit: No such file or directory
+ speed=
+ speed=4900000
+ speed=4900
+ [[ -f /sys/class/hwmon/hwmon4/temp1_input ]]
+ deg=390
+ case $cpu_cores in
++ grep -c '^processor' /proc/cpuinfo
+ cores=12
+ cpu='Intel(R) Core i7-8700K CPU'
+ cpu='Intel(R) Core i7-8700K CPU'
+ cpu='Intel Core i7-8700K CPU'
+ cpu='Intel Core i7-8700K CPU'
+ cpu='Intel Core i7-8700K '
+ cpu='Intel Core i7-8700K '
+ cpu='Intel Core i7-8700K '
+ cpu='Intel Core i7-8700K '
+ cpu='Intel Core i7-8700K '
+ cpu='Intel Core i7-8700K '
+ cpu='Intel Core i7-8700K '
+ cpu='Intel Core i7-8700K '
+ cpu='Intel Core i7-8700K '
+ cpu='Intel i7-8700K '
+ cpu='Intel i7-8700K '
+ cpu='Intel i7-8700K '
+ cpu='Intel i7-8700K '
+ cpu='Intel i7-8700K '
+ cpu='Intel i7-8700K '
+ cpu='Intel i7-8700K '
+ cpu='Intel i7-8700K '
+ cores=12
+ speed=4900
+ [[ on == \o\f\f ]]
+ [[ logical != \o\f\f ]]
+ [[ -n 12 ]]
+ case $os in
+ cpu='Intel i7-8700K (12)'
+ [[ on != \o\f\f ]]
+ [[ -n 4900 ]]
+ (( speed < 1000 ))
+ [[ off == \o\n ]]
+ speed=4.900
+ cpu='Intel i7-8700K (12) @ 4.900GHz'
+ [[ off != \o\f\f ]]
+ [[ -n '' ]]
+ [[ -n cpu ]]
++ trim 'Intel i7-8700K (12) @ 4.900GHz'
++ set -f
++ set -- Intel i7-8700K '(12)' @ 4.900GHz
++ printf '%s\n' 'Intel i7-8700K (12) @ 4.900GHz'
++ set +f
+ output='Intel i7-8700K (12) @ 4.900GHz'
+ [[ -n cpu ]]
+ [[ -n Inteli7-8700K(12)@4.900GHz ]]
+ prin CPU 'Intel i7-8700K (12) @ 4.900GHz'
++ trim CPU
++ set -f
++ set -- CPU
++ printf '%s\n' CPU
++ set +f
+ [[ -n CPU ]]
+ [[ -n Intel i7-8700K (12) @ 4.900GHz ]]
+ [[ -n '' ]]
+ string='CPU: Intel i7-8700K (12) @ 4.900GHz'
++ trim 'CPU: Intel i7-8700K (12) @ 4.900GHz'
++ set -f
++ set -- CPU: Intel i7-8700K '(12)' @ 4.900GHz
++ printf '%s\n' 'CPU: Intel i7-8700K (12) @ 4.900GHz'
++ set +f
+ string='CPU: Intel i7-8700K (12) @ 4.900GHz'
++ strip_sequences 'CPU: Intel i7-8700K (12) @ 4.900GHz'
++ strip='CPU: Intel i7-8700K (12) @ 4.900GHz'
++ strip='CPU: Intel i7-8700K (12) @ 4.900GHz'
++ strip='CPU: Intel i7-8700K (12) @ 4.900GHz'
++ strip='CPU: Intel i7-8700K (12) @ 4.900GHz'
++ strip='CPU: Intel i7-8700K (12) @ 4.900GHz'
++ strip='CPU: Intel i7-8700K (12) @ 4.900GHz'
++ printf '%s\n' 'CPU: Intel i7-8700K (12) @ 4.900GHz'
+ length='CPU: Intel i7-8700K (12) @ 4.900GHz'
+ length=35
+ string='CPU\e[0m\e[0m:\e[0m Intel i7-8700K (12) @ 4.900GHz'
+ string='\e[1mCPU\e[0m\e[0m:\e[0m Intel i7-8700K (12) @ 4.900GHz'
+ printf '%b\n' '\e[43C\e[1mCPU\e[0m\e[0m:\e[0m Intel i7-8700K (12) @ 4.900GHz\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]}}'
+ gpu_cmd='01:00.0 NVIDIA Corporation GA102 [GeForce RTX 3080 Ti]'
+ IFS='
'
+ read -d '' -ra gpus
+ [[ 01:00.0 NVIDIA Corporation GA102 [GeForce RTX 3080 Ti] == *Intel* ]]
+ for gpu in "${gpus[@]}"
+ [[ all == \d\e\d\i\c\a\t\e\d ]]
+ [[ all == \i\n\t\e\g\r\a\t\e\d ]]
+ case $gpu in
+ gpu='GeForce RTX 3080 Ti]'
+ gpu='GeForce RTX 3080 Ti'
+ gpu='NVIDIA GeForce RTX 3080 Ti'
+ [[ on == \o\f\f ]]
+ prin GPU 'NVIDIA GeForce RTX 3080 Ti'
++ trim GPU
++ set -f
++ set -- GPU
++ printf '%s\n' GPU
++ set +f
+ [[ -n GPU ]]
+ [[ -n NVIDIA GeForce RTX 3080 Ti ]]
+ [[ -n '' ]]
+ string='GPU: NVIDIA GeForce RTX 3080 Ti'
++ trim 'GPU: NVIDIA GeForce RTX 3080 Ti'
++ set -f
++ set -- GPU: NVIDIA GeForce RTX 3080 Ti
++ printf '%s\n' 'GPU: NVIDIA GeForce RTX 3080 Ti'
++ set +f
+ string='GPU: NVIDIA GeForce RTX 3080 Ti'
++ strip_sequences 'GPU: NVIDIA GeForce RTX 3080 Ti'
++ strip='GPU: NVIDIA GeForce RTX 3080 Ti'
++ strip='GPU: NVIDIA GeForce RTX 3080 Ti'
++ strip='GPU: NVIDIA GeForce RTX 3080 Ti'
++ strip='GPU: NVIDIA GeForce RTX 3080 Ti'
++ strip='GPU: NVIDIA GeForce RTX 3080 Ti'
++ strip='GPU: NVIDIA GeForce RTX 3080 Ti'
++ printf '%s\n' 'GPU: NVIDIA GeForce RTX 3080 Ti'
+ length='GPU: NVIDIA GeForce RTX 3080 Ti'
+ length=31
+ string='GPU\e[0m\e[0m:\e[0m NVIDIA GeForce RTX 3080 Ti'
+ string='\e[1mGPU\e[0m\e[0m:\e[0m NVIDIA GeForce RTX 3080 Ti'
+ printf '%b\n' '\e[43C\e[1mGPU\e[0m\e[0m:\e[0m NVIDIA GeForce RTX 3080 Ti\e[0m '
+ (( ++info_height ))
+ prin=1
+ return
+ [[ -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+= 32798816 ))
+ mem_total=' 32798816 '
+ IFS=:
+ read -r a b
+ case $a in
+ mem_used=7581428
+ IFS=:
+ read -r a b
+ case $a in
+ IFS=:
+ read -r a b
+ case $a in
+ mem_used=7228704
+ IFS=:
+ read -r a b
+ case $a in
+ mem_used=4240576
+ 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
+ IFS=:
+ read -r a b
+ case $a in
+ IFS=:
+ read -r a b
+ case $a in
+ (( mem_used+= 133184 ))
+ 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=4231464
+ 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
+ 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=4132
+ mem_total=32030
+ [[ off == \o\n ]]
+ case $memory_unit in
+ memory='4132MiB / 32030MiB '
+ case $memory_display in
+ [[ -n '' ]]
+ [[ -n memory ]]
++ trim '4132MiB / 32030MiB '
++ set -f
++ set -- 4132MiB / 32030MiB
++ printf '%s\n' '4132MiB / 32030MiB'
++ set +f
+ output='4132MiB / 32030MiB'
+ [[ -n memory ]]
+ [[ -n 4132MiB/32030MiB ]]
+ prin Memory '4132MiB / 32030MiB'
++ trim Memory
++ set -f
++ set -- Memory
++ printf '%s\n' Memory
++ set +f
+ [[ -n Memory ]]
+ [[ -n 4132MiB / 32030MiB ]]
+ [[ -n '' ]]
+ string='Memory: 4132MiB / 32030MiB'
++ trim 'Memory: 4132MiB / 32030MiB'
++ set -f
++ set -- Memory: 4132MiB / 32030MiB
++ printf '%s\n' 'Memory: 4132MiB / 32030MiB'
++ set +f
+ string='Memory: 4132MiB / 32030MiB'
++ strip_sequences 'Memory: 4132MiB / 32030MiB'
++ strip='Memory: 4132MiB / 32030MiB'
++ strip='Memory: 4132MiB / 32030MiB'
++ strip='Memory: 4132MiB / 32030MiB'
++ strip='Memory: 4132MiB / 32030MiB'
++ strip='Memory: 4132MiB / 32030MiB'
++ strip='Memory: 4132MiB / 32030MiB'
++ printf '%s\n' 'Memory: 4132MiB / 32030MiB'
+ length='Memory: 4132MiB / 32030MiB'
+ length=26
+ string='Memory\e[0m\e[0m:\e[0m 4132MiB / 32030MiB'
+ string='\e[1mMemory\e[0m\e[0m:\e[0m 4132MiB / 32030MiB'
+ printf '%b\n' '\e[43C\e[1mMemory\e[0m\e[0m:\e[0m 4132MiB / 32030MiB\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' 43 '        
        '
+ 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 %6s
+ printf %b '\n\n\n\n\n\n'
+ [[ ascii == *w3m* ]]
+ err 'Neofetch command: /usr/bin/neofetch --jp2a --source /home/aleixmt/.customizer/bin/opensshServer/logo.png -vv'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Neofetch command: /usr/bin/neofetch --jp2a --source /home/aleixmt/.customizer/bin/opensshServer/logo.png -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/aleixmt/.config/neofetch/config.conf)
[!]\e[0m Image: Using image '\''/home/aleixmt/.customizer/bin/opensshServer/logo.png'\''
[!]\e[0m Image: Failed to find terminal window size.
[!]\e[0m Image: Check the '\''Images in the terminal'\'' wiki page for more info,
[!]\e[0m Info: Couldn'\''t detect Host.
[!]\e[0m Info: Couldn'\''t detect Resolution.
[!]\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 Neofetch command: /usr/bin/neofetch --jp2a --source /home/aleixmt/.customizer/bin/opensshServer/logo.png -vv
[!]\e[0m Neofetch version: 7.1.0
'
[!] Config: Sourced user config. (/home/aleixmt/.config/neofetch/config.conf)
[!] Image: Using image '/home/aleixmt/.customizer/bin/opensshServer/logo.png'
[!] Image: Failed to find terminal window size.
[!] Image: Check the 'Images in the terminal' wiki page for more info,
[!] Info: Couldn't detect Host.
[!] Info: Couldn't detect Resolution.
[!] 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.
[!] Neofetch command: /usr/bin/neofetch --jp2a --source /home/aleixmt/.customizer/bin/opensshServer/logo.png -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