Created
May 18, 2020 09:42
-
-
Save zamiur/ebc6d88682bef1c7b2bdaf4ad46b7518 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ 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 10 Enterprise | |
' | |
+ distro=' | |
Microsoft Windows 10 Enterprise | |
' | |
+ distro=' | |
Windows 10 Enterprise | |
' | |
+ distro=' | |
Windows 10 Enterprise | |
' | |
+ [[ -n | |
Windows 10 Enterprise | |
]] | |
+ case $os in | |
+ machine_arch=x86_64 | |
+ [[ on == on ]] | |
+ distro+=' x86_64' | |
+ [[ auto == auto ]] | |
++ trim ' | |
Windows 10 Enterprise | |
x86_64' | |
++ set -f | |
++ set -- $'\r\r' Windows 10 Enterprise $'\r\r' $'\r' x86_64 | |
++ printf '%s\n' ' Windows 10 Enterprise x86_64' | |
++ set +f | |
+ ascii_distro=' Windows 10 Enterprise 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 10 Enterprise x86_64' | |
++ set -f | |
++ set -- Windows 10 Enterprise x86_64 | |
++ printf '%s\n' 'Windows 10 Enterprise x86_64' | |
++ set +f | |
+ set_colors 6 7 | |
++ color 6 | |
++ case $1 in | |
++ printf '%b\e[3%sm' '\e[0m' 6 | |
+ c1='[0m[36m\e[1m' | |
++ color 7 | |
++ case $1 in | |
++ printf '\e[37m%b' '\e[0m' | |
+ c2='[37m[0m\e[1m' | |
++ color '' | |
++ case $1 in | |
++ printf '\e[38;5;%bm' '' | |
+ c3='[38;5;m\e[1m' | |
++ color '' | |
++ case $1 in | |
++ printf '\e[38;5;%bm' '' | |
+ c4='[38;5;m\e[1m' | |
++ color '' | |
++ case $1 in | |
++ printf '\e[38;5;%bm' '' | |
+ c5='[38;5;m\e[1m' | |
++ color '' | |
++ case $1 in | |
++ printf '\e[38;5;%bm' '' | |
+ c6='[38;5;m\e[1m' | |
+ [[ '' != \o\f\f ]] | |
+ set_text_colors 6 7 | |
+ [[ distro == \d\i\s\t\r\o ]] | |
++ color 6 | |
++ case $1 in | |
++ printf '%b\e[3%sm' '\e[0m' 6 | |
+ title_color='[0m[36m' | |
+ at_color='\e[0m' | |
+ underline_color='\e[0m' | |
++ color 7 | |
++ case $1 in | |
++ printf '\e[37m%b' '\e[0m' | |
+ subtitle_color='[37m[0m' | |
+ colon_color='\e[0m' | |
+ info_color='\e[0m' | |
+ (( 6 == 8 )) | |
+ (( 7 == 8 )) | |
+ (( 7 == 7 )) | |
++ color 6 | |
++ case $1 in | |
++ printf '%b\e[3%sm' '\e[0m' 6 | |
+ subtitle_color='[0m[36m' | |
+ (( 6 == 7 )) | |
+ [[ distro == \d\i\s\t\r\o ]] | |
++ color fg | |
++ case $1 in | |
++ printf '\e[37m%b' '\e[0m' | |
+ bar_color_elapsed='[37m[0m' | |
+ case ${bar_color_total}${1} in | |
++ color 6 | |
++ case $1 in | |
++ printf '%b\e[3%sm' '\e[0m' 6 | |
+ bar_color_total='[0m[36m' | |
+ read -rd '' ascii_data | |
+ [[ distro != distro ]] | |
+ [[ off == on ]] | |
+ [[ cygwin != 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=en_US.UTF-8 | |
+ IFS=' | |
' | |
+ read -r line | |
+ line=' ..,' | |
+ line=' ..,' | |
+ (( ++lines,35>ascii_len )) | |
+ ascii_len=35 | |
+ IFS=' | |
' | |
+ read -r line | |
+ line=' ....,,:;+ccllll' | |
+ line=' ....,,:;+ccllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line=' ...,,+:; cllllllllllllllllll' | |
+ line=' ...,,+:; cllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line=',cclllllllllll lllllllllllllllllll' | |
+ line=',cclllllllllll lllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line= | |
+ line= | |
+ (( ++lines,0>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ line='llllllllllllll lllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line='`'\''ccllllllllll lllllllllllllllllll' | |
+ line='`'\''ccllllllllll lllllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line=' `'\'' \*:: :ccllllllllllllllll' | |
+ line=' `'\'' \*:: :ccllllllllllllllll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line=' ````'\'''\''*::cll' | |
+ line=' ````'\'''\''*::cll' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ line=' ``' | |
+ line=' ``' | |
+ (( ++lines,35>ascii_len )) | |
+ IFS=' | |
' | |
+ read -r line | |
+ (( lines==1 )) | |
+ ascii_data='[0m[36m\e[1m .., | |
....,,:;+ccllll | |
...,,+:; cllllllllllllllllll | |
,cclllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
`'\''ccllllllllll lllllllllllllllllll | |
`'\'' \\*:: :ccllllllllllllllll | |
````'\'''\''*::cll | |
``' | |
+ ascii_data='[0m[36m\e[1m .., | |
....,,:;+ccllll | |
...,,+:; cllllllllllllllllll | |
,cclllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
`'\''ccllllllllll lllllllllllllllllll | |
`'\'' \\*:: :ccllllllllllllllll | |
````'\'''\''*::cll | |
``' | |
+ ascii_data='[0m[36m\e[1m .., | |
....,,:;+ccllll | |
...,,+:; cllllllllllllllllll | |
,cclllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
`'\''ccllllllllll lllllllllllllllllll | |
`'\'' \\*:: :ccllllllllllllllll | |
````'\'''\''*::cll | |
``' | |
+ ascii_data='[0m[36m\e[1m .., | |
....,,:;+ccllll | |
...,,+:; cllllllllllllllllll | |
,cclllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
`'\''ccllllllllll lllllllllllllllllll | |
`'\'' \\*:: :ccllllllllllllllll | |
````'\'''\''*::cll | |
``' | |
+ ascii_data='[0m[36m\e[1m .., | |
....,,:;+ccllll | |
...,,+:; cllllllllllllllllll | |
,cclllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
`'\''ccllllllllll lllllllllllllllllll | |
`'\'' \\*:: :ccllllllllllllllll | |
````'\'''\''*::cll | |
``' | |
+ ascii_data='[0m[36m\e[1m .., | |
....,,:;+ccllll | |
...,,+:; cllllllllllllllllll | |
,cclllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
`'\''ccllllllllll lllllllllllllllllll | |
`'\'' \\*:: :ccllllllllllllllll | |
````'\'''\''*::cll | |
``' | |
+ (( text_padding=ascii_len+gap )) | |
+ printf '%b\n' '[0m[36m\e[1m .., | |
....,,:;+ccllll | |
...,,+:; cllllllllllllllllll | |
,cclllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
llllllllllllll lllllllllllllllllll | |
`'\''ccllllllllll lllllllllllllllllll | |
`'\'' \\*:: :ccllllllllllllllll | |
````'\'''\''*::cll | |
``\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 | |
++ id -un | |
+ user=Zamiur | |
+ case $title_fqdn in | |
+ hostname=Not-A-ThinkPad | |
+ title='[0m[36m\e[1mZamiur\e[0m@[0m[36m\e[1mNot-A-ThinkPad' | |
+ length=21 | |
+ [[ -n '' ]] | |
++ trim '[0m[36m\e[1mZamiur\e[0m@[0m[36m\e[1mNot-A-ThinkPad' | |
++ set -f | |
++ set -- '[0m[36m\e[1mZamiur\e[0m@[0m[36m\e[1mNot-A-ThinkPad' | |
++ printf '%s\n' '[0m[36m\e[1mZamiur\e[0m@[0m[36m\e[1mNot-A-ThinkPad' | |
++ set +f | |
+ output='[0m[36m\e[1mZamiur\e[0m@[0m[36m\e[1mNot-A-ThinkPad' | |
+ [[ -n '' ]] | |
+ [[ -n [0m[36m\e[1mZamiur\e[0m@[0m[36m\e[1mNot-A-ThinkPad ]] | |
+ prin '[0m[36m\e[1mZamiur\e[0m@[0m[36m\e[1mNot-A-ThinkPad' | |
++ trim '[0m[36m\e[1mZamiur\e[0m@[0m[36m\e[1mNot-A-ThinkPad' | |
++ set -f | |
++ set -- '[0m[36m\e[1mZamiur\e[0m@[0m[36m\e[1mNot-A-ThinkPad' | |
++ printf '%s\n' '[0m[36m\e[1mZamiur\e[0m@[0m[36m\e[1mNot-A-ThinkPad' | |
++ set +f | |
+ [[ -n [0m[36m\e[1mZamiur\e[0m@[0m[36m\e[1mNot-A-ThinkPad ]] | |
+ [[ -n '' ]] | |
+ string='[0m[36m\e[1mZamiur\e[0m@[0m[36m\e[1mNot-A-ThinkPad' | |
+ local 'subtitle_color=\e[0m' | |
++ trim '[36m\e[1mZamiur\e[0m@[36m\e[1mNot-A-ThinkPad' | |
++ set -f | |
++ set -- '[36m\e[1mZamiur\e[0m@[36m\e[1mNot-A-ThinkPad' | |
++ printf '%s\n' '[36m\e[1mZamiur\e[0m@[36m\e[1mNot-A-ThinkPad' | |
++ set +f | |
+ string='[36m\e[1mZamiur\e[0m@[36m\e[1mNot-A-ThinkPad' | |
++ strip_sequences '[36m\e[1mZamiur\e[0m@[36m\e[1mNot-A-ThinkPad' | |
++ strip='\e[1mZamiur\e[0m@\e[1mNot-A-ThinkPad' | |
++ strip='\e[1mZamiur\e[0m@\e[1mNot-A-ThinkPad' | |
++ strip=Zamiur@Not-A-ThinkPad | |
++ strip=Zamiur@Not-A-ThinkPad | |
++ strip=Zamiur@Not-A-ThinkPad | |
++ strip=Zamiur@Not-A-ThinkPad | |
++ printf '%s\n' Zamiur@Not-A-ThinkPad | |
+ length=Zamiur@Not-A-ThinkPad | |
+ length=21 | |
+ string='[36m\e[1mZamiur\e[0m@[36m\e[1mNot-A-ThinkPad' | |
+ string='\e[0m\e[1m[36m\e[1mZamiur\e[0m@[36m\e[1mNot-A-ThinkPad' | |
+ printf '%b\n' '\e[38C\e[0m\e[1m[36m\e[1mZamiur\e[0m@[36m\e[1mNot-A-ThinkPad\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info underline | |
+ [[ -n '' ]] | |
+ unset -v prin | |
+ get_underline | |
+ [[ on == \o\n ]] | |
+ printf -v underline %21s | |
+ printf '%b%b\n' '\e[38C\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 10 Enterprise | |
x86_64 ]] | |
+ return | |
+ [[ -n '' ]] | |
++ trim ' | |
Windows 10 Enterprise | |
x86_64' | |
++ set -f | |
++ set -- $'\r\r' Windows 10 Enterprise $'\r\r' $'\r' x86_64 | |
++ printf '%s\n' ' Windows 10 Enterprise x86_64' | |
++ set +f | |
+ output=' Windows 10 Enterprise x86_64' | |
+ [[ -n distro ]] | |
+ [[ -n Windows10Enterprisex86_64 ]] | |
+ prin OS ' Windows 10 Enterprise x86_64' | |
++ trim OS | |
++ set -f | |
++ set -- OS | |
++ printf '%s\n' OS | |
++ set +f | |
+ [[ -n OS ]] | |
+ [[ -n Windows 10 Enterprise x86_64 ]] | |
+ [[ -n '' ]] | |
+ string='OS: Windows 10 Enterprise x86_64' | |
++ trim 'OS: Windows 10 Enterprise x86_64' | |
++ set -f | |
++ set -- OS: Windows 10 Enterprise x86_64 | |
++ printf '%s\n' 'OS: Windows 10 Enterprise x86_64' | |
++ set +f | |
+ string='OS: Windows 10 Enterprise x86_64' | |
++ strip_sequences 'OS: Windows 10 Enterprise x86_64' | |
++ strip='OS: Windows 10 Enterprise x86_64' | |
++ strip='OS: Windows 10 Enterprise x86_64' | |
++ strip='OS: Windows 10 Enterprise x86_64' | |
++ strip='OS: Windows 10 Enterprise x86_64' | |
++ strip='OS: Windows 10 Enterprise x86_64' | |
++ strip='OS: Windows 10 Enterprise x86_64' | |
++ printf '%s\n' 'OS: Windows 10 Enterprise x86_64' | |
+ length='OS: Windows 10 Enterprise x86_64' | |
+ length=32 | |
+ string='OS\e[0m\e[0m:\e[0m Windows 10 Enterprise x86_64' | |
+ string='[0m[36m\e[1mOS\e[0m\e[0m:\e[0m Windows 10 Enterprise x86_64' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mOS\e[0m\e[0m:\e[0m Windows 10 Enterprise 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 | |
++ wmic computersystem get manufacturer,model | |
+ model='Manufacturer Model | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' Model | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ model=' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
+ case $model in | |
+ [[ -n '' ]] | |
++ trim ' | |
HP HP Pavilion Gaming Laptop 15-ec0xxx | |
' | |
++ set -f | |
++ set -- $'\r\r' HP HP Pavilion Gaming Laptop 15-ec0xxx $'\r\r' $'\r' | |
++ printf '%s\n' ' HP HP Pavilion Gaming Laptop 15-ec0xxx ' | |
++ set +f | |
+ output=' HP HP Pavilion Gaming Laptop 15-ec0xxx ' | |
+ [[ -n model ]] | |
+ [[ -n HPHPPavilionGamingLaptop15-ec0xxx ]] | |
+ prin Host ' HP HP Pavilion Gaming Laptop 15-ec0xxx ' | |
++ trim Host | |
++ set -f | |
++ set -- Host | |
++ printf '%s\n' Host | |
++ set +f | |
+ [[ -n Host ]] | |
+ [[ -n HP HP Pavilion Gaming Laptop 15-ec0xxx ]] | |
+ [[ -n '' ]] | |
+ string='Host: HP HP Pavilion Gaming Laptop 15-ec0xxx ' | |
++ trim 'Host: HP HP Pavilion Gaming Laptop 15-ec0xxx ' | |
++ set -f | |
++ set -- Host: HP HP Pavilion Gaming Laptop 15-ec0xxx | |
++ printf '%s\n' 'Host: HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
++ set +f | |
+ string='Host: HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
++ strip_sequences 'Host: HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
++ strip='Host: HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
++ strip='Host: HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
++ strip='Host: HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
++ strip='Host: HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
++ strip='Host: HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
++ strip='Host: HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
++ printf '%s\n' 'Host: HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
+ length='Host: HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
+ length=44 | |
+ string='Host\e[0m\e[0m:\e[0m HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
+ string='[0m[36m\e[1mHost\e[0m\e[0m:\e[0m HP HP Pavilion Gaming Laptop 15-ec0xxx' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mHost\e[0m\e[0m:\e[0m HP HP Pavilion Gaming Laptop 15-ec0xxx\e[0m ' | |
+ (( ++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.18362 | |
' | |
+ kernel=' | |
10.0.18362 | |
' | |
+ return | |
+ [[ -n '' ]] | |
++ trim ' | |
10.0.18362 | |
' | |
++ set -f | |
++ set -- $'\r\r' 10.0.18362 $'\r\r' $'\r' | |
++ printf '%s\n' ' 10.0.18362 ' | |
++ set +f | |
+ output=' 10.0.18362 ' | |
+ [[ -n kernel ]] | |
+ [[ -n 10.0.18362 ]] | |
+ prin Kernel ' 10.0.18362 ' | |
++ trim Kernel | |
++ set -f | |
++ set -- Kernel | |
++ printf '%s\n' Kernel | |
++ set +f | |
+ [[ -n Kernel ]] | |
+ [[ -n 10.0.18362 ]] | |
+ [[ -n '' ]] | |
+ string='Kernel: 10.0.18362 ' | |
++ trim 'Kernel: 10.0.18362 ' | |
++ set -f | |
++ set -- Kernel: 10.0.18362 | |
++ printf '%s\n' 'Kernel: 10.0.18362' | |
++ set +f | |
+ string='Kernel: 10.0.18362' | |
++ strip_sequences 'Kernel: 10.0.18362' | |
++ strip='Kernel: 10.0.18362' | |
++ strip='Kernel: 10.0.18362' | |
++ strip='Kernel: 10.0.18362' | |
++ strip='Kernel: 10.0.18362' | |
++ strip='Kernel: 10.0.18362' | |
++ strip='Kernel: 10.0.18362' | |
++ printf '%s\n' 'Kernel: 10.0.18362' | |
+ length='Kernel: 10.0.18362' | |
+ length=18 | |
+ string='Kernel\e[0m\e[0m:\e[0m 10.0.18362' | |
+ string='[0m[36m\e[1mKernel\e[0m\e[0m:\e[0m 10.0.18362' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mKernel\e[0m\e[0m:\e[0m 10.0.18362\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='43591.41 34684.55' | |
+ s=43591 | |
+ d='0 days' | |
+ h='12 hours' | |
+ m='6 mins' | |
+ (( 0 == 1 )) | |
+ (( 12 == 1 )) | |
+ (( 6 == 1 )) | |
+ (( 0 == 0 )) | |
+ unset d | |
+ (( 12 == 0 )) | |
+ (( 6 == 0 )) | |
+ uptime='12 hours, 6 mins' | |
+ uptime='12 hours, 6 mins' | |
+ uptime='12 hours, 6 mins' | |
+ case $uptime_shorthand in | |
+ [[ -n '' ]] | |
++ trim '12 hours, 6 mins' | |
++ set -f | |
++ set -- 12 hours, 6 mins | |
++ printf '%s\n' '12 hours, 6 mins' | |
++ set +f | |
+ output='12 hours, 6 mins' | |
+ [[ -n uptime ]] | |
+ [[ -n 12hours,6mins ]] | |
+ prin Uptime '12 hours, 6 mins' | |
++ trim Uptime | |
++ set -f | |
++ set -- Uptime | |
++ printf '%s\n' Uptime | |
++ set +f | |
+ [[ -n Uptime ]] | |
+ [[ -n 12 hours, 6 mins ]] | |
+ [[ -n '' ]] | |
+ string='Uptime: 12 hours, 6 mins' | |
++ trim 'Uptime: 12 hours, 6 mins' | |
++ set -f | |
++ set -- Uptime: 12 hours, 6 mins | |
++ printf '%s\n' 'Uptime: 12 hours, 6 mins' | |
++ set +f | |
+ string='Uptime: 12 hours, 6 mins' | |
++ strip_sequences 'Uptime: 12 hours, 6 mins' | |
++ strip='Uptime: 12 hours, 6 mins' | |
++ strip='Uptime: 12 hours, 6 mins' | |
++ strip='Uptime: 12 hours, 6 mins' | |
++ strip='Uptime: 12 hours, 6 mins' | |
++ strip='Uptime: 12 hours, 6 mins' | |
++ strip='Uptime: 12 hours, 6 mins' | |
++ printf '%s\n' 'Uptime: 12 hours, 6 mins' | |
+ length='Uptime: 12 hours, 6 mins' | |
+ length=24 | |
+ string='Uptime\e[0m\e[0m:\e[0m 12 hours, 6 mins' | |
+ string='[0m[36m\e[1mUptime\e[0m\e[0m:\e[0m 12 hours, 6 mins' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mUptime\e[0m\e[0m:\e[0m 12 hours, 6 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 | |
+ case $kernel_name in | |
+ has scoop | |
+ type -p scoop | |
+ manager=scoop | |
+ dir /c/Users/Zamiur/scoop/apps/7zip /c/Users/Zamiur/scoop/apps/git-with-openssh /c/Users/Zamiur/scoop/apps/neofetch /c/Users/Zamiur/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 '' ]] | |
++ 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='[0m[36m\e[1mPackages\e[0m\e[0m:\e[0m 4 (scoop)' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mPackages\e[0m\e[0m:\e[0m 4 (scoop)\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 | |
+ shell+='4.4.23(1)' | |
+ shell='bash 4.4.23(1)' | |
+ shell='bash 4.4.23(1)' | |
+ shell='bash 4.4.23(1)' | |
+ shell='bash 4.4.23' | |
+ [[ -n '' ]] | |
++ trim 'bash 4.4.23' | |
++ set -f | |
++ set -- bash 4.4.23 | |
++ printf '%s\n' 'bash 4.4.23' | |
++ set +f | |
+ output='bash 4.4.23' | |
+ [[ -n shell ]] | |
+ [[ -n bash4.4.23 ]] | |
+ prin Shell 'bash 4.4.23' | |
++ trim Shell | |
++ set -f | |
++ set -- Shell | |
++ printf '%s\n' Shell | |
++ set +f | |
+ [[ -n Shell ]] | |
+ [[ -n bash 4.4.23 ]] | |
+ [[ -n '' ]] | |
+ string='Shell: bash 4.4.23' | |
++ trim 'Shell: bash 4.4.23' | |
++ set -f | |
++ set -- Shell: bash 4.4.23 | |
++ printf '%s\n' 'Shell: bash 4.4.23' | |
++ set +f | |
+ string='Shell: bash 4.4.23' | |
++ strip_sequences 'Shell: bash 4.4.23' | |
++ strip='Shell: bash 4.4.23' | |
++ strip='Shell: bash 4.4.23' | |
++ strip='Shell: bash 4.4.23' | |
++ strip='Shell: bash 4.4.23' | |
++ strip='Shell: bash 4.4.23' | |
++ strip='Shell: bash 4.4.23' | |
++ printf '%s\n' 'Shell: bash 4.4.23' | |
+ length='Shell: bash 4.4.23' | |
+ length=18 | |
+ string='Shell\e[0m\e[0m:\e[0m bash 4.4.23' | |
+ string='[0m[36m\e[1mShell\e[0m\e[0m:\e[0m bash 4.4.23' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mShell\e[0m\e[0m:\e[0m bash 4.4.23\e[0m ' | |
+ (( ++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 < 5 )) | |
+ [[ -n '' ]] | |
+ (( mn++ )) | |
+ (( mn < 5 )) | |
+ [[ -n '' ]] | |
+ (( mn++ )) | |
+ (( mn < 5 )) | |
+ [[ -n 1920 ]] | |
+ [[ -n 1080 ]] | |
+ resolution+='1920x1080, ' | |
+ (( mn++ )) | |
+ (( mn < 5 )) | |
+ [[ -n '' ]] | |
+ (( mn++ )) | |
+ (( mn < 5 )) | |
+ [[ -n '' ]] | |
+ (( mn++ )) | |
+ (( mn < 5 )) | |
+ resolution='1920x1080, ' | |
+ resolution=1920x1080 | |
+ [[ -z 19201080 ]] | |
+ [[ -n '' ]] | |
++ trim 1920x1080 | |
++ set -f | |
++ set -- 1920x1080 | |
++ printf '%s\n' 1920x1080 | |
++ set +f | |
+ output=1920x1080 | |
+ [[ -n resolution ]] | |
+ [[ -n 1920x1080 ]] | |
+ prin Resolution 1920x1080 | |
++ trim Resolution | |
++ set -f | |
++ set -- Resolution | |
++ printf '%s\n' Resolution | |
++ set +f | |
+ [[ -n Resolution ]] | |
+ [[ -n 1920x1080 ]] | |
+ [[ -n '' ]] | |
+ string='Resolution: 1920x1080' | |
++ trim 'Resolution: 1920x1080' | |
++ set -f | |
++ set -- Resolution: 1920x1080 | |
++ printf '%s\n' 'Resolution: 1920x1080' | |
++ set +f | |
+ string='Resolution: 1920x1080' | |
++ strip_sequences 'Resolution: 1920x1080' | |
++ strip='Resolution: 1920x1080' | |
++ strip='Resolution: 1920x1080' | |
++ strip='Resolution: 1920x1080' | |
++ strip='Resolution: 1920x1080' | |
++ strip='Resolution: 1920x1080' | |
++ strip='Resolution: 1920x1080' | |
++ printf '%s\n' 'Resolution: 1920x1080' | |
+ length='Resolution: 1920x1080' | |
+ length=21 | |
+ string='Resolution\e[0m\e[0m:\e[0m 1920x1080' | |
+ string='[0m[36m\e[1mResolution\e[0m\e[0m:\e[0m 1920x1080' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mResolution\e[0m\e[0m:\e[0m 1920x1080\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 | |
+ case $distro in | |
+ de=Aero | |
+ [[ -n '' ]] | |
+ case $de in | |
+ (( 0 >= 4 )) | |
+ [[ off == on ]] | |
+ de_run=1 | |
+ [[ -n '' ]] | |
++ 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='[0m[36m\e[1mDE\e[0m\e[0m:\e[0m Aero' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mDE\e[0m\e[0m:\e[0m Aero\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ unset -v subtitle | |
+ info WM wm | |
+ [[ -n wm ]] | |
+ subtitle=WM | |
+ unset -v prin | |
+ get_wm | |
+ (( wm_run == 1 )) | |
+ case $uname 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 == *GNOME*Shell* ]] | |
+ wm_run=1 | |
+ [[ -n '' ]] | |
++ 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='[0m[36m\e[1mWM\e[0m\e[0m:\e[0m Explorer' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mWM\e[0m\e[0m:\e[0m Explorer\e[0m ' | |
+ (( ++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\Zamiur\scoop\apps\neofetch\current\neofetch: line 1984: warning: command substitution: ignored null byte in input | |
+ wm_theme='C:\Users\Zamiur\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 '' ]] | |
++ 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='[0m[36m\e[1mWM Theme\e[0m\e[0m:\e[0m Custom' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mWM Theme\e[0m\e[0m:\e[0m Custom\e[0m ' | |
+ (( ++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 '' ]] | |
++ 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+='[0m[31m[!]\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 '' ]] | |
++ 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+='[0m[31m[!]\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= | |
+ [[ cygwin == \t\w\5\2 ]] | |
+ [[ cygwin == \t\w\1\0\0 ]] | |
+ [[ -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 '' ]] | |
++ 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+='[0m[31m[!]\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 '' ]] | |
C:\Users\Zamiur\scoop\apps\neofetch\current\neofetch: line 4261: Terminal Font: bad substitution | |
+ 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+='[0m[31m[!]\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 3750H with Radeon Vega Mobile Gfx ' | |
+ speed_dir=/sys/devices/system/cpu/cpu0/cpufreq | |
+ for temp_dir in /sys/class/hwmon/* | |
C:\Users\Zamiur\scoop\apps\neofetch\current\neofetch: line 2034: /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=2296 | |
+ speed=2296 | |
+ [[ -f /sys/class/hwmon/* ]] | |
+ case $cpu_cores in | |
++ grep -c '^processor' /proc/cpuinfo | |
+ cores=8 | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx ' | |
+ cores=8 | |
+ speed=2296 | |
+ [[ on == \o\f\f ]] | |
+ [[ logical != \o\f\f ]] | |
+ [[ -n 8 ]] | |
+ case $os in | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8)' | |
+ [[ on != \o\f\f ]] | |
+ [[ -n 2296 ]] | |
+ (( speed < 1000 )) | |
+ [[ off == \o\n ]] | |
+ speed=2.296 | |
+ cpu='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
+ [[ off != \o\f\f ]] | |
+ [[ -n '' ]] | |
++ trim 'AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ set -f | |
++ set -- AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx '(8)' @ 2.296GHz | |
++ printf '%s\n' 'AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ set +f | |
+ output='AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
+ [[ -n cpu ]] | |
+ [[ -n AMDRyzen73750HwithRadeonVegaMobileGfx(8)@2.296GHz ]] | |
+ prin CPU 'AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ trim CPU | |
++ set -f | |
++ set -- CPU | |
++ printf '%s\n' CPU | |
++ set +f | |
+ [[ -n CPU ]] | |
+ [[ -n AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz ]] | |
+ [[ -n '' ]] | |
+ string='CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ trim 'CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ set -f | |
++ set -- CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx '(8)' @ 2.296GHz | |
++ printf '%s\n' 'CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ set +f | |
+ string='CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ strip_sequences 'CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ strip='CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ strip='CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ strip='CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ strip='CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ strip='CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ strip='CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
++ printf '%s\n' 'CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
+ length='CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
+ length=65 | |
+ string='CPU\e[0m\e[0m:\e[0m AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
+ string='[0m[36m\e[1mCPU\e[0m\e[0m:\e[0m AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mCPU\e[0m\e[0m:\e[0m AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.296GHz\e[0m ' | |
+ (( ++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 | |
+ gpu='Caption | |
Vivi Display Adapter | |
AMD Radeon(TM) RX Vega 10 Graphics | |
NVIDIA GeForce GTX 1650 | |
' | |
+ gpu=' | |
Vivi Display Adapter | |
AMD Radeon(TM) RX Vega 10 Graphics | |
NVIDIA GeForce GTX 1650 | |
' | |
+ [[ on == \o\f\f ]] | |
+ [[ -n '' ]] | |
++ trim ' | |
Vivi Display Adapter | |
AMD Radeon(TM) RX Vega 10 Graphics | |
NVIDIA GeForce GTX 1650 | |
' | |
++ set -f | |
++ set -- $'\r\r' Vivi Display Adapter $'\r\r' AMD 'Radeon(TM)' RX Vega 10 Graphics $'\r\r' NVIDIA GeForce GTX 1650 $'\r\r' $'\r' | |
++ printf '%s\n' ' Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650 ' | |
++ set +f | |
+ output=' Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650 ' | |
+ [[ -n gpu ]] | |
+ [[ -n ViviDisplayAdapterAMDRadeon(TM)RXVega10GraphicsNVIDIAGeForceGTX1650 ]] | |
+ prin GPU ' Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650 ' | |
++ trim GPU | |
++ set -f | |
++ set -- GPU | |
++ printf '%s\n' GPU | |
++ set +f | |
+ [[ -n GPU ]] | |
+ [[ -n Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650 ]] | |
+ [[ -n '' ]] | |
+ string='GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650 ' | |
++ trim 'GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650 ' | |
++ set -f | |
++ set -- GPU: Vivi Display Adapter AMD 'Radeon(TM)' RX Vega 10 Graphics NVIDIA GeForce GTX 1650 | |
++ printf '%s\n' 'GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
++ set +f | |
+ string='GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
++ strip_sequences 'GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
++ strip='GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
++ strip='GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
++ strip='GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
++ strip='GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
++ strip='GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
++ strip='GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
++ printf '%s\n' 'GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
+ length='GPU: Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
+ length=84 | |
+ string='GPU\e[0m\e[0m:\e[0m Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
+ string='[0m[36m\e[1mGPU\e[0m\e[0m:\e[0m Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mGPU\e[0m\e[0m:\e[0m Vivi Display Adapter AMD Radeon(TM) RX Vega 10 Graphics NVIDIA GeForce GTX 1650\e[0m ' | |
+ (( ++info_height )) | |
+ prin=1 | |
+ 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+= 14595388 )) | |
+ mem_total=' 14595388 ' | |
+ IFS=: | |
+ read -r a b | |
+ case $a in | |
+ mem_used=6778256 | |
+ 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=6619 | |
+ mem_total=14253 | |
+ [[ off == \o\n ]] | |
+ memory='6619MiB / 14253MiB ' | |
+ case $memory_display in | |
+ [[ -n '' ]] | |
++ trim '6619MiB / 14253MiB ' | |
++ set -f | |
++ set -- 6619MiB / 14253MiB | |
++ printf '%s\n' '6619MiB / 14253MiB' | |
++ set +f | |
+ output='6619MiB / 14253MiB' | |
+ [[ -n memory ]] | |
+ [[ -n 6619MiB/14253MiB ]] | |
+ prin Memory '6619MiB / 14253MiB' | |
++ trim Memory | |
++ set -f | |
++ set -- Memory | |
++ printf '%s\n' Memory | |
++ set +f | |
+ [[ -n Memory ]] | |
+ [[ -n 6619MiB / 14253MiB ]] | |
+ [[ -n '' ]] | |
+ string='Memory: 6619MiB / 14253MiB' | |
++ trim 'Memory: 6619MiB / 14253MiB' | |
++ set -f | |
++ set -- Memory: 6619MiB / 14253MiB | |
++ printf '%s\n' 'Memory: 6619MiB / 14253MiB' | |
++ set +f | |
+ string='Memory: 6619MiB / 14253MiB' | |
++ strip_sequences 'Memory: 6619MiB / 14253MiB' | |
++ strip='Memory: 6619MiB / 14253MiB' | |
++ strip='Memory: 6619MiB / 14253MiB' | |
++ strip='Memory: 6619MiB / 14253MiB' | |
++ strip='Memory: 6619MiB / 14253MiB' | |
++ strip='Memory: 6619MiB / 14253MiB' | |
++ strip='Memory: 6619MiB / 14253MiB' | |
++ printf '%s\n' 'Memory: 6619MiB / 14253MiB' | |
+ length='Memory: 6619MiB / 14253MiB' | |
+ length=26 | |
+ string='Memory\e[0m\e[0m:\e[0m 6619MiB / 14253MiB' | |
+ string='[0m[36m\e[1mMemory\e[0m\e[0m:\e[0m 6619MiB / 14253MiB' | |
+ printf '%b\n' '\e[38C[0m[36m\e[1mMemory\e[0m\e[0m:\e[0m 6619MiB / 14253MiB\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' '[30m[40m ' 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' '[30m[40m [31m[41m ' 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' '[30m[40m [31m[41m [32m[42m ' 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' '[30m[40m [31m[41m [32m[42m [33m[43m ' 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' '[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m ' 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' '[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m ' 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' '[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m ' 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' '[38;5;8m[48;5;8m ' 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' '[38;5;8m[48;5;8m [38;5;9m[48;5;9m ' 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' '[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m ' 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' '[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m ' 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' '[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m ' 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' '[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m ' 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' '[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m ' 15 15 ' ' | |
+ (( block_range[0]++ )) | |
+ (( block_range[0]<=block_range[1] )) | |
+ printf -v block_spaces %1s | |
+ [[ -n [30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m ]] | |
+ cols+='[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m [mnl' | |
+ [[ -n [38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m [38;5;15m[48;5;15m ]] | |
+ cols+='[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m [38;5;15m[48;5;15m [mnl' | |
+ cols='[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m [mnl[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m [38;5;15m[48;5;15m [m' | |
+ cols='[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m [m | |
[38C[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m [38;5;15m[48;5;15m [m' | |
+ (( info_height+=block_range[1]>7?block_height+3:block_height+2 )) | |
+ case $col_offset in | |
+ printf '\n\e[%bC%b\n\n' 38 '[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m [m | |
[38C[38;5;8m[48;5;8m [38;5;9m[48;5;9m [38;5;10m[48;5;10m [38;5;11m[48;5;11m [38;5;12m[48;5;12m [38;5;13m[48;5;13m [38;5;14m[48;5;14m [38;5;15m[48;5;15m [m' | |
+ 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\Zamiur\scoop\apps\neofetch\current\neofetch -vv' | |
++ color 1 | |
++ case $1 in | |
++ printf '%b\e[3%sm' '\e[0m' 1 | |
+ err+='[0m[31m[!]\e[0m Neofetch command: C:\Users\Zamiur\scoop\apps\neofetch\current\neofetch -vv | |
' | |
+ err 'Neofetch version: 7.0.0' | |
++ color 1 | |
++ case $1 in | |
++ printf '%b\e[3%sm' '\e[0m' 1 | |
+ err+='[0m[31m[!]\e[0m Neofetch version: 7.0.0 | |
' | |
+ [[ on == on ]] | |
+ printf %b '[0m[31m[!]\e[0m Config: Sourced user config. (/c/Users/Zamiur/.config/neofetch/config.conf) | |
[0m[31m[!]\e[0m Info: Couldn'\''t detect Theme. | |
[0m[31m[!]\e[0m Info: Couldn'\''t detect Icons. | |
[0m[31m[!]\e[0m Info: Couldn'\''t detect Terminal. | |
[0m[31m[!]\e[0m Info: Couldn'\''t detect Terminal Font. | |
[0m[31m[!]\e[0m Neofetch command: C:\Users\Zamiur\scoop\apps\neofetch\current\neofetch -vv | |
[0m[31m[!]\e[0m Neofetch version: 7.0.0 | |
' | |
C:\Users\Zamiur\scoop\apps\neofetch\current\neofetch: line 10072: printf: missing unicode digit for \U | |
[0m[31m[!][0m Config: Sourced user config. (/c/Users/Zamiur/.config/neofetch/config.conf) | |
[0m[31m[!][0m Info: Couldn't detect Theme. | |
[0m[31m[!][0m Info: Couldn't detect Icons. | |
[0m[31m[!][0m Info: Couldn't detect Terminal. | |
[0m[31m[!][0m Info: Couldn't detect Terminal Font. | |
[0m[31m[!][0m Neofetch command: C:\Users\Zamiur\scooppps | |
eofetch+ [[ 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