Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + verbose=on
- + shift
- + [[ -n '' ]]
- + [[ on != on ]]
- + get_simple -vv
- + [[ -n -vv ]]
- ++ type -t get_-vv
- + [[ '' == \f\u\n\c\t\i\o\n ]]
- + shift
- + [[ -n '' ]]
- + (( simple ))
- + get_distro
- + [[ -n '' ]]
- + case $os in
- + [[ -f /bedrock/etc/bedrock-release ]]
- + [[ -f /etc/redstar-release ]]
- + [[ -f /etc/siduction-version ]]
- + [[ -f /etc/mcst_version ]]
- + type -p pveversion
- + type -p lsb_release
- + [[ -f /etc/os-release ]]
- + for file in /etc/lsb-release /usr/lib/os-release /etc/os-release /etc/openwrt_release
- + source /etc/lsb-release
- /sbin/neofetch: line 1007: /etc/lsb-release: No such file or directory
- + for file in /etc/lsb-release /usr/lib/os-release /etc/os-release /etc/openwrt_release
- + source /usr/lib/os-release
- ++ NAME='Arch Linux'
- ++ PRETTY_NAME='Arch Linux'
- ++ ID=arch
- ++ BUILD_ID=rolling
- ++ ANSI_COLOR='38;2;23;147;209'
- ++ HOME_URL=https://archlinux.org/
- ++ DOCUMENTATION_URL=https://wiki.archlinux.org/
- ++ SUPPORT_URL=https://bbs.archlinux.org/
- ++ BUG_REPORT_URL=https://bugs.archlinux.org/
- ++ PRIVACY_POLICY_URL=https://terms.archlinux.org/docs/privacy-policy/
- ++ LOGO=archlinux-logo
- + break
- + case $distro_shorthand in
- + distro='Arch Linux '
- + [[ Linux version 6.6.8-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000 == *Microsoft* ]]
- + [[ 6.6.8-arch1-1 == *Microsoft* ]]
- + [[ Linux version 6.6.8-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000 == *chrome-bot* ]]
- + [[ -f /dev/cros_ec ]]
- ++ trim_quotes 'Arch Linux '
- ++ trim_output='Arch Linux '
- ++ trim_output='Arch Linux '
- ++ printf %s 'Arch Linux '
- + distro='Arch Linux '
- + distro='Arch Linux '
- + [[ Arch Linux == \U\b\u\n\t\u* ]]
- + distro='Arch Linux '
- + [[ -n Arch Linux ]]
- + case $os in
- + machine_arch=x86_64
- + [[ on == on ]]
- + distro+=' x86_64'
- + [[ auto == auto ]]
- ++ trim 'Arch Linux x86_64'
- ++ set -f
- ++ set -- Arch Linux x86_64
- ++ printf '%s\n' 'Arch Linux x86_64'
- ++ set +f
- + ascii_distro='Arch Linux 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 'Arch Linux x86_64'
- ++ set -f
- ++ set -- Arch Linux x86_64
- ++ printf '%s\n' 'Arch Linux x86_64'
- ++ set +f
- + set_colors 6 6 7 1
- ++ color 6
- ++ case $1 in
- ++ printf '%b\e[3%sm' '\e[0m' 6
- + c1='[0m[36m\e[1m'
- ++ color 6
- ++ case $1 in
- ++ printf '%b\e[3%sm' '\e[0m' 6
- + c2='[0m[36m\e[1m'
- ++ color 7
- ++ case $1 in
- ++ printf '\e[37m%b' '\e[0m'
- + c3='[37m[0m\e[1m'
- ++ color 1
- ++ case $1 in
- ++ printf '%b\e[3%sm' '\e[0m' 1
- + c4='[0m[31m\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 6 7 1
- + [[ distro == \d\i\s\t\r\o ]]
- ++ color 6
- ++ case $1 in
- ++ printf '%b\e[3%sm' '\e[0m' 6
- + title_color='[0m[36m'
- + at_color='\e[0m'
- + underline_color='\e[0m'
- ++ color 6
- ++ case $1 in
- ++ printf '%b\e[3%sm' '\e[0m' 6
- + subtitle_color='[0m[36m'
- + colon_color='\e[0m'
- + info_color='\e[0m'
- + (( 6 == 8 ))
- + (( 6 == 8 ))
- + (( 6 == 7 ))
- + (( 6 == 7 ))
- + [[ distro == \d\i\s\t\r\o ]]
- ++ color fg
- ++ case $1 in
- ++ printf '\e[37m%b' '\e[0m'
- + bar_color_elapsed='[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 ]]
- + [[ alacritty != minix ]]
- + [[ off != on ]]
- + trap 'printf "\e[?25h\e[?7h"' EXIT
- + printf '\e[?25l\e[?7l'
- + image_backend
- + [[ ascii != \o\f\f ]]
- + type -p convert
- + image_backend=ascii
- + err 'Image: Imagemagick not found, falling back to ascii mode.'
- ++ color 1
- ++ case $1 in
- ++ printf '%b\e[3%sm' '\e[0m' 1
- + err+='[0m[31m[!]\e[0m Image: Imagemagick not found, falling back to ascii mode.
- '
- + case ${image_backend:-off} in
- + print_ascii
- + [[ -f auto ]]
- + [[ auto == \a\s\c\i\i ]]
- + [[ auto == auto ]]
- + :
- + LC_ALL=en_US.UTF-8
- + IFS='
- '
- + read -r line
- + line=' -`'
- + line=' -`'
- + (( ++lines,21>ascii_len ))
- + ascii_len=21
- + IFS='
- '
- + read -r line
- + line=' .o+`'
- + line=' .o+`'
- + (( ++lines,22>ascii_len ))
- + ascii_len=22
- + IFS='
- '
- + read -r line
- + line=' `ooo/'
- + line=' `ooo/'
- + (( ++lines,22>ascii_len ))
- + IFS='
- '
- + read -r line
- + line=' `+oooo:'
- + line=' `+oooo:'
- + (( ++lines,23>ascii_len ))
- + ascii_len=23
- + IFS='
- '
- + read -r line
- + line=' `+oooooo:'
- + line=' `+oooooo:'
- + (( ++lines,24>ascii_len ))
- + ascii_len=24
- + IFS='
- '
- + read -r line
- + line=' -+oooooo+:'
- + line=' -+oooooo+:'
- + (( ++lines,25>ascii_len ))
- + ascii_len=25
- + IFS='
- '
- + read -r line
- + line=' `/:-:++oooo+:'
- + line=' `/:-:++oooo+:'
- + (( ++lines,26>ascii_len ))
- + ascii_len=26
- + IFS='
- '
- + read -r line
- + line=' `/++++/+++++++:'
- + line=' `/++++/+++++++:'
- + (( ++lines,27>ascii_len ))
- + ascii_len=27
- + IFS='
- '
- + read -r line
- + line=' `/++++++++++++++:'
- + line=' `/++++++++++++++:'
- + (( ++lines,28>ascii_len ))
- + ascii_len=28
- + IFS='
- '
- + read -r line
- + line=' `/+++ooooooooooooo/`'
- + line=' `/+++ooooooooooooo/`'
- + (( ++lines,30>ascii_len ))
- + ascii_len=30
- + IFS='
- '
- + read -r line
- + line=' ./ooosssso++osssssso+`'
- + line=' ./ooosssso++osssssso+`'
- + (( ++lines,31>ascii_len ))
- + ascii_len=31
- + IFS='
- '
- + read -r line
- + line=' .oossssso-````/ossssss+`'
- + line=' .oossssso-````/ossssss+`'
- + (( ++lines,32>ascii_len ))
- + ascii_len=32
- + IFS='
- '
- + read -r line
- + line=' -osssssso. :ssssssso.'
- + line=' -osssssso. :ssssssso.'
- + (( ++lines,33>ascii_len ))
- + ascii_len=33
- + IFS='
- '
- + read -r line
- + line=' :osssssss/ osssso+++.'
- + line=' :osssssss/ osssso+++.'
- + (( ++lines,34>ascii_len ))
- + ascii_len=34
- + IFS='
- '
- + read -r line
- + line=' /ossssssss/ +ssssooo/-'
- + line=' /ossssssss/ +ssssooo/-'
- + (( ++lines,34>ascii_len ))
- + IFS='
- '
- + read -r line
- + line=' `/ossssso+/:- -:/+osssso+-'
- + line=' `/ossssso+/:- -:/+osssso+-'
- + (( ++lines,36>ascii_len ))
- + ascii_len=36
- + IFS='
- '
- + read -r line
- + line=' `+sso+:-` `.-/+oso:'
- + line=' `+sso+:-` `.-/+oso:'
- + (( ++lines,37>ascii_len ))
- + ascii_len=37
- + IFS='
- '
- + read -r line
- + line=' `++:. `-/+/'
- + line=' `++:. `-/+/'
- + (( ++lines,38>ascii_len ))
- + ascii_len=38
- + IFS='
- '
- + read -r line
- + line=' .` `/'
- + line=' .` `/'
- + (( ++lines,38>ascii_len ))
- + IFS='
- '
- + read -r line
- + (( lines==1 ))
- + ascii_data='[0m[36m\e[1m -`
- .o+`
- `ooo/
- `+oooo:
- `+oooooo:
- -+oooooo+:
- `/:-:++oooo+:
- `/++++/+++++++:
- `/++++++++++++++:
- `/+++o${c2}oooooooo[0m[36m\e[1moooo/`
- ${c2} [0m[36m\e[1m./${c2}ooosssso++osssssso[0m[36m\e[1m+`
- ${c2} .oossssso-````/ossssss+`
- -osssssso. :ssssssso.
- :osssssss/ osssso+++.
- /ossssssss/ +ssssooo/-
- `/ossssso+/:- -:/+osssso+-
- `+sso+:-` `.-/+oso:
- `++:. `-/+/
- .` `/'
- + ascii_data='[0m[36m\e[1m -`
- .o+`
- `ooo/
- `+oooo:
- `+oooooo:
- -+oooooo+:
- `/:-:++oooo+:
- `/++++/+++++++:
- `/++++++++++++++:
- `/+++o[0m[36m\e[1moooooooo[0m[36m\e[1moooo/`
- [0m[36m\e[1m [0m[36m\e[1m./[0m[36m\e[1mooosssso++osssssso[0m[36m\e[1m+`
- [0m[36m\e[1m .oossssso-````/ossssss+`
- -osssssso. :ssssssso.
- :osssssss/ osssso+++.
- /ossssssss/ +ssssooo/-
- `/ossssso+/:- -:/+osssso+-
- `+sso+:-` `.-/+oso:
- `++:. `-/+/
- .` `/'
- + ascii_data='[0m[36m\e[1m -`
- .o+`
- `ooo/
- `+oooo:
- `+oooooo:
- -+oooooo+:
- `/:-:++oooo+:
- `/++++/+++++++:
- `/++++++++++++++:
- `/+++o[0m[36m\e[1moooooooo[0m[36m\e[1moooo/`
- [0m[36m\e[1m [0m[36m\e[1m./[0m[36m\e[1mooosssso++osssssso[0m[36m\e[1m+`
- [0m[36m\e[1m .oossssso-````/ossssss+`
- -osssssso. :ssssssso.
- :osssssss/ osssso+++.
- /ossssssss/ +ssssooo/-
- `/ossssso+/:- -:/+osssso+-
- `+sso+:-` `.-/+oso:
- `++:. `-/+/
- .` `/'
- + ascii_data='[0m[36m\e[1m -`
- .o+`
- `ooo/
- `+oooo:
- `+oooooo:
- -+oooooo+:
- `/:-:++oooo+:
- `/++++/+++++++:
- `/++++++++++++++:
- `/+++o[0m[36m\e[1moooooooo[0m[36m\e[1moooo/`
- [0m[36m\e[1m [0m[36m\e[1m./[0m[36m\e[1mooosssso++osssssso[0m[36m\e[1m+`
- [0m[36m\e[1m .oossssso-````/ossssss+`
- -osssssso. :ssssssso.
- :osssssss/ osssso+++.
- /ossssssss/ +ssssooo/-
- `/ossssso+/:- -:/+osssso+-
- `+sso+:-` `.-/+oso:
- `++:. `-/+/
- .` `/'
- + ascii_data='[0m[36m\e[1m -`
- .o+`
- `ooo/
- `+oooo:
- `+oooooo:
- -+oooooo+:
- `/:-:++oooo+:
- `/++++/+++++++:
- `/++++++++++++++:
- `/+++o[0m[36m\e[1moooooooo[0m[36m\e[1moooo/`
- [0m[36m\e[1m [0m[36m\e[1m./[0m[36m\e[1mooosssso++osssssso[0m[36m\e[1m+`
- [0m[36m\e[1m .oossssso-````/ossssss+`
- -osssssso. :ssssssso.
- :osssssss/ osssso+++.
- /ossssssss/ +ssssooo/-
- `/ossssso+/:- -:/+osssso+-
- `+sso+:-` `.-/+oso:
- `++:. `-/+/
- .` `/'
- + ascii_data='[0m[36m\e[1m -`
- .o+`
- `ooo/
- `+oooo:
- `+oooooo:
- -+oooooo+:
- `/:-:++oooo+:
- `/++++/+++++++:
- `/++++++++++++++:
- `/+++o[0m[36m\e[1moooooooo[0m[36m\e[1moooo/`
- [0m[36m\e[1m [0m[36m\e[1m./[0m[36m\e[1mooosssso++osssssso[0m[36m\e[1m+`
- [0m[36m\e[1m .oossssso-````/ossssss+`
- -osssssso. :ssssssso.
- :osssssss/ osssso+++.
- /ossssssss/ +ssssooo/-
- `/ossssso+/:- -:/+osssso+-
- `+sso+:-` `.-/+oso:
- `++:. `-/+/
- .` `/'
- + (( text_padding=ascii_len+gap ))
- + printf '%b\n' '[0m[36m\e[1m -`
- .o+`
- `ooo/
- `+oooo:
- `+oooooo:
- -+oooooo+:
- `/:-:++oooo+:
- `/++++/+++++++:
- `/++++++++++++++:
- `/+++o[0m[36m\e[1moooooooo[0m[36m\e[1moooo/`
- [0m[36m\e[1m [0m[36m\e[1m./[0m[36m\e[1mooosssso++osssssso[0m[36m\e[1m+`
- [0m[36m\e[1m .oossssso-````/ossssss+`
- -osssssso. :ssssssso.
- :osssssss/ osssso+++.
- /ossssssss/ +ssssooo/-
- `/ossssso+/:- -:/+osssso+-
- `+sso+:-` `.-/+oso:
- `++:. `-/+/
- .` `/\e[0m'
- + LC_ALL=C
- + [[ ascii != \o\f\f ]]
- + printf '\e[%sA\e[9999999D' 19
- + get_cache_dir
- + case $os in
- + cache_dir=/tmp
- + old_functions
- + print_info
- + info title
- + [[ -n '' ]]
- + unset -v prin
- + get_title
- + user=ocki
- + case $title_fqdn in
- + hostname=EVA04
- + title='[0m[36m\e[1mocki\e[0m@[0m[36m\e[1mEVA04'
- + length=10
- + [[ -n '' ]]
- + [[ -n '' ]]
- ++ trim '[0m[36m\e[1mocki\e[0m@[0m[36m\e[1mEVA04'
- ++ set -f
- ++ set -- '[0m[36m\e[1mocki\e[0m@[0m[36m\e[1mEVA04'
- ++ printf '%s\n' '[0m[36m\e[1mocki\e[0m@[0m[36m\e[1mEVA04'
- ++ set +f
- + output='[0m[36m\e[1mocki\e[0m@[0m[36m\e[1mEVA04'
- + [[ -n '' ]]
- + [[ -n [0m[36m\e[1mocki\e[0m@[0m[36m\e[1mEVA04 ]]
- + prin '[0m[36m\e[1mocki\e[0m@[0m[36m\e[1mEVA04'
- ++ trim '[0m[36m\e[1mocki\e[0m@[0m[36m\e[1mEVA04'
- ++ set -f
- ++ set -- '[0m[36m\e[1mocki\e[0m@[0m[36m\e[1mEVA04'
- ++ printf '%s\n' '[0m[36m\e[1mocki\e[0m@[0m[36m\e[1mEVA04'
- ++ set +f
- + [[ -n [0m[36m\e[1mocki\e[0m@[0m[36m\e[1mEVA04 ]]
- + [[ -n '' ]]
- + string='[0m[36m\e[1mocki\e[0m@[0m[36m\e[1mEVA04'
- + local 'subtitle_color=\e[0m'
- ++ trim '[36m\e[1mocki\e[0m@[36m\e[1mEVA04'
- ++ set -f
- ++ set -- '[36m\e[1mocki\e[0m@[36m\e[1mEVA04'
- ++ printf '%s\n' '[36m\e[1mocki\e[0m@[36m\e[1mEVA04'
- ++ set +f
- + string='[36m\e[1mocki\e[0m@[36m\e[1mEVA04'
- ++ strip_sequences '[36m\e[1mocki\e[0m@[36m\e[1mEVA04'
- ++ strip='\e[1mocki\e[0m@\e[1mEVA04'
- ++ strip='\e[1mocki\e[0m@\e[1mEVA04'
- ++ strip=ocki@EVA04
- ++ strip=ocki@EVA04
- ++ strip=ocki@EVA04
- ++ strip=ocki@EVA04
- ++ printf '%s\n' ocki@EVA04
- + length=ocki@EVA04
- + length=10
- + string='[36m\e[1mocki\e[0m@[36m\e[1mEVA04'
- + string='\e[0m\e[1m[36m\e[1mocki\e[0m@[36m\e[1mEVA04'
- + printf '%b\n' '\e[41C\e[0m\e[1m[36m\e[1mocki\e[0m@[36m\e[1mEVA04\e[0m '
- + (( ++info_height ))
- + prin=1
- + unset -v subtitle
- + info underline
- + [[ -n '' ]]
- + unset -v prin
- + get_underline
- + [[ on == \o\n ]]
- + printf -v underline %10s
- + printf '%b%b\n' '\e[41C\e[0m' '----------\e[0m '
- + (( ++info_height ))
- + length=
- + prin=1
- + [[ -n 1 ]]
- + return
- + info OS distro
- + [[ -n distro ]]
- + subtitle=OS
- + unset -v prin
- + get_distro
- + [[ -n Arch Linux x86_64 ]]
- + return
- + [[ -n '' ]]
- + [[ -n distro ]]
- ++ trim 'Arch Linux x86_64'
- ++ set -f
- ++ set -- Arch Linux x86_64
- ++ printf '%s\n' 'Arch Linux x86_64'
- ++ set +f
- + output='Arch Linux x86_64'
- + [[ -n distro ]]
- + [[ -n ArchLinuxx86_64 ]]
- + prin OS 'Arch Linux x86_64'
- ++ trim OS
- ++ set -f
- ++ set -- OS
- ++ printf '%s\n' OS
- ++ set +f
- + [[ -n OS ]]
- + [[ -n Arch Linux x86_64 ]]
- + [[ -n '' ]]
- + string='OS: Arch Linux x86_64'
- ++ trim 'OS: Arch Linux x86_64'
- ++ set -f
- ++ set -- OS: Arch Linux x86_64
- ++ printf '%s\n' 'OS: Arch Linux x86_64'
- ++ set +f
- + string='OS: Arch Linux x86_64'
- ++ strip_sequences 'OS: Arch Linux x86_64'
- ++ strip='OS: Arch Linux x86_64'
- ++ strip='OS: Arch Linux x86_64'
- ++ strip='OS: Arch Linux x86_64'
- ++ strip='OS: Arch Linux x86_64'
- ++ strip='OS: Arch Linux x86_64'
- ++ strip='OS: Arch Linux x86_64'
- ++ printf '%s\n' 'OS: Arch Linux x86_64'
- + length='OS: Arch Linux x86_64'
- + length=21
- + string='OS\e[0m\e[0m:\e[0m Arch Linux x86_64'
- + string='[0m[36m\e[1mOS\e[0m\e[0m:\e[0m Arch Linux x86_64'
- + printf '%b\n' '\e[41C[0m[36m\e[1mOS\e[0m\e[0m:\e[0m Arch Linux 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=2349P25
- + model+=' ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + model='2349P25 ThinkPad T430'
- + case $model in
- + [[ -n '' ]]
- + [[ -n model ]]
- ++ trim '2349P25 ThinkPad T430'
- ++ set -f
- ++ set -- 2349P25 ThinkPad T430
- ++ printf '%s\n' '2349P25 ThinkPad T430'
- ++ set +f
- + output='2349P25 ThinkPad T430'
- + [[ -n model ]]
- + [[ -n 2349P25ThinkPadT430 ]]
- + prin Host '2349P25 ThinkPad T430'
- ++ trim Host
- ++ set -f
- ++ set -- Host
- ++ printf '%s\n' Host
- ++ set +f
- + [[ -n Host ]]
- + [[ -n 2349P25 ThinkPad T430 ]]
- + [[ -n '' ]]
- + string='Host: 2349P25 ThinkPad T430'
- ++ trim 'Host: 2349P25 ThinkPad T430'
- ++ set -f
- ++ set -- Host: 2349P25 ThinkPad T430
- ++ printf '%s\n' 'Host: 2349P25 ThinkPad T430'
- ++ set +f
- + string='Host: 2349P25 ThinkPad T430'
- ++ strip_sequences 'Host: 2349P25 ThinkPad T430'
- ++ strip='Host: 2349P25 ThinkPad T430'
- ++ strip='Host: 2349P25 ThinkPad T430'
- ++ strip='Host: 2349P25 ThinkPad T430'
- ++ strip='Host: 2349P25 ThinkPad T430'
- ++ strip='Host: 2349P25 ThinkPad T430'
- ++ strip='Host: 2349P25 ThinkPad T430'
- ++ printf '%s\n' 'Host: 2349P25 ThinkPad T430'
- + length='Host: 2349P25 ThinkPad T430'
- + length=27
- + string='Host\e[0m\e[0m:\e[0m 2349P25 ThinkPad T430'
- + string='[0m[36m\e[1mHost\e[0m\e[0m:\e[0m 2349P25 ThinkPad T430'
- + printf '%b\n' '\e[41C[0m[36m\e[1mHost\e[0m\e[0m:\e[0m 2349P25 ThinkPad T430\e[0m '
- + (( ++info_height ))
- + prin=1
- + unset -v subtitle
- + info Kernel kernel
- + [[ -n kernel ]]
- + subtitle=Kernel
- + unset -v prin
- + get_kernel
- + [[ Linux =~ (AIX|IRIX) ]]
- + [[ Linux == Haiku ]]
- + [[ Linux == Windows ]]
- + case $kernel_shorthand in
- + kernel=6.6.8-arch1-1
- + [[ Linux =~ (BSD|MINIX) ]]
- + [[ -n '' ]]
- + [[ -n kernel ]]
- ++ trim 6.6.8-arch1-1
- ++ set -f
- ++ set -- 6.6.8-arch1-1
- ++ printf '%s\n' 6.6.8-arch1-1
- ++ set +f
- + output=6.6.8-arch1-1
- + [[ -n kernel ]]
- + [[ -n 6.6.8-arch1-1 ]]
- + prin Kernel 6.6.8-arch1-1
- ++ trim Kernel
- ++ set -f
- ++ set -- Kernel
- ++ printf '%s\n' Kernel
- ++ set +f
- + [[ -n Kernel ]]
- + [[ -n 6.6.8-arch1-1 ]]
- + [[ -n '' ]]
- + string='Kernel: 6.6.8-arch1-1'
- ++ trim 'Kernel: 6.6.8-arch1-1'
- ++ set -f
- ++ set -- Kernel: 6.6.8-arch1-1
- ++ printf '%s\n' 'Kernel: 6.6.8-arch1-1'
- ++ set +f
- + string='Kernel: 6.6.8-arch1-1'
- ++ strip_sequences 'Kernel: 6.6.8-arch1-1'
- ++ strip='Kernel: 6.6.8-arch1-1'
- ++ strip='Kernel: 6.6.8-arch1-1'
- ++ strip='Kernel: 6.6.8-arch1-1'
- ++ strip='Kernel: 6.6.8-arch1-1'
- ++ strip='Kernel: 6.6.8-arch1-1'
- ++ strip='Kernel: 6.6.8-arch1-1'
- ++ printf '%s\n' 'Kernel: 6.6.8-arch1-1'
- + length='Kernel: 6.6.8-arch1-1'
- + length=21
- + string='Kernel\e[0m\e[0m:\e[0m 6.6.8-arch1-1'
- + string='[0m[36m\e[1mKernel\e[0m\e[0m:\e[0m 6.6.8-arch1-1'
- + printf '%b\n' '\e[41C[0m[36m\e[1mKernel\e[0m\e[0m:\e[0m 6.6.8-arch1-1\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='4104.14 31826.83'
- + s=4104
- + d='0 days'
- + h='1 hours'
- + m='8 mins'
- + (( 0 == 1 ))
- + (( 1 == 1 ))
- + h='1 hour'
- + (( 8 == 1 ))
- + (( 0 == 0 ))
- + unset d
- + (( 1 == 0 ))
- + (( 8 == 0 ))
- + uptime='1 hour, 8 mins'
- + uptime='1 hour, 8 mins'
- + uptime='1 hour, 8 mins'
- + case $uptime_shorthand in
- + uptime='1 hour, 8 mins'
- + uptime='1 hour, 8 mins'
- + uptime='1 hour, 8 mins'
- + uptime='1h, 8 mins'
- + uptime='1h, 8m'
- + uptime='1h, 8m'
- + uptime='1h, 8m'
- + uptime='1h 8m'
- + [[ -n '' ]]
- + [[ -n uptime ]]
- ++ trim '1h 8m'
- ++ set -f
- ++ set -- 1h 8m
- ++ printf '%s\n' '1h 8m'
- ++ set +f
- + output='1h 8m'
- + [[ -n uptime ]]
- + [[ -n 1h8m ]]
- + prin Uptime '1h 8m'
- ++ trim Uptime
- ++ set -f
- ++ set -- Uptime
- ++ printf '%s\n' Uptime
- ++ set +f
- + [[ -n Uptime ]]
- + [[ -n 1h 8m ]]
- + [[ -n '' ]]
- + string='Uptime: 1h 8m'
- ++ trim 'Uptime: 1h 8m'
- ++ set -f
- ++ set -- Uptime: 1h 8m
- ++ printf '%s\n' 'Uptime: 1h 8m'
- ++ set +f
- + string='Uptime: 1h 8m'
- ++ strip_sequences 'Uptime: 1h 8m'
- ++ strip='Uptime: 1h 8m'
- ++ strip='Uptime: 1h 8m'
- ++ strip='Uptime: 1h 8m'
- ++ strip='Uptime: 1h 8m'
- ++ strip='Uptime: 1h 8m'
- ++ strip='Uptime: 1h 8m'
- ++ printf '%s\n' 'Uptime: 1h 8m'
- + length='Uptime: 1h 8m'
- + length=13
- + string='Uptime\e[0m\e[0m:\e[0m 1h 8m'
- + string='[0m[36m\e[1mUptime\e[0m\e[0m:\e[0m 1h 8m'
- + printf '%b\n' '\e[41C[0m[36m\e[1mUptime\e[0m\e[0m:\e[0m 1h 8m\e[0m '
- + (( ++info_height ))
- + prin=1
- + unset -v subtitle
- + info Packages packages
- + [[ -n packages ]]
- + subtitle=Packages
- + unset -v prin
- + get_packages
- + [[ -f /bedrock/etc/bedrock-release ]]
- + case $os in
- + has kiss
- + type -p kiss
- + has pacman-key
- + type -p pacman-key
- + manager=pacman-key
- + tot pacman -Qq --color never
- + IFS='
- '
- + read -d '' -ra pkgs
- ++ pacman -Qq --color never
- + (( packages+=601 ))
- + pac 601
- + (( 601 > 0 ))
- + managers+=("$1 (${manager})")
- + manager_string+='pacman-key, '
- + has dpkg
- + type -p dpkg
- + has rpm
- + type -p rpm
- + has xbps-query
- + type -p xbps-query
- + has apk
- + type -p apk
- + has opkg
- + type -p opkg
- + has pacman-g2
- + type -p pacman-g2
- + has lvu
- + type -p lvu
- + has tce-status
- + type -p tce-status
- + has pkg_info
- + type -p pkg_info
- + has tazpkg
- + type -p tazpkg
- + has sorcery
- + type -p sorcery
- + has alps
- + type -p alps
- + has butch
- + type -p butch
- + has mine
- + type -p mine
- + shopt -s nullglob
- + has brew
- + type -p brew
- + has emerge
- + type -p emerge
- + has Compile
- + type -p Compile
- + has eopkg
- + type -p eopkg
- + has crew
- + type -p crew
- + has pkgtool
- + type -p pkgtool
- + has scratch
- + type -p scratch
- + has kagami
- + type -p kagami
- + has cave
- + type -p cave
- + shopt -u nullglob
- + has kpm-pkg
- + type -p kpm-pkg
- + has guix
- + type -p guix
- + has nix-store
- + type -p nix-store
- + has pkginfo
- + type -p pkginfo
- + case $kernel_name in
- + has pkg
- + type -p pkg
- + (( packages == 0 ))
- + has flatpak
- + type -p flatpak
- + has spm
- + type -p spm
- + has puyo
- + type -p puyo
- + has snap
- + type -p snap
- + manager=appimage
- + has appimaged
- + type -p appimaged
- + (( packages == 0 ))
- + [[ on == on ]]
- + printf -v packages '%s, ' '601 (pacman-key)'
- + packages='601 (pacman-key)'
- + packages='601 (pacman)'
- + [[ -n '' ]]
- + [[ -n packages ]]
- ++ trim '601 (pacman)'
- ++ set -f
- ++ set -- 601 '(pacman)'
- ++ printf '%s\n' '601 (pacman)'
- ++ set +f
- + output='601 (pacman)'
- + [[ -n packages ]]
- + [[ -n 601(pacman) ]]
- + prin Packages '601 (pacman)'
- ++ trim Packages
- ++ set -f
- ++ set -- Packages
- ++ printf '%s\n' Packages
- ++ set +f
- + [[ -n Packages ]]
- + [[ -n 601 (pacman) ]]
- + [[ -n '' ]]
- + string='Packages: 601 (pacman)'
- ++ trim 'Packages: 601 (pacman)'
- ++ set -f
- ++ set -- Packages: 601 '(pacman)'
- ++ printf '%s\n' 'Packages: 601 (pacman)'
- ++ set +f
- + string='Packages: 601 (pacman)'
- ++ strip_sequences 'Packages: 601 (pacman)'
- ++ strip='Packages: 601 (pacman)'
- ++ strip='Packages: 601 (pacman)'
- ++ strip='Packages: 601 (pacman)'
- ++ strip='Packages: 601 (pacman)'
- ++ strip='Packages: 601 (pacman)'
- ++ strip='Packages: 601 (pacman)'
- ++ printf '%s\n' 'Packages: 601 (pacman)'
- + length='Packages: 601 (pacman)'
- + length=22
- + string='Packages\e[0m\e[0m:\e[0m 601 (pacman)'
- + string='[0m[36m\e[1mPackages\e[0m\e[0m:\e[0m 601 (pacman)'
- + printf '%b\n' '\e[41C[0m[36m\e[1mPackages\e[0m\e[0m:\e[0m 601 (pacman)\e[0m '
- + (( ++info_height ))
- + prin=1
- + unset -v subtitle
- + info Shell shell
- + [[ -n shell ]]
- + subtitle=Shell
- + unset -v prin
- + get_shell
- + case $shell_path in
- + shell='bash '
- + [[ on != on ]]
- + case ${shell_name:=${SHELL##*/}} in
- + [[ -n 5.2.21(1)-release ]]
- + shell+='5.2.21(1)'
- + shell='bash 5.2.21(1)'
- + shell='bash 5.2.21(1)'
- + shell='bash 5.2.21(1)'
- + shell='bash 5.2.21'
- + [[ -n '' ]]
- + [[ -n shell ]]
- ++ trim 'bash 5.2.21'
- ++ set -f
- ++ set -- bash 5.2.21
- ++ printf '%s\n' 'bash 5.2.21'
- ++ set +f
- + output='bash 5.2.21'
- + [[ -n shell ]]
- + [[ -n bash5.2.21 ]]
- + prin Shell 'bash 5.2.21'
- ++ trim Shell
- ++ set -f
- ++ set -- Shell
- ++ printf '%s\n' Shell
- ++ set +f
- + [[ -n Shell ]]
- + [[ -n bash 5.2.21 ]]
- + [[ -n '' ]]
- + string='Shell: bash 5.2.21'
- ++ trim 'Shell: bash 5.2.21'
- ++ set -f
- ++ set -- Shell: bash 5.2.21
- ++ printf '%s\n' 'Shell: bash 5.2.21'
- ++ set +f
- + string='Shell: bash 5.2.21'
- ++ strip_sequences 'Shell: bash 5.2.21'
- ++ strip='Shell: bash 5.2.21'
- ++ strip='Shell: bash 5.2.21'
- ++ strip='Shell: bash 5.2.21'
- ++ strip='Shell: bash 5.2.21'
- ++ strip='Shell: bash 5.2.21'
- ++ strip='Shell: bash 5.2.21'
- ++ printf '%s\n' 'Shell: bash 5.2.21'
- + length='Shell: bash 5.2.21'
- + length=18
- + string='Shell\e[0m\e[0m:\e[0m bash 5.2.21'
- + string='[0m[36m\e[1mShell\e[0m\e[0m:\e[0m bash 5.2.21'
- + printf '%b\n' '\e[41C[0m[36m\e[1mShell\e[0m\e[0m:\e[0m bash 5.2.21\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 :0 ]]
- + [[ -z wayland-1 ]]
- + type -p xwininfo
- + type -p xdpyinfo
- + [[ -d /sys/class/drm ]]
- + for dev in /sys/class/drm/*/modes
- + read -r resolution _
- + [[ -n '' ]]
- + for dev in /sys/class/drm/*/modes
- + read -r resolution _
- + [[ -n '' ]]
- + for dev in /sys/class/drm/*/modes
- + read -r resolution _
- + [[ -n '' ]]
- + for dev in /sys/class/drm/*/modes
- + read -r resolution _
- + [[ -n '' ]]
- + for dev in /sys/class/drm/*/modes
- + read -r resolution _
- + [[ -n '' ]]
- + for dev in /sys/class/drm/*/modes
- + read -r resolution _
- + [[ -n '' ]]
- + for dev in /sys/class/drm/*/modes
- + read -r resolution _
- + [[ -n 1366x768 ]]
- + break
- + resolution=1366x768
- + [[ -z 1366768 ]]
- + [[ -n '' ]]
- + [[ -n resolution ]]
- ++ trim 1366x768
- ++ set -f
- ++ set -- 1366x768
- ++ printf '%s\n' 1366x768
- ++ set +f
- + output=1366x768
- + [[ -n resolution ]]
- + [[ -n 1366x768 ]]
- + prin Resolution 1366x768
- ++ trim Resolution
- ++ set -f
- ++ set -- Resolution
- ++ printf '%s\n' Resolution
- ++ set +f
- + [[ -n Resolution ]]
- + [[ -n 1366x768 ]]
- + [[ -n '' ]]
- + string='Resolution: 1366x768'
- ++ trim 'Resolution: 1366x768'
- ++ set -f
- ++ set -- Resolution: 1366x768
- ++ printf '%s\n' 'Resolution: 1366x768'
- ++ set +f
- + string='Resolution: 1366x768'
- ++ strip_sequences 'Resolution: 1366x768'
- ++ strip='Resolution: 1366x768'
- ++ strip='Resolution: 1366x768'
- ++ strip='Resolution: 1366x768'
- ++ strip='Resolution: 1366x768'
- ++ strip='Resolution: 1366x768'
- ++ strip='Resolution: 1366x768'
- ++ printf '%s\n' 'Resolution: 1366x768'
- + length='Resolution: 1366x768'
- + length=20
- + string='Resolution\e[0m\e[0m:\e[0m 1366x768'
- + string='[0m[36m\e[1mResolution\e[0m\e[0m:\e[0m 1366x768'
- + printf '%b\n' '\e[41C[0m[36m\e[1mResolution\e[0m\e[0m:\e[0m 1366x768\e[0m '
- + (( ++info_height ))
- + prin=1
- + unset -v subtitle
- + info DE de
- + [[ -n de ]]
- + subtitle=DE
- + unset -v prin
- + get_de
- + (( de_run == 1 ))
- + case $os in
- + (( wm_run != 1 ))
- + get_wm
- + (( wm_run == 1 ))
- + case $kernel_name in
- + ps_flags=(-e)
- + [[ -n wayland-1 ]]
- ++ ps -e
- ++ grep -m 1 -o -F -e arcan -e asc -e clayland -e dwc -e fireplace -e gnome-shell -e greenfield -e grefsen -e kwin -e lipstick -e maynard -e mazecompositor -e motorcar -e orbital -e orbment -e perceptia -e rustland -e sway -e ulubis -e velox -e wavy -e way-cooler -e wayfire -e wayhouse -e westeros -e westford -e weston
- + wm=sway
- + [[ sway == *WINDOWMAKER* ]]
- + [[ sway == *GNOME*Shell* ]]
- + wm_run=1
- + [[ '' == regolith ]]
- + [[ -n '' ]]
- + [[ -n '' ]]
- + [[ -n '' ]]
- + [[ -n '' ]]
- + [[ -n '' ]]
- + [[ '' == \s\w\a\y ]]
- + [[ -n :0 ]]
- + [[ -z '' ]]
- + type -p xprop
- ++ xprop -root
- ++ awk '/KDE_SESSION_VERSION|^_MUFFIN|xfce4|xfce5/'
- + de=
- + case $de in
- + (( 0 >= 4 ))
- + [[ on == on ]]
- + [[ -n '' ]]
- + de_run=1
- + [[ -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+='[0m[31m[!]\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 sway
- ++ set -f
- ++ set -- sway
- ++ printf '%s\n' sway
- ++ set +f
- + output=sway
- + [[ -n wm ]]
- + [[ -n sway ]]
- + prin WM sway
- ++ trim WM
- ++ set -f
- ++ set -- WM
- ++ printf '%s\n' WM
- ++ set +f
- + [[ -n WM ]]
- + [[ -n sway ]]
- + [[ -n '' ]]
- + string='WM: sway'
- ++ trim 'WM: sway'
- ++ set -f
- ++ set -- WM: sway
- ++ printf '%s\n' 'WM: sway'
- ++ set +f
- + string='WM: sway'
- ++ strip_sequences 'WM: sway'
- ++ strip='WM: sway'
- ++ strip='WM: sway'
- ++ strip='WM: sway'
- ++ strip='WM: sway'
- ++ strip='WM: sway'
- ++ strip='WM: sway'
- ++ printf '%s\n' 'WM: sway'
- + length='WM: sway'
- + length=8
- + string='WM\e[0m\e[0m:\e[0m sway'
- + string='[0m[36m\e[1mWM\e[0m\e[0m:\e[0m sway'
- + printf '%b\n' '\e[41C[0m[36m\e[1mWM\e[0m\e[0m:\e[0m sway\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
- ++ 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+='[0m[31m[!]\e[0m Info: Couldn'\''t detect WM Theme.
- '
- + unset -v subtitle
- + info Terminal term
- + [[ -n term ]]
- + subtitle=Terminal
- + unset -v prin
- + get_term
- + (( term_run == 1 ))
- + case $TERM_PROGRAM in
- + term=
- + [[ alacritty == \t\w\5\2 ]]
- + [[ alacritty == \t\w\1\0\0 ]]
- + [[ -n '' ]]
- + [[ -n '' ]]
- + [[ -z '' ]]
- ++ get_ppid ''
- ++ case $os in
- +++ grep -i -F PPid: /proc/1800/status
- ++ ppid='PPid: 1793'
- +++ trim ' 1793'
- +++ set -f
- +++ set -- 1793
- +++ printf '%s\n' 1793
- +++ set +f
- ++ ppid=1793
- ++ printf %s 1793
- + parent=1793
- + [[ -z 1793 ]]
- ++ get_process_name 1793
- ++ case $os in
- ++ name=alacritty
- ++ printf %s alacritty
- + name=alacritty
- + case ${name// } in
- + [[ Linux == Linux ]]
- ++ realpath /proc/1793/exe
- + term=/usr/bin/alacritty
- + term=alacritty
- + [[ alacritty == .*-wrapped ]]
- + [[ -z alacritty ]]
- + term_run=1
- + [[ -n '' ]]
- + [[ -n term ]]
- ++ trim alacritty
- ++ set -f
- ++ set -- alacritty
- ++ printf '%s\n' alacritty
- ++ set +f
- + output=alacritty
- + [[ -n term ]]
- + [[ -n alacritty ]]
- + prin Terminal alacritty
- ++ trim Terminal
- ++ set -f
- ++ set -- Terminal
- ++ printf '%s\n' Terminal
- ++ set +f
- + [[ -n Terminal ]]
- + [[ -n alacritty ]]
- + [[ -n '' ]]
- + string='Terminal: alacritty'
- ++ trim 'Terminal: alacritty'
- ++ set -f
- ++ set -- Terminal: alacritty
- ++ printf '%s\n' 'Terminal: alacritty'
- ++ set +f
- + string='Terminal: alacritty'
- ++ strip_sequences 'Terminal: alacritty'
- ++ strip='Terminal: alacritty'
- ++ strip='Terminal: alacritty'
- ++ strip='Terminal: alacritty'
- ++ strip='Terminal: alacritty'
- ++ strip='Terminal: alacritty'
- ++ strip='Terminal: alacritty'
- ++ printf '%s\n' 'Terminal: alacritty'
- + length='Terminal: alacritty'
- + length=19
- + string='Terminal\e[0m\e[0m:\e[0m alacritty'
- + string='[0m[36m\e[1mTerminal\e[0m\e[0m:\e[0m alacritty'
- + printf '%b\n' '\e[41C[0m[36m\e[1mTerminal\e[0m\e[0m:\e[0m alacritty\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
- + shopt -s nullglob
- + confs=({$XDG_CONFIG_HOME,$HOME}/{alacritty,}/{.,}alacritty.ym?)
- + shopt -u nullglob
- + [[ -f '' ]]
- + return
- + [[ -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+='[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='Intel(R) Core(TM) i7-3840QM CPU'
- + speed_dir=/sys/devices/system/cpu/cpu0/cpufreq
- + for temp_dir in /sys/class/hwmon/*
- + [[ AC =~ (coretemp|fam15h_power|k10temp) ]]
- + for temp_dir in /sys/class/hwmon/*
- + [[ acpitz =~ (coretemp|fam15h_power|k10temp) ]]
- + for temp_dir in /sys/class/hwmon/*
- + [[ BAT0 =~ (coretemp|fam15h_power|k10temp) ]]
- + for temp_dir in /sys/class/hwmon/*
- + [[ thinkpad =~ (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 ]]
- + speed=3800000
- + speed=3800
- + [[ -f /sys/class/hwmon/hwmon4/temp1_input ]]
- + deg=440
- + case $cpu_cores in
- ++ grep -c '^processor' /proc/cpuinfo
- + cores=8
- + cpu='Intel(R) Core i7-3840QM CPU'
- + cpu='Intel(R) Core i7-3840QM CPU'
- + cpu='Intel Core i7-3840QM CPU'
- + cpu='Intel Core i7-3840QM CPU'
- + cpu='Intel Core i7-3840QM '
- + cpu='Intel Core i7-3840QM '
- + cpu='Intel Core i7-3840QM '
- + cpu='Intel Core i7-3840QM '
- + cpu='Intel Core i7-3840QM '
- + cpu='Intel Core i7-3840QM '
- + cpu='Intel Core i7-3840QM '
- + cpu='Intel Core i7-3840QM '
- + cpu='Intel Core i7-3840QM '
- + cpu='Intel i7-3840QM '
- + cpu='Intel i7-3840QM '
- + cpu='Intel i7-3840QM '
- + cpu='Intel i7-3840QM '
- + cpu='Intel i7-3840QM '
- + cpu='Intel i7-3840QM '
- + cpu='Intel i7-3840QM '
- + cpu='Intel i7-3840QM '
- + cores=8
- + speed=3800
- + [[ on == \o\f\f ]]
- + [[ logical != \o\f\f ]]
- + [[ -n 8 ]]
- + case $os in
- + cpu='Intel i7-3840QM (8)'
- + [[ on != \o\f\f ]]
- + [[ -n 3800 ]]
- + (( speed < 1000 ))
- + [[ off == \o\n ]]
- + speed=3.800
- + cpu='Intel i7-3840QM (8) @ 3.800GHz'
- + [[ off != \o\f\f ]]
- + [[ -n '' ]]
- + [[ -n cpu ]]
- ++ trim 'Intel i7-3840QM (8) @ 3.800GHz'
- ++ set -f
- ++ set -- Intel i7-3840QM '(8)' @ 3.800GHz
- ++ printf '%s\n' 'Intel i7-3840QM (8) @ 3.800GHz'
- ++ set +f
- + output='Intel i7-3840QM (8) @ 3.800GHz'
- + [[ -n cpu ]]
- + [[ -n Inteli7-3840QM(8)@3.800GHz ]]
- + prin CPU 'Intel i7-3840QM (8) @ 3.800GHz'
- ++ trim CPU
- ++ set -f
- ++ set -- CPU
- ++ printf '%s\n' CPU
- ++ set +f
- + [[ -n CPU ]]
- + [[ -n Intel i7-3840QM (8) @ 3.800GHz ]]
- + [[ -n '' ]]
- + string='CPU: Intel i7-3840QM (8) @ 3.800GHz'
- ++ trim 'CPU: Intel i7-3840QM (8) @ 3.800GHz'
- ++ set -f
- ++ set -- CPU: Intel i7-3840QM '(8)' @ 3.800GHz
- ++ printf '%s\n' 'CPU: Intel i7-3840QM (8) @ 3.800GHz'
- ++ set +f
- + string='CPU: Intel i7-3840QM (8) @ 3.800GHz'
- ++ strip_sequences 'CPU: Intel i7-3840QM (8) @ 3.800GHz'
- ++ strip='CPU: Intel i7-3840QM (8) @ 3.800GHz'
- ++ strip='CPU: Intel i7-3840QM (8) @ 3.800GHz'
- ++ strip='CPU: Intel i7-3840QM (8) @ 3.800GHz'
- ++ strip='CPU: Intel i7-3840QM (8) @ 3.800GHz'
- ++ strip='CPU: Intel i7-3840QM (8) @ 3.800GHz'
- ++ strip='CPU: Intel i7-3840QM (8) @ 3.800GHz'
- ++ printf '%s\n' 'CPU: Intel i7-3840QM (8) @ 3.800GHz'
- + length='CPU: Intel i7-3840QM (8) @ 3.800GHz'
- + length=35
- + string='CPU\e[0m\e[0m:\e[0m Intel i7-3840QM (8) @ 3.800GHz'
- + string='[0m[36m\e[1mCPU\e[0m\e[0m:\e[0m Intel i7-3840QM (8) @ 3.800GHz'
- + printf '%b\n' '\e[41C[0m[36m\e[1mCPU\e[0m\e[0m:\e[0m Intel i7-3840QM (8) @ 3.800GHz\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='00:02.0 Intel Corporation 3rd Gen Core processor Graphics Controller'
- + IFS='
- '
- + read -d '' -ra gpus
- + [[ 00:02.0 Intel Corporation 3rd Gen Core processor Graphics Controller == *Intel* ]]
- + [[ '' == *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='Intel Corporation 3rd Gen Core processor Graphics Controller'
- + gpu='Intel Corporation 3rd Gen Core processor Graphics Controller'
- + gpu='Intel 3rd Gen Core processor Graphics Controller'
- + gpu='Intel 3rd Gen Core processor Graphics Controller'
- + gpu='Intel 3rd Gen Core processor Graphics Controller'
- + gpu='Intel 3rd Gen Core processor Graphics Controller'
- ++ trim 'Intel 3rd Gen Core processor Graphics Controller'
- ++ set -f
- ++ set -- Intel 3rd Gen Core processor Graphics Controller
- ++ printf '%s\n' 'Intel 3rd Gen Core processor Graphics Controller'
- ++ set +f
- + [[ -z Intel 3rd Gen Core processor Graphics Controller ]]
- + [[ on == \o\f\f ]]
- + prin GPU 'Intel 3rd Gen Core processor Graphics Controller'
- ++ trim GPU
- ++ set -f
- ++ set -- GPU
- ++ printf '%s\n' GPU
- ++ set +f
- + [[ -n GPU ]]
- + [[ -n Intel 3rd Gen Core processor Graphics Controller ]]
- + [[ -n '' ]]
- + string='GPU: Intel 3rd Gen Core processor Graphics Controller'
- ++ trim 'GPU: Intel 3rd Gen Core processor Graphics Controller'
- ++ set -f
- ++ set -- GPU: Intel 3rd Gen Core processor Graphics Controller
- ++ printf '%s\n' 'GPU: Intel 3rd Gen Core processor Graphics Controller'
- ++ set +f
- + string='GPU: Intel 3rd Gen Core processor Graphics Controller'
- ++ strip_sequences 'GPU: Intel 3rd Gen Core processor Graphics Controller'
- ++ strip='GPU: Intel 3rd Gen Core processor Graphics Controller'
- ++ strip='GPU: Intel 3rd Gen Core processor Graphics Controller'
- ++ strip='GPU: Intel 3rd Gen Core processor Graphics Controller'
- ++ strip='GPU: Intel 3rd Gen Core processor Graphics Controller'
- ++ strip='GPU: Intel 3rd Gen Core processor Graphics Controller'
- ++ strip='GPU: Intel 3rd Gen Core processor Graphics Controller'
- ++ printf '%s\n' 'GPU: Intel 3rd Gen Core processor Graphics Controller'
- + length='GPU: Intel 3rd Gen Core processor Graphics Controller'
- + length=53
- + string='GPU\e[0m\e[0m:\e[0m Intel 3rd Gen Core processor Graphics Controller'
- + string='[0m[36m\e[1mGPU\e[0m\e[0m:\e[0m Intel 3rd Gen Core processor Graphics Controller'
- + printf '%b\n' '\e[41C[0m[36m\e[1mGPU\e[0m\e[0m:\e[0m Intel 3rd Gen Core processor Graphics Controller\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+= 16195864 ))
- + mem_total=' 16195864 '
- + IFS=:
- + read -r a b
- + case $a in
- + mem_used=2870340
- + IFS=:
- + read -r a b
- + case $a in
- + IFS=:
- + read -r a b
- + case $a in
- + mem_used=2776408
- + IFS=:
- + read -r a b
- + case $a in
- + mem_used=1398004
- + 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+= 263592 ))
- + 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=1604200
- + 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
- + 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=1566
- + mem_total=15816
- + [[ off == \o\n ]]
- + case $memory_unit in
- ++ awk '{printf "%.2f", $1 / $2}'
- + mem_used=1.53
- ++ awk '{printf "%.2f", $1 / $2}'
- + mem_total=15.45
- + mem_label=GiB
- + memory='1.53GiB / 15.45GiB '
- + case $memory_display in
- + [[ -n '' ]]
- + [[ -n memory ]]
- ++ trim '1.53GiB / 15.45GiB '
- ++ set -f
- ++ set -- 1.53GiB / 15.45GiB
- ++ printf '%s\n' '1.53GiB / 15.45GiB'
- ++ set +f
- + output='1.53GiB / 15.45GiB'
- + [[ -n memory ]]
- + [[ -n 1.53GiB/15.45GiB ]]
- + prin Memory '1.53GiB / 15.45GiB'
- ++ trim Memory
- ++ set -f
- ++ set -- Memory
- ++ printf '%s\n' Memory
- ++ set +f
- + [[ -n Memory ]]
- + [[ -n 1.53GiB / 15.45GiB ]]
- + [[ -n '' ]]
- + string='Memory: 1.53GiB / 15.45GiB'
- ++ trim 'Memory: 1.53GiB / 15.45GiB'
- ++ set -f
- ++ set -- Memory: 1.53GiB / 15.45GiB
- ++ printf '%s\n' 'Memory: 1.53GiB / 15.45GiB'
- ++ set +f
- + string='Memory: 1.53GiB / 15.45GiB'
- ++ strip_sequences 'Memory: 1.53GiB / 15.45GiB'
- ++ strip='Memory: 1.53GiB / 15.45GiB'
- ++ strip='Memory: 1.53GiB / 15.45GiB'
- ++ strip='Memory: 1.53GiB / 15.45GiB'
- ++ strip='Memory: 1.53GiB / 15.45GiB'
- ++ strip='Memory: 1.53GiB / 15.45GiB'
- ++ strip='Memory: 1.53GiB / 15.45GiB'
- ++ printf '%s\n' 'Memory: 1.53GiB / 15.45GiB'
- + length='Memory: 1.53GiB / 15.45GiB'
- + length=26
- + string='Memory\e[0m\e[0m:\e[0m 1.53GiB / 15.45GiB'
- + string='[0m[36m\e[1mMemory\e[0m\e[0m:\e[0m 1.53GiB / 15.45GiB'
- + printf '%b\n' '\e[41C[0m[36m\e[1mMemory\e[0m\e[0m:\e[0m 1.53GiB / 15.45GiB\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
- [41C[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' 41 '[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m [m
- [41C[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 %2s
- + printf %b '\n\n'
- + [[ ascii == *w3m* ]]
- + err 'Neofetch command: /sbin/neofetch -vv'
- ++ color 1
- ++ case $1 in
- ++ printf '%b\e[3%sm' '\e[0m' 1
- + err+='[0m[31m[!]\e[0m Neofetch command: /sbin/neofetch -vv
- '
- + err 'Neofetch version: 7.1.0'
- ++ color 1
- ++ case $1 in
- ++ printf '%b\e[3%sm' '\e[0m' 1
- + err+='[0m[31m[!]\e[0m Neofetch version: 7.1.0
- '
- + [[ on == on ]]
- + printf %b '[0m[31m[!]\e[0m Config: Sourced user config. (/home/ocki/.config/neofetch/config.conf)
- [0m[31m[!]\e[0m Image: Imagemagick not found, falling back to ascii mode.
- [0m[31m[!]\e[0m Info: Couldn'\''t detect DE.
- [0m[31m[!]\e[0m Info: Couldn'\''t detect WM Theme.
- [0m[31m[!]\e[0m Info: Couldn'\''t detect Terminal Font.
- [0m[31m[!]\e[0m Neofetch command: /sbin/neofetch -vv
- [0m[31m[!]\e[0m Neofetch version: 7.1.0
- '
- [0m[31m[!][0m Config: Sourced user config. (/home/ocki/.config/neofetch/config.conf)
- [0m[31m[!][0m Image: Imagemagick not found, falling back to ascii mode.
- [0m[31m[!][0m Info: Couldn't detect DE.
- [0m[31m[!][0m Info: Couldn't detect WM Theme.
- [0m[31m[!][0m Info: Couldn't detect Terminal Font.
- [0m[31m[!][0m Neofetch command: /sbin/neofetch -vv
- [0m[31m[!][0m Neofetch version: 7.1.0
- + [[ off == on ]]
- + return 0
- + printf '\e[?25h\e[?7h'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement