text Neofetch调试信息
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Neofetch调试信息相关的知识,希望对你有一定的参考价值。
# Neofetch config file
# https://github.com/dylanaraps/neofetch
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
info title
info underline
info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
info "Packages" packages
info "Shell" shell
info "Resolution" resolution
info "DE" de
info "WM" wm
info "WM Theme" wm_theme
info "Theme" theme
info "Icons" icons
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "GPU" gpu
info "Memory" memory
# info "GPU Driver" gpu_driver # Linux/macOS only
# info "CPU Usage" cpu_usage
# info "Disk" disk
# info "Battery" battery
# info "Font" font
# info "Song" song
# info "Local IP" local_ip
# info "Public IP" public_ip
# info "Users" users
# info "Install Date" install_date
# info "Locale" locale # This only works on glibc systems.
info line_break
info cols
info line_break
}
# Kernel
# Shorten the output of the kernel function.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --kernel_shorthand
# Supports: Everything except *BSDs (except PacBSD and PC-BSD)
#
# Example:
# on: '4.8.9-1-ARCH'
# off: 'Linux 4.8.9-1-ARCH'
kernel_shorthand="on"
# Distro
# Shorten the output of the distro function
#
# Default: 'off'
# Values: 'on', 'off', 'tiny'
# Flag: --distro_shorthand
# Supports: Everything except Windows and Haiku
distro_shorthand="off"
# Show/Hide OS Architecture.
# Show 'x86_64', 'x86' and etc in 'Distro:' output.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --os_arch
#
# Example:
# on: 'Arch Linux x86_64'
# off: 'Arch Linux'
os_arch="on"
# Uptime
# Shorten the output of the uptime function
#
# Default: 'on'
# Values: 'on', 'off', 'tiny'
# Flag: --uptime_shorthand
#
# Example:
# on: '2 days, 10 hours, 3 mins'
# off: '2 days, 10 hours, 3 minutes'
# tiny: '2d 10h 3m'
uptime_shorthand="on"
# Shell
# Show the path to $SHELL
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --shell_path
#
# Example:
# on: '/bin/bash'
# off: 'bash'
shell_path="off"
# Show $SHELL version
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --shell_version
#
# Example:
# on: 'bash 4.4.5'
# off: 'bash'
shell_version="on"
# CPU
# CPU speed type
#
# Default: 'bios_limit'
# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
# Flag: --speed_type
# Supports: Linux with 'cpufreq'
# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
speed_type="bios_limit"
# CPU speed shorthand
#
# Default: 'off'
# Values: 'on', 'off'.
# Flag: --speed_shorthand.
# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz
#
# Example:
# on: 'i7-6500U (4) @ 3.1GHz'
# off: 'i7-6500U (4) @ 3.100GHz'
speed_shorthand="off"
# Enable/Disable CPU brand in output.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --cpu_brand
#
# Example:
# on: 'Intel i7-6500U'
# off: 'i7-6500U (4)'
cpu_brand="on"
# CPU Speed
# Hide/Show CPU speed.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --cpu_speed
#
# Example:
# on: 'Intel i7-6500U (4) @ 3.1GHz'
# off: 'Intel i7-6500U (4)'
cpu_speed="on"
# CPU Cores
# Display CPU cores in output
#
# Default: 'logical'
# Values: 'logical', 'physical', 'off'
# Flag: --cpu_cores
# Support: 'physical' doesn't work on BSD.
#
# Example:
# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
# off: 'Intel i7-6500U @ 3.1GHz'
cpu_cores="logical"
# CPU Temperature
# Hide/Show CPU temperature.
# Note the temperature is added to the regular CPU function.
#
# Default: 'off'
# Values: 'C', 'F', 'off'
# Flag: --cpu_temp
# Supports: Linux, BSD
# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable
# coretemp kernel module. This only supports newer Intel processors.
#
# Example:
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
# off: 'Intel i7-6500U (4) @ 3.1GHz'
cpu_temp="off"
# GPU
# Enable/Disable GPU Brand
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gpu_brand
#
# Example:
# on: 'AMD HD 7950'
# off: 'HD 7950'
gpu_brand="on"
# Which GPU to display
#
# Default: 'all'
# Values: 'all', 'dedicated', 'integrated'
# Flag: --gpu_type
# Supports: Linux
#
# Example:
# all:
# GPU1: AMD HD 7950
# GPU2: Intel Integrated Graphics
#
# dedicated:
# GPU1: AMD HD 7950
#
# integrated:
# GPU1: Intel Integrated Graphics
gpu_type="all"
# Resolution
# Display refresh rate next to each monitor
# Default: 'off'
# Values: 'on', 'off'
# Flag: --refresh_rate
# Supports: Doesn't work on Windows.
#
# Example:
# on: '1920x1080 @ 60Hz'
# off: '1920x1080'
refresh_rate="off"
# Gtk Theme / Icons / Font
# Shorten output of GTK Theme / Icons / Font
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --gtk_shorthand
#
# Example:
# on: 'Numix, Adwaita'
# off: 'Numix [GTK2], Adwaita [GTK3]'
gtk_shorthand="off"
# Enable/Disable gtk2 Theme / Icons / Font
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gtk2
#
# Example:
# on: 'Numix [GTK2], Adwaita [GTK3]'
# off: 'Adwaita [GTK3]'
gtk2="on"
# Enable/Disable gtk3 Theme / Icons / Font
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gtk3
#
# Example:
# on: 'Numix [GTK2], Adwaita [GTK3]'
# off: 'Numix [GTK2]'
gtk3="on"
# IP Address
# Website to ping for the public IP
#
# Default: 'http://ident.me'
# Values: 'url'
# Flag: --ip_host
public_ip_host="http://ident.me"
# Disk
# Which disks to display.
# The values can be any /dev/sdXX, mount point or directory.
# NOTE: By default we only show the disk info for '/'.
#
# Default: '/'
# Values: '/', '/dev/sdXX', '/path/to/drive'.
# Flag: --disk_show
#
# Example:
# disk_show=('/' '/dev/sdb1'):
# 'Disk (/): 74G / 118G (66%)'
# 'Disk (/mnt/Videos): 823G / 893G (93%)'
#
# disk_show=('/'):
# 'Disk (/): 74G / 118G (66%)'
#
disk_show=('/')
# Disk subtitle.
# What to append to the Disk subtitle.
#
# Default: 'mount'
# Values: 'mount', 'name', 'dir'
# Flag: --disk_subtitle
#
# Example:
# name: 'Disk (/dev/sda1): 74G / 118G (66%)'
# 'Disk (/dev/sdb2): 74G / 118G (66%)'
#
# mount: 'Disk (/): 74G / 118G (66%)'
# 'Disk (/mnt/Local Disk): 74G / 118G (66%)'
# 'Disk (/mnt/Videos): 74G / 118G (66%)'
#
# dir: 'Disk (/): 74G / 118G (66%)'
# 'Disk (Local Disk): 74G / 118G (66%)'
# 'Disk (Videos): 74G / 118G (66%)'
disk_subtitle="mount"
# Song
# Manually specify a music player.
#
# Default: 'auto'
# Values: 'auto', 'player-name'
# Flag: --music_player
#
# Available values for 'player-name':
#
# Google Play
# Spotify
# amarok
# audacious
# banshee
# bluemindo
# clementine
# cmus
# deadbeef
# deepin-music
# elisa
# exaile
# gnome-music
# guayadeque
# iTunes$
# juk
# lollypop
# mocp
# mopidy
# mpd
# pogo
# pragha
# qmmp
# quodlibet
# rhythmbox
# spotify
# tomahawk
# xmms2d
# yarock
music_player="auto"
# Print the Artist and Title on separate lines
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --song_shorthand
#
# Example:
# on: 'Artist: The Fratellis'
# 'Song: Chelsea Dagger'
#
# off: 'Song: The Fratellis - Chelsea Dagger'
song_shorthand="off"
# Install Date
# Whether to show the time in the output
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --install_time
#
# Example:
# on: 'Thu 14 Apr 2016 11:50 PM'
# off: 'Thu 14 Apr 2016'
install_time="on"
# Set time format in the output
#
# Default: '24h'
# Values: '12h', '24h'
# Flag: --install_time_format
#
# Example:
# 12h: 'Thu 14 Apr 2016 11:50 PM'
# 24h: 'Thu 14 Apr 2016 23:50'
install_time_format="12h"
# Text Colors
# Text Colors
#
# Default: 'distro'
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
# Flag: --colors
#
# Each number represents a different part of the text in
# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
#
# Example:
# colors=(distro) - Text is colored based on Distro colors.
# colors=(4 6 1 8 8 6) - Text is colored in the order above.
colors=(distro)
# Text Options
# Toggle bold text
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --bold
bold="on"
# Enable/Disable Underline
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --underline
underline_enabled="on"
# Underline character
#
# Default: '-'
# Values: 'string'
# Flag: --underline_char
underline_char="-"
# Color Blocks
# Color block range
# The range of colors to print.
#
# Default: '0', '7'
# Values: 'num'
# Flag: --block_range
#
# Example:
#
# Display colors 0-7 in the blocks. (8 colors)
# neofetch --block_range 0 7
#
# Display colors 0-15 in the blocks. (16 colors)
# neofetch --block_range 0 15
block_range=(0 7)
# Toggle color blocks
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --color_blocks
color_blocks="on"
# Color block width in spaces
#
# Default: '3'
# Values: 'num'
# Flag: --block_width
block_width=3
# Color block height in lines
#
# Default: '1'
# Values: 'num'
# Flag: --block_height
block_height=1
# Progress Bars
# Bar characters
#
# Default: '-', '='
# Values: 'string', 'string'
# Flag: --bar_char
#
# Example:
# neofetch --bar_char 'elapsed' 'total'
# neofetch --bar_char '-' '='
bar_char_elapsed="-"
bar_char_total="="
# Toggle Bar border
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --bar_border
bar_border="on"
# Progress bar length in spaces
# Number of chars long to make the progress bars.
#
# Default: '15'
# Values: 'num'
# Flag: --bar_length
bar_length=15
# Progress bar colors
# When set to distro, uses your distro's logo colors.
#
# Default: 'distro', 'distro'
# Values: 'distro', 'num'
# Flag: --bar_colors
#
# Example:
# neofetch --bar_colors 3 4
# neofetch --bar_colors distro 5
bar_color_elapsed="distro"
bar_color_total="distro"
# Info display
# Display a bar with the info.
#
# Default: 'off'
# Values: 'bar', 'infobar', 'barinfo', 'off'
# Flags: --cpu_display
# --memory_display
# --battery_display
# --disk_display
#
# Example:
# bar: '[---=======]'
# infobar: 'info [---=======]'
# barinfo: '[---=======] info'
# off: 'info'
cpu_display="off"
memory_display="off"
battery_display="off"
disk_display="off"
# Backend Settings
# Image backend.
#
# Default: 'ascii'
# Values: 'ascii', 'caca', 'catimg', 'jp2a', 'iterm2', 'off', 'termpix', 'pixterm', 'tycat', 'w3m'
# Flag: --backend
image_backend="ascii"
# Image Source
#
# Which image or ascii file to display.
#
# Default: 'auto'
# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
# Flag: --source
#
# NOTE: 'auto' will pick the best image source for whatever image backend is used.
# In ascii mode, distro ascii art will be used and in an image mode, your
# wallpaper will be used.
image_source="auto"
# Ascii Options
# Ascii distro
# Which distro's ascii art to display.
#
# Default: 'auto'
# Values: 'auto', 'distro_name'
# Flag: --ascii_distro
#
# NOTE: Arch and Ubuntu have 'old' logo variants.
# Change this to 'arch_old' or 'ubuntu_old' to use the old logos.
# NOTE: Ubuntu has flavor variants.
# Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors.
# NOTE: Arch, Crux and Gentoo have a smaller logo variant.
# Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos.
ascii_distro="auto"
# Ascii Colors
#
# Default: 'distro'
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
# Flag: --ascii_colors
#
# Example:
# ascii_colors=(distro) - Ascii is colored based on Distro colors.
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
ascii_colors=(distro)
# Bold ascii logo
# Whether or not to bold the ascii logo.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --ascii_bold
ascii_bold="on"
# Image Options
# Image loop
# Setting this to on will make neofetch redraw the image constantly until
# Ctrl+C is pressed. This fixes display issues in some terminal emulators.
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --loop
image_loop="off"
# Thumbnail directory
#
# Default: '~/.cache/thumbnails/neofetch'
# Values: 'dir'
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
# Crop mode
#
# Default: 'normal'
# Values: 'normal', 'fit', 'fill'
# Flag: --crop_mode
#
# See this wiki page to learn about the fit and fill options.
# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
crop_mode="normal"
# Crop offset
# Note: Only affects 'normal' crop mode.
#
# Default: 'center'
# Values: 'northwest', 'north', 'northeast', 'west', 'center'
# 'east', 'southwest', 'south', 'southeast'
# Flag: --crop_offset
crop_offset="center"
# Image size
# The image is half the terminal width by default.
#
# Default: 'auto'
# Values: 'auto', '00px', '00%', 'none'
# Flags: --image_size
# --size
image_size="auto"
# Gap between image and text
#
# Default: '3'
# Values: 'num', '-num'
# Flag: --gap
gap=3
# Image offsets
# Only works with the w3m backend.
#
# Default: '0'
# Values: 'px'
# Flags: --xoffset
# --yoffset
yoffset=0
xoffset=0
# Image background color
# Only works with the w3m backend.
#
# Default: ''
# Values: 'color', 'blue'
# Flag: --bg_color
background_color=
# Scrot Options
# Whether or not to always take a screenshot
# You can manually take a screenshot with "--scrot" or "-s"
#
# Default: 'off'
# Values: 'on', 'off'
# Flags: --scrot
# -s
scrot="off"
# Screenshot Program
# Neofetch will automatically use whatever screenshot tool
# is installed on your system.
#
# If 'neofetch -v' says that it couldn't find a screenshot
# tool or you're using a custom tool then you can change
# the option below to a custom command.
#
# Default: 'auto'
# Values: 'auto' 'cmd -flags'
# Flag: --scrot_cmd
scrot_cmd="auto"
# Screenshot Filename
# What to name the screenshots
#
# Default: 'neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png'
# Values: 'string'
# Flag: --scrot_name
scrot_name="neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png"
# Image upload host
# Where to upload the image.
#
# Default: 'teknik'
# Values: 'imgur', 'teknik'
# Flag: --image_host
#
# NOTE: If you'd like another image host to be added to Neofetch.
# Open an issue on github.
image_host="teknik"
# Misc Options
# Stdout mode
# Turn off all colors and disables image backend (ASCII/Image).
# Useful for piping into another command.
# Default: 'off'
# Values: 'on', 'off'
stdout="off"
# Config version.
#
# NOTE: Don't change this value, neofetch reads this to determine
# how to handle backwards compatibility.
config_version="3.4.0"
+ verbose=on
+ shift
+ [[ -n '' ]]
+ [[ on != \o\n ]]
+ get_distro
+ [[ -n '' ]]
+ case "$os" in
+ [[ -f /etc/redstar-release ]]
+ [[ -f /etc/siduction-version ]]
+ type -p lsb_release
+ case "$distro_shorthand" in
+ lsb_flags=-sd
++ lsb_release -sd
+ distro='Ubuntu 18.10'
+ [[ Linux version 4.18.0-17-generic (buildd@lcy01-amd64-022) (gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1)) #18-Ubuntu SMP Wed Mar 13 14:34:40 UTC 2019 == *\M\i\c\r\o\s\o\f\t* ]]
+ [[ 4.18.0-17-generic == *\M\i\c\r\o\s\o\f\t* ]]
+ [[ Linux version 4.18.0-17-generic (buildd@lcy01-amd64-022) (gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1)) #18-Ubuntu SMP Wed Mar 13 14:34:40 UTC 2019 == *\c\h\r\o\m\e\-\b\o\t* ]]
+ [[ -f /dev/cros_ec ]]
++ trim_quotes 'Ubuntu 18.10'
++ trim_output='Ubuntu 18.10'
++ trim_output='Ubuntu 18.10'
++ printf %s 'Ubuntu 18.10'
+ distro='Ubuntu 18.10'
+ distro='Ubuntu 18.10'
+ distro='Ubuntu 18.10'
+ [[ -z Ubuntu 18.10 ]]
+ case "$os" in
+ machine_arch=x86_64
+ [[ on == \o\n ]]
+ distro+=' x86_64'
+ [[ auto == \a\u\t\o ]]
++ trim 'Ubuntu 18.10 x86_64'
++ set -f
++ set -- Ubuntu 18.10 x86_64
++ printf '%s\n' 'Ubuntu 18.10 x86_64'
++ set +f
+ ascii_distro='Ubuntu 18.10 x86_64'
+ get_bold
+ case "$ascii_bold" in
+ ascii_bold='\e[1m'
+ case "$bold" in
+ bold='\e[1m'
+ get_distro_ascii
+ case "$(trim "$ascii_distro")" in
++ trim 'Ubuntu 18.10 x86_64'
++ set -f
++ set -- Ubuntu 18.10 x86_64
++ printf '%s\n' 'Ubuntu 18.10 x86_64'
++ set +f
+ set_colors 1 7 3
++ color 1
++ case "$1" in
++ printf '%b\e[3%sm' '\e[0m' 1
+ c1='[0m[31m\e[1m'
++ color 7
++ case "$1" in
++ printf '\e[37m%b' '\e[0m'
+ c2='[37m[0m\e[1m'
++ color 3
++ case "$1" in
++ printf '%b\e[3%sm' '\e[0m' 3
+ c3='[0m[33m\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 1 7 3
+ [[ distro == \d\i\s\t\r\o ]]
++ color 1
++ case "$1" in
++ printf '%b\e[3%sm' '\e[0m' 1
+ title_color='[0m[31m'
+ 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'
+ (( 1 == 8 ))
+ (( 7 == 8 ))
+ (( 7 == 7 ))
++ color 1
++ case "$1" in
++ printf '%b\e[3%sm' '\e[0m' 1
+ subtitle_color='[0m[31m'
+ (( 1 == 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 7
++ case "$1" in
++ printf '\e[37m%b' '\e[0m'
+ bar_color_total='[37m[0m'
+ read -rd '' ascii_data
+ [[ distro != \d\i\s\t\r\o ]]
+ [[ off == \o\n ]]
+ [[ xterm-256color != \m\i\n\i\x ]]
+ [[ off != \o\n ]]
+ 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
+ get_ascii
+ [[ -f auto ]]
+ err 'Ascii: Ascii file not found, using distro ascii.'
++ color 1
++ case "$1" in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[0m[31m[!]\e[0m Ascii: Ascii file not found, using distro ascii.
'
+ LC_ALL=en_US.UTF-8
+ IFS='
'
+ read -r line
+ (( 28 > ascii_length ))
+ ascii_length=28
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 32 > ascii_length ))
+ ascii_length=32
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 34 > ascii_length ))
+ ascii_length=34
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 36 > ascii_length ))
+ ascii_length=36
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 37 > ascii_length ))
+ ascii_length=37
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 38 > ascii_length ))
+ ascii_length=38
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 39 > ascii_length ))
+ ascii_length=39
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 40 > ascii_length ))
+ ascii_length=40
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 40 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 40 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 40 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 40 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 40 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 39 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 38 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 37 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 36 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 34 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 32 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ ascii_data='[0m[31m\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss${c2}dMMMNy[0m[31m\e[1msssso.
/sssssssssss${c2}hdmmNNmmyNMMMMh[0m[31m\e[1mssssss/
+sssssssss${c2}hm[0m[31m\e[1myd${c2}MMMMMMMNddddy[0m[31m\e[1mssssssss+
/ssssssss${c2}hNMMM[0m[31m\e[1myh${c2}hyyyyhmNMMMNh[0m[31m\e[1mssssssss/
.ssssssss${c2}dMMMNh[0m[31m\e[1mssssssssss${c2}hNMMMd[0m[31m\e[1mssssssss.
+ssss${c2}hhhyNMMNy[0m[31m\e[1mssssssssssss${c2}yNMMMy[0m[31m\e[1msssssss+
oss${c2}yNMMMNyMMh[0m[31m\e[1mssssssssssssss${c2}hmmmh[0m[31m\e[1mssssssso
oss${c2}yNMMMNyMMh[0m[31m\e[1msssssssssssssshmmmh[0m[31m\e[1mssssssso
+ssss${c2}hhhyNMMNy[0m[31m\e[1mssssssssssss${c2}yNMMMy[0m[31m\e[1msssssss+
.ssssssss${c2}dMMMNh[0m[31m\e[1mssssssssss${c2}hNMMMd[0m[31m\e[1mssssssss.
/ssssssss${c2}hNMMM[0m[31m\e[1myh${c2}hyyyyhdNMMMNh[0m[31m\e[1mssssssss/
+sssssssss${c2}dm[0m[31m\e[1myd${c2}MMMMMMMMddddy[0m[31m\e[1mssssssss+
/sssssssssss${c2}hdmNNNNmyNMMMMh[0m[31m\e[1mssssss/
.ossssssssssssssssss${c2}dMMMNy[0m[31m\e[1msssso.
-+sssssssssssssssss${c2}yyy[0m[31m\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ ascii_data='[0m[31m\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss[37m[0m\e[1mdMMMNy[0m[31m\e[1msssso.
/sssssssssss[37m[0m\e[1mhdmmNNmmyNMMMMh[0m[31m\e[1mssssss/
+sssssssss[37m[0m\e[1mhm[0m[31m\e[1myd[37m[0m\e[1mMMMMMMMNddddy[0m[31m\e[1mssssssss+
/ssssssss[37m[0m\e[1mhNMMM[0m[31m\e[1myh[37m[0m\e[1mhyyyyhmNMMMNh[0m[31m\e[1mssssssss/
.ssssssss[37m[0m\e[1mdMMMNh[0m[31m\e[1mssssssssss[37m[0m\e[1mhNMMMd[0m[31m\e[1mssssssss.
+ssss[37m[0m\e[1mhhhyNMMNy[0m[31m\e[1mssssssssssss[37m[0m\e[1myNMMMy[0m[31m\e[1msssssss+
oss[37m[0m\e[1myNMMMNyMMh[0m[31m\e[1mssssssssssssss[37m[0m\e[1mhmmmh[0m[31m\e[1mssssssso
oss[37m[0m\e[1myNMMMNyMMh[0m[31m\e[1msssssssssssssshmmmh[0m[31m\e[1mssssssso
+ssss[37m[0m\e[1mhhhyNMMNy[0m[31m\e[1mssssssssssss[37m[0m\e[1myNMMMy[0m[31m\e[1msssssss+
.ssssssss[37m[0m\e[1mdMMMNh[0m[31m\e[1mssssssssss[37m[0m\e[1mhNMMMd[0m[31m\e[1mssssssss.
/ssssssss[37m[0m\e[1mhNMMM[0m[31m\e[1myh[37m[0m\e[1mhyyyyhdNMMMNh[0m[31m\e[1mssssssss/
+sssssssss[37m[0m\e[1mdm[0m[31m\e[1myd[37m[0m\e[1mMMMMMMMMddddy[0m[31m\e[1mssssssss+
/sssssssssss[37m[0m\e[1mhdmNNNNmyNMMMMh[0m[31m\e[1mssssss/
.ossssssssssssssssss[37m[0m\e[1mdMMMNy[0m[31m\e[1msssso.
-+sssssssssssssssss[37m[0m\e[1myyy[0m[31m\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ ascii_data='[0m[31m\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss[37m[0m\e[1mdMMMNy[0m[31m\e[1msssso.
/sssssssssss[37m[0m\e[1mhdmmNNmmyNMMMMh[0m[31m\e[1mssssss/
+sssssssss[37m[0m\e[1mhm[0m[31m\e[1myd[37m[0m\e[1mMMMMMMMNddddy[0m[31m\e[1mssssssss+
/ssssssss[37m[0m\e[1mhNMMM[0m[31m\e[1myh[37m[0m\e[1mhyyyyhmNMMMNh[0m[31m\e[1mssssssss/
.ssssssss[37m[0m\e[1mdMMMNh[0m[31m\e[1mssssssssss[37m[0m\e[1mhNMMMd[0m[31m\e[1mssssssss.
+ssss[37m[0m\e[1mhhhyNMMNy[0m[31m\e[1mssssssssssss[37m[0m\e[1myNMMMy[0m[31m\e[1msssssss+
oss[37m[0m\e[1myNMMMNyMMh[0m[31m\e[1mssssssssssssss[37m[0m\e[1mhmmmh[0m[31m\e[1mssssssso
oss[37m[0m\e[1myNMMMNyMMh[0m[31m\e[1msssssssssssssshmmmh[0m[31m\e[1mssssssso
+ssss[37m[0m\e[1mhhhyNMMNy[0m[31m\e[1mssssssssssss[37m[0m\e[1myNMMMy[0m[31m\e[1msssssss+
.ssssssss[37m[0m\e[1mdMMMNh[0m[31m\e[1mssssssssss[37m[0m\e[1mhNMMMd[0m[31m\e[1mssssssss.
/ssssssss[37m[0m\e[1mhNMMM[0m[31m\e[1myh[37m[0m\e[1mhyyyyhdNMMMNh[0m[31m\e[1mssssssss/
+sssssssss[37m[0m\e[1mdm[0m[31m\e[1myd[37m[0m\e[1mMMMMMMMMddddy[0m[31m\e[1mssssssss+
/sssssssssss[37m[0m\e[1mhdmNNNNmyNMMMMh[0m[31m\e[1mssssss/
.ossssssssssssssssss[37m[0m\e[1mdMMMNy[0m[31m\e[1msssso.
-+sssssssssssssssss[37m[0m\e[1myyy[0m[31m\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ ascii_data='[0m[31m\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss[37m[0m\e[1mdMMMNy[0m[31m\e[1msssso.
/sssssssssss[37m[0m\e[1mhdmmNNmmyNMMMMh[0m[31m\e[1mssssss/
+sssssssss[37m[0m\e[1mhm[0m[31m\e[1myd[37m[0m\e[1mMMMMMMMNddddy[0m[31m\e[1mssssssss+
/ssssssss[37m[0m\e[1mhNMMM[0m[31m\e[1myh[37m[0m\e[1mhyyyyhmNMMMNh[0m[31m\e[1mssssssss/
.ssssssss[37m[0m\e[1mdMMMNh[0m[31m\e[1mssssssssss[37m[0m\e[1mhNMMMd[0m[31m\e[1mssssssss.
+ssss[37m[0m\e[1mhhhyNMMNy[0m[31m\e[1mssssssssssss[37m[0m\e[1myNMMMy[0m[31m\e[1msssssss+
oss[37m[0m\e[1myNMMMNyMMh[0m[31m\e[1mssssssssssssss[37m[0m\e[1mhmmmh[0m[31m\e[1mssssssso
oss[37m[0m\e[1myNMMMNyMMh[0m[31m\e[1msssssssssssssshmmmh[0m[31m\e[1mssssssso
+ssss[37m[0m\e[1mhhhyNMMNy[0m[31m\e[1mssssssssssss[37m[0m\e[1myNMMMy[0m[31m\e[1msssssss+
.ssssssss[37m[0m\e[1mdMMMNh[0m[31m\e[1mssssssssss[37m[0m\e[1mhNMMMd[0m[31m\e[1mssssssss.
/ssssssss[37m[0m\e[1mhNMMM[0m[31m\e[1myh[37m[0m\e[1mhyyyyhdNMMMNh[0m[31m\e[1mssssssss/
+sssssssss[37m[0m\e[1mdm[0m[31m\e[1myd[37m[0m\e[1mMMMMMMMMddddy[0m[31m\e[1mssssssss+
/sssssssssss[37m[0m\e[1mhdmNNNNmyNMMMMh[0m[31m\e[1mssssss/
.ossssssssssssssssss[37m[0m\e[1mdMMMNy[0m[31m\e[1msssso.
-+sssssssssssssssss[37m[0m\e[1myyy[0m[31m\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ ascii_data='[0m[31m\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss[37m[0m\e[1mdMMMNy[0m[31m\e[1msssso.
/sssssssssss[37m[0m\e[1mhdmmNNmmyNMMMMh[0m[31m\e[1mssssss/
+sssssssss[37m[0m\e[1mhm[0m[31m\e[1myd[37m[0m\e[1mMMMMMMMNddddy[0m[31m\e[1mssssssss+
/ssssssss[37m[0m\e[1mhNMMM[0m[31m\e[1myh[37m[0m\e[1mhyyyyhmNMMMNh[0m[31m\e[1mssssssss/
.ssssssss[37m[0m\e[1mdMMMNh[0m[31m\e[1mssssssssss[37m[0m\e[1mhNMMMd[0m[31m\e[1mssssssss.
+ssss[37m[0m\e[1mhhhyNMMNy[0m[31m\e[1mssssssssssss[37m[0m\e[1myNMMMy[0m[31m\e[1msssssss+
oss[37m[0m\e[1myNMMMNyMMh[0m[31m\e[1mssssssssssssss[37m[0m\e[1mhmmmh[0m[31m\e[1mssssssso
oss[37m[0m\e[1myNMMMNyMMh[0m[31m\e[1msssssssssssssshmmmh[0m[31m\e[1mssssssso
+ssss[37m[0m\e[1mhhhyNMMNy[0m[31m\e[1mssssssssssss[37m[0m\e[1myNMMMy[0m[31m\e[1msssssss+
.ssssssss[37m[0m\e[1mdMMMNh[0m[31m\e[1mssssssssss[37m[0m\e[1mhNMMMd[0m[31m\e[1mssssssss.
/ssssssss[37m[0m\e[1mhNMMM[0m[31m\e[1myh[37m[0m\e[1mhyyyyhdNMMMNh[0m[31m\e[1mssssssss/
+sssssssss[37m[0m\e[1mdm[0m[31m\e[1myd[37m[0m\e[1mMMMMMMMMddddy[0m[31m\e[1mssssssss+
/sssssssssss[37m[0m\e[1mhdmNNNNmyNMMMMh[0m[31m\e[1mssssss/
.ossssssssssssssssss[37m[0m\e[1mdMMMNy[0m[31m\e[1msssso.
-+sssssssssssssssss[37m[0m\e[1myyy[0m[31m\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ ascii_data='[0m[31m\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss[37m[0m\e[1mdMMMNy[0m[31m\e[1msssso.
/sssssssssss[37m[0m\e[1mhdmmNNmmyNMMMMh[0m[31m\e[1mssssss/
+sssssssss[37m[0m\e[1mhm[0m[31m\e[1myd[37m[0m\e[1mMMMMMMMNddddy[0m[31m\e[1mssssssss+
/ssssssss[37m[0m\e[1mhNMMM[0m[31m\e[1myh[37m[0m\e[1mhyyyyhmNMMMNh[0m[31m\e[1mssssssss/
.ssssssss[37m[0m\e[1mdMMMNh[0m[31m\e[1mssssssssss[37m[0m\e[1mhNMMMd[0m[31m\e[1mssssssss.
+ssss[37m[0m\e[1mhhhyNMMNy[0m[31m\e[1mssssssssssss[37m[0m\e[1myNMMMy[0m[31m\e[1msssssss+
oss[37m[0m\e[1myNMMMNyMMh[0m[31m\e[1mssssssssssssss[37m[0m\e[1mhmmmh[0m[31m\e[1mssssssso
oss[37m[0m\e[1myNMMMNyMMh[0m[31m\e[1msssssssssssssshmmmh[0m[31m\e[1mssssssso
+ssss[37m[0m\e[1mhhhyNMMNy[0m[31m\e[1mssssssssssss[37m[0m\e[1myNMMMy[0m[31m\e[1msssssss+
.ssssssss[37m[0m\e[1mdMMMNh[0m[31m\e[1mssssssssss[37m[0m\e[1mhNMMMd[0m[31m\e[1mssssssss.
/ssssssss[37m[0m\e[1mhNMMM[0m[31m\e[1myh[37m[0m\e[1mhyyyyhdNMMMNh[0m[31m\e[1mssssssss/
+sssssssss[37m[0m\e[1mdm[0m[31m\e[1myd[37m[0m\e[1mMMMMMMMMddddy[0m[31m\e[1mssssssss+
/sssssssssss[37m[0m\e[1mhdmNNNNmyNMMMMh[0m[31m\e[1mssssss/
.ossssssssssssssssss[37m[0m\e[1mdMMMNy[0m[31m\e[1msssso.
-+sssssssssssssssss[37m[0m\e[1myyy[0m[31m\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ (( text_padding=ascii_length+gap ))
+ printf '%b\n' '[0m[31m\e[1m .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssss[37m[0m\e[1mdMMMNy[0m[31m\e[1msssso.
/sssssssssss[37m[0m\e[1mhdmmNNmmyNMMMMh[0m[31m\e[1mssssss/
+sssssssss[37m[0m\e[1mhm[0m[31m\e[1myd[37m[0m\e[1mMMMMMMMNddddy[0m[31m\e[1mssssssss+
/ssssssss[37m[0m\e[1mhNMMM[0m[31m\e[1myh[37m[0m\e[1mhyyyyhmNMMMNh[0m[31m\e[1mssssssss/
.ssssssss[37m[0m\e[1mdMMMNh[0m[31m\e[1mssssssssss[37m[0m\e[1mhNMMMd[0m[31m\e[1mssssssss.
+ssss[37m[0m\e[1mhhhyNMMNy[0m[31m\e[1mssssssssssss[37m[0m\e[1myNMMMy[0m[31m\e[1msssssss+
oss[37m[0m\e[1myNMMMNyMMh[0m[31m\e[1mssssssssssssss[37m[0m\e[1mhmmmh[0m[31m\e[1mssssssso
oss[37m[0m\e[1myNMMMNyMMh[0m[31m\e[1msssssssssssssshmmmh[0m[31m\e[1mssssssso
+ssss[37m[0m\e[1mhhhyNMMNy[0m[31m\e[1mssssssssssss[37m[0m\e[1myNMMMy[0m[31m\e[1msssssss+
.ssssssss[37m[0m\e[1mdMMMNh[0m[31m\e[1mssssssssss[37m[0m\e[1mhNMMMd[0m[31m\e[1mssssssss.
/ssssssss[37m[0m\e[1mhNMMM[0m[31m\e[1myh[37m[0m\e[1mhyyyyhdNMMMNh[0m[31m\e[1mssssssss/
+sssssssss[37m[0m\e[1mdm[0m[31m\e[1myd[37m[0m\e[1mMMMMMMMMddddy[0m[31m\e[1mssssssss+
/sssssssssss[37m[0m\e[1mhdmNNNNmyNMMMMh[0m[31m\e[1mssssss/
.ossssssssssssssssss[37m[0m\e[1mdMMMNy[0m[31m\e[1msssso.
-+sssssssssssssssss[37m[0m\e[1myyy[0m[31m\e[1mssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.'
+ LC_ALL=C
+ [[ ascii != \o\f\f ]]
+ printf '\e[%sA\e[9999999D' 20
+ get_cache_dir
+ case "$os" in
+ cache_dir=/tmp
+ print_info
+ info title
+ [[ -n '' ]]
+ unset -v prin
+ get_title
+ user=jeff
+ hostname=jeff-XPS-15-9560
+ title='[0m[31m\e[1mjeff\e[0m@[0m[31m\e[1mjeff-XPS-15-9560'
+ length=21
+ [[ -n '' ]]
++ trim '[0m[31m\e[1mjeff\e[0m@[0m[31m\e[1mjeff-XPS-15-9560'
++ set -f
++ set -- '[0m[31m\e[1mjeff\e[0m@[0m[31m\e[1mjeff-XPS-15-9560'
++ printf '%s\n' '[0m[31m\e[1mjeff\e[0m@[0m[31m\e[1mjeff-XPS-15-9560'
++ set +f
+ output='[0m[31m\e[1mjeff\e[0m@[0m[31m\e[1mjeff-XPS-15-9560'
+ [[ -n '' ]]
+ [[ -n [0m[31m\e[1mjeff\e[0m@[0m[31m\e[1mjeff-XPS-15-9560 ]]
+ prin '[0m[31m\e[1mjeff\e[0m@[0m[31m\e[1mjeff-XPS-15-9560'
++ trim '[0m[31m\e[1mjeff\e[0m@[0m[31m\e[1mjeff-XPS-15-9560'
++ set -f
++ set -- '[0m[31m\e[1mjeff\e[0m@[0m[31m\e[1mjeff-XPS-15-9560'
++ printf '%s\n' '[0m[31m\e[1mjeff\e[0m@[0m[31m\e[1mjeff-XPS-15-9560'
++ set +f
+ [[ -n [0m[31m\e[1mjeff\e[0m@[0m[31m\e[1mjeff-XPS-15-9560 ]]
+ [[ -n '' ]]
+ string='[0m[31m\e[1mjeff\e[0m@[0m[31m\e[1mjeff-XPS-15-9560'
+ local 'subtitle_color=\e[0m'
++ trim '[31m\e[1mjeff\e[0m@[31m\e[1mjeff-XPS-15-9560'
++ set -f
++ set -- '[31m\e[1mjeff\e[0m@[31m\e[1mjeff-XPS-15-9560'
++ printf '%s\n' '[31m\e[1mjeff\e[0m@[31m\e[1mjeff-XPS-15-9560'
++ set +f
+ string='[31m\e[1mjeff\e[0m@[31m\e[1mjeff-XPS-15-9560'
+ [[ -z 21 ]]
+ string='[31m\e[1mjeff\e[0m@[31m\e[1mjeff-XPS-15-9560'
+ string='\e[0m\e[1m[31m\e[1mjeff\e[0m@[31m\e[1mjeff-XPS-15-9560'
+ printf '%b\n' '\e[43C\e[0m\e[1m[31m\e[1mjeff\e[0m@[31m\e[1mjeff-XPS-15-9560\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[43C\e[0m' '---------------------\e[0m '
+ unset -v length
+ (( ++info_height ))
+ prin=1
+ [[ -n 1 ]]
+ return
+ info OS distro
+ [[ -n distro ]]
+ subtitle=OS
+ unset -v prin
+ get_distro
+ [[ -n Ubuntu 18.10 x86_64 ]]
+ return
+ [[ -n '' ]]
++ trim 'Ubuntu 18.10 x86_64'
++ set -f
++ set -- Ubuntu 18.10 x86_64
++ printf '%s\n' 'Ubuntu 18.10 x86_64'
++ set +f
+ output='Ubuntu 18.10 x86_64'
+ [[ -n distro ]]
+ [[ -n Ubuntu18.10x86_64 ]]
+ prin OS 'Ubuntu 18.10 x86_64'
++ trim OS
++ set -f
++ set -- OS
++ printf '%s\n' OS
++ set +f
+ [[ -n OS ]]
+ [[ -n Ubuntu 18.10 x86_64 ]]
+ [[ -n '' ]]
+ string='OS: Ubuntu 18.10 x86_64'
++ trim 'OS: Ubuntu 18.10 x86_64'
++ set -f
++ set -- OS: Ubuntu 18.10 x86_64
++ printf '%s\n' 'OS: Ubuntu 18.10 x86_64'
++ set +f
+ string='OS: Ubuntu 18.10 x86_64'
+ [[ -z '' ]]
++ strip_sequences 'OS: Ubuntu 18.10 x86_64'
++ strip='OS: Ubuntu 18.10 x86_64'
++ strip='OS: Ubuntu 18.10 x86_64'
++ strip='OS: Ubuntu 18.10 x86_64'
++ strip='OS: Ubuntu 18.10 x86_64'
++ printf '%s\n' 'OS: Ubuntu 18.10 x86_64'
+ length='OS: Ubuntu 18.10 x86_64'
+ length=23
+ string='OS\e[0m\e[0m:\e[0m Ubuntu 18.10 x86_64'
+ string='[0m[31m\e[1mOS\e[0m\e[0m:\e[0m Ubuntu 18.10 x86_64'
+ printf '%b\n' '\e[43C[0m[31m\e[1mOS\e[0m\e[0m:\e[0m Ubuntu 18.10 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='XPS 15 9560'
+ model+=' '
+ model='XPS 15 9560 '
+ model='XPS 15 9560 '
+ model='XPS 15 9560 '
+ model='XPS 15 9560 '
+ model='XPS 15 9560 '
+ model='XPS 15 9560 '
+ model='XPS 15 9560 '
+ model='XPS 15 9560 '
+ model='XPS 15 9560 '
+ model='XPS 15 9560 '
+ model='XPS 15 9560 '
+ model='XPS 15 9560 '
+ case "$model" in
+ [[ -n '' ]]
++ trim 'XPS 15 9560 '
++ set -f
++ set -- XPS 15 9560
++ printf '%s\n' 'XPS 15 9560'
++ set +f
+ output='XPS 15 9560'
+ [[ -n model ]]
+ [[ -n XPS159560 ]]
+ prin Host 'XPS 15 9560'
++ trim Host
++ set -f
++ set -- Host
++ printf '%s\n' Host
++ set +f
+ [[ -n Host ]]
+ [[ -n XPS 15 9560 ]]
+ [[ -n '' ]]
+ string='Host: XPS 15 9560'
++ trim 'Host: XPS 15 9560'
++ set -f
++ set -- Host: XPS 15 9560
++ printf '%s\n' 'Host: XPS 15 9560'
++ set +f
+ string='Host: XPS 15 9560'
+ [[ -z 23 ]]
+ string='Host\e[0m\e[0m:\e[0m XPS 15 9560'
+ string='[0m[31m\e[1mHost\e[0m\e[0m:\e[0m XPS 15 9560'
+ printf '%b\n' '\e[43C[0m[31m\e[1mHost\e[0m\e[0m:\e[0m XPS 15 9560\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info Kernel kernel
+ [[ -n kernel ]]
+ subtitle=Kernel
+ unset -v prin
+ get_kernel
+ [[ Linux =~ (AIX|IRIX) ]]
+ case "$kernel_shorthand" in
+ kernel=4.18.0-17-generic
+ [[ Linux =~ (BSD|MINIX) ]]
+ [[ -n '' ]]
++ trim 4.18.0-17-generic
++ set -f
++ set -- 4.18.0-17-generic
++ printf '%s\n' 4.18.0-17-generic
++ set +f
+ output=4.18.0-17-generic
+ [[ -n kernel ]]
+ [[ -n 4.18.0-17-generic ]]
+ prin Kernel 4.18.0-17-generic
++ trim Kernel
++ set -f
++ set -- Kernel
++ printf '%s\n' Kernel
++ set +f
+ [[ -n Kernel ]]
+ [[ -n 4.18.0-17-generic ]]
+ [[ -n '' ]]
+ string='Kernel: 4.18.0-17-generic'
++ trim 'Kernel: 4.18.0-17-generic'
++ set -f
++ set -- Kernel: 4.18.0-17-generic
++ printf '%s\n' 'Kernel: 4.18.0-17-generic'
++ set +f
+ string='Kernel: 4.18.0-17-generic'
+ [[ -z 23 ]]
+ string='Kernel\e[0m\e[0m:\e[0m 4.18.0-17-generic'
+ string='[0m[31m\e[1mKernel\e[0m\e[0m:\e[0m 4.18.0-17-generic'
+ printf '%b\n' '\e[43C[0m[31m\e[1mKernel\e[0m\e[0m:\e[0m 4.18.0-17-generic\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info Uptime uptime
+ [[ -n uptime ]]
+ subtitle=Uptime
+ unset -v prin
+ get_uptime
+ case "$os" in
+ case "$os" in
+ seconds='620.45 4769.29'
+ seconds=620
+ days='0 days'
+ hours='0 hours'
+ mins='10 minutes'
+ (( 0 == 1 ))
+ (( 0 == 1 ))
+ (( 10 == 1 ))
+ (( 0 == 0 ))
+ unset days
+ (( 0 == 0 ))
+ unset hours
+ (( 10 == 0 ))
+ uptime='10 minutes'
+ uptime='10 minutes'
+ uptime='10 minutes'
+ case "$uptime_shorthand" in
+ uptime='10 mins'
+ uptime='10 mins'
+ uptime='10 mins'
+ [[ -n '' ]]
++ trim '10 mins'
++ set -f
++ set -- 10 mins
++ printf '%s\n' '10 mins'
++ set +f
+ output='10 mins'
+ [[ -n uptime ]]
+ [[ -n 10mins ]]
+ prin Uptime '10 mins'
++ trim Uptime
++ set -f
++ set -- Uptime
++ printf '%s\n' Uptime
++ set +f
+ [[ -n Uptime ]]
+ [[ -n 10 mins ]]
+ [[ -n '' ]]
+ string='Uptime: 10 mins'
++ trim 'Uptime: 10 mins'
++ set -f
++ set -- Uptime: 10 mins
++ printf '%s\n' 'Uptime: 10 mins'
++ set +f
+ string='Uptime: 10 mins'
+ [[ -z 23 ]]
+ string='Uptime\e[0m\e[0m:\e[0m 10 mins'
+ string='[0m[31m\e[1mUptime\e[0m\e[0m:\e[0m 10 mins'
+ printf '%b\n' '\e[43C[0m[31m\e[1mUptime\e[0m\e[0m:\e[0m 10 mins\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info Packages packages
+ [[ -n packages ]]
+ subtitle=Packages
+ unset -v prin
+ get_packages
+ case "$os" in
+ has pacman-key
+ type -p pacman-key
+ has dpkg
+ type -p dpkg
+ manager=dpkg
+ tot dpkg-query -f '.\n' -W
+ IFS='
'
+ read -d '' -ra pkgs
++ dpkg-query -f '.\n' -W
+ (( packages+=2249 ))
+ pac 2249
+ (( 2249 > 0 ))
+ managers+=("$1 (${manager})")
+ manager_string+='dpkg, '
+ has rpm
+ type -p rpm
+ has xbps-query
+ type -p xbps-query
+ has apk
+ type -p apk
+ has opkg
+ type -p opkg
+ has pacman-g2
+ type -p pacman-g2
+ has lvu
+ type -p lvu
+ has tce-status
+ type -p tce-status
+ has pkg_info
+ type -p pkg_info
+ has tazpkg
+ type -p tazpkg
+ has sorcery
+ type -p sorcery
+ has alps
+ type -p alps
+ has butch
+ type -p butch
+ has emerge
+ type -p emerge
+ has nix-env
+ type -p nix-env
+ has guix
+ type -p guix
+ has Compile
+ type -p Compile
+ has eopkg
+ type -p eopkg
+ has crew
+ type -p crew
+ has pkgtool
+ type -p pkgtool
+ has cave
+ type -p cave
+ has kpm-pkg
+ type -p kpm-pkg
+ case "$kernel_name" in
+ has pkg
+ type -p pkg
+ (( packages == 0 ))
+ has flatpak
+ type -p flatpak
+ has snap
+ type -p snap
+ manager=snap
+ ps -e
+ grep -qFm 1 snapd
+ tot snap list
+ IFS='
'
+ read -d '' -ra pkgs
++ snap list
+ (( packages+=9 ))
+ pac 9
+ (( 9 > 0 ))
+ managers+=("$1 (${manager})")
+ manager_string+='snap, '
+ (( packages-=1 ))
+ (( packages == 0 ))
+ [[ on == \o\n ]]
+ printf -v packages '%s, ' '2249 (dpkg)' '9 (snap)'
+ packages='2249 (dpkg), 9 (snap)'
+ packages='2249 (dpkg), 9 (snap)'
+ packages='2249 (dpkg), 9 (snap)'
+ [[ -n '' ]]
++ trim '2249 (dpkg), 9 (snap)'
++ set -f
++ set -- 2249 '(dpkg),' 9 '(snap)'
++ printf '%s\n' '2249 (dpkg), 9 (snap)'
++ set +f
+ output='2249 (dpkg), 9 (snap)'
+ [[ -n packages ]]
+ [[ -n 2249(dpkg),9(snap) ]]
+ prin Packages '2249 (dpkg), 9 (snap)'
++ trim Packages
++ set -f
++ set -- Packages
++ printf '%s\n' Packages
++ set +f
+ [[ -n Packages ]]
+ [[ -n 2249 (dpkg), 9 (snap) ]]
+ [[ -n '' ]]
+ string='Packages: 2249 (dpkg), 9 (snap)'
++ trim 'Packages: 2249 (dpkg), 9 (snap)'
++ set -f
++ set -- Packages: 2249 '(dpkg),' 9 '(snap)'
++ printf '%s\n' 'Packages: 2249 (dpkg), 9 (snap)'
++ set +f
+ string='Packages: 2249 (dpkg), 9 (snap)'
+ [[ -z 23 ]]
+ string='Packages\e[0m\e[0m:\e[0m 2249 (dpkg), 9 (snap)'
+ string='[0m[31m\e[1mPackages\e[0m\e[0m:\e[0m 2249 (dpkg), 9 (snap)'
+ printf '%b\n' '\e[43C[0m[31m\e[1mPackages\e[0m\e[0m:\e[0m 2249 (dpkg), 9 (snap)\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info Shell shell
+ [[ -n shell ]]
+ subtitle=Shell
+ unset -v prin
+ get_shell
+ case "$shell_path" in
+ shell='zsh '
+ [[ on == \o\n ]]
+ case "${shell_name:=${SHELL##*/}}" in
++ /usr/bin/zsh --version
+ shell+='zsh 5.5.1 (x86_64-ubuntu-linux-gnu)'
+ shell='zsh 5.5.1 (x86_64-ubuntu-linux-gnu)'
+ shell='zsh 5.5.1 (x86_64-ubuntu-linux-gnu)'
+ shell='zsh 5.5.1 (x86_64-ubuntu-linux-gnu)'
+ shell='zsh 5.5.1 (x86_64-ubuntu-linux-gnu)'
+ shell='zsh 5.5.1 '
+ [[ -n '' ]]
++ trim 'zsh 5.5.1 '
++ set -f
++ set -- zsh 5.5.1
++ printf '%s\n' 'zsh 5.5.1'
++ set +f
+ output='zsh 5.5.1'
+ [[ -n shell ]]
+ [[ -n zsh5.5.1 ]]
+ prin Shell 'zsh 5.5.1'
++ trim Shell
++ set -f
++ set -- Shell
++ printf '%s\n' Shell
++ set +f
+ [[ -n Shell ]]
+ [[ -n zsh 5.5.1 ]]
+ [[ -n '' ]]
+ string='Shell: zsh 5.5.1'
++ trim 'Shell: zsh 5.5.1'
++ set -f
++ set -- Shell: zsh 5.5.1
++ printf '%s\n' 'Shell: zsh 5.5.1'
++ set +f
+ string='Shell: zsh 5.5.1'
+ [[ -z 23 ]]
+ string='Shell\e[0m\e[0m:\e[0m zsh 5.5.1'
+ string='[0m[31m\e[1mShell\e[0m\e[0m:\e[0m zsh 5.5.1'
+ printf '%b\n' '\e[43C[0m[31m\e[1mShell\e[0m\e[0m:\e[0m zsh 5.5.1\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
+ case "$refresh_rate" in
++ xrandr --nograb --current
++ awk -F 'connected |\\+|\\(' '/ connected/ && $2 {printf $2 ", "}'
+ resolution='primary 3840x2160, '
+ resolution='3840x2160, '
+ resolution='3840x2160, '
+ resolution=3840x2160
+ [[ -n '' ]]
++ trim 3840x2160
++ set -f
++ set -- 3840x2160
++ printf '%s\n' 3840x2160
++ set +f
+ output=3840x2160
+ [[ -n resolution ]]
+ [[ -n 3840x2160 ]]
+ prin Resolution 3840x2160
++ trim Resolution
++ set -f
++ set -- Resolution
++ printf '%s\n' Resolution
++ set +f
+ [[ -n Resolution ]]
+ [[ -n 3840x2160 ]]
+ [[ -n '' ]]
+ string='Resolution: 3840x2160'
++ trim 'Resolution: 3840x2160'
++ set -f
++ set -- Resolution: 3840x2160
++ printf '%s\n' 'Resolution: 3840x2160'
++ set +f
+ string='Resolution: 3840x2160'
+ [[ -z 23 ]]
+ string='Resolution\e[0m\e[0m:\e[0m 3840x2160'
+ string='[0m[31m\e[1mResolution\e[0m\e[0m:\e[0m 3840x2160'
+ printf '%b\n' '\e[43C[0m[31m\e[1mResolution\e[0m\e[0m:\e[0m 3840x2160\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 ))
+ [[ -n '' ]]
+ [[ -n :0.0 ]]
+ [[ Linux != \M\a\c\ \O\S\ \X ]]
+ [[ Linux != \F\r\e\e\M\i\N\T ]]
++ xprop -root -notype _NET_SUPPORTING_WM_CHECK
+ id='_NET_SUPPORTING_WM_CHECK: window id # 0xe00002'
+ id=0xe00002
++ xprop -id 0xe00002 -notype -len 100 -f _NET_WM_NAME 8t
+ wm='_NET_SUPPORTING_WM_CHECK: window id # 0xe00002
_MARCO_VERSION = "1.20.2"
_NET_WM_NAME = "Metacity (Marco)"'
+ wm='"Metacity (Marco)"'
+ wm='Metacity (Marco)"'
+ wm='Metacity (Marco)'
+ [[ Metacity (Marco) =~ WINDOWMAKER ]]
+ [[ -z Metacity (Marco) ]]
+ wm_run=1
+ [[ -n MATE ]]
+ de=MATE
+ de=MATE
+ de=MATE
+ [[ MATE == \M\e\t\a\c\i\t\y\ \(\M\a\r\c\o\) ]]
+ [[ -n :0.0 ]]
+ [[ -z MATE ]]
+ case "$de" in
+ de=MATE
+ de_run=1
+ [[ -n '' ]]
++ trim MATE
++ set -f
++ set -- MATE
++ printf '%s\n' MATE
++ set +f
+ output=MATE
+ [[ -n de ]]
+ [[ -n MATE ]]
+ prin DE MATE
++ trim DE
++ set -f
++ set -- DE
++ printf '%s\n' DE
++ set +f
+ [[ -n DE ]]
+ [[ -n MATE ]]
+ [[ -n '' ]]
+ string='DE: MATE'
++ trim 'DE: MATE'
++ set -f
++ set -- DE: MATE
++ printf '%s\n' 'DE: MATE'
++ set +f
+ string='DE: MATE'
+ [[ -z 23 ]]
+ string='DE\e[0m\e[0m:\e[0m MATE'
+ string='[0m[31m\e[1mDE\e[0m\e[0m:\e[0m MATE'
+ printf '%b\n' '\e[43C[0m[31m\e[1mDE\e[0m\e[0m:\e[0m MATE\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info WM wm
+ [[ -n wm ]]
+ subtitle=WM
+ unset -v prin
+ get_wm
+ (( wm_run == 1 ))
+ return
+ [[ -n '' ]]
++ trim 'Metacity (Marco)'
++ set -f
++ set -- Metacity '(Marco)'
++ printf '%s\n' 'Metacity (Marco)'
++ set +f
+ output='Metacity (Marco)'
+ [[ -n wm ]]
+ [[ -n Metacity(Marco) ]]
+ prin WM 'Metacity (Marco)'
++ trim WM
++ set -f
++ set -- WM
++ printf '%s\n' WM
++ set +f
+ [[ -n WM ]]
+ [[ -n Metacity (Marco) ]]
+ [[ -n '' ]]
+ string='WM: Metacity (Marco)'
++ trim 'WM: Metacity (Marco)'
++ set -f
++ set -- WM: Metacity '(Marco)'
++ printf '%s\n' 'WM: Metacity (Marco)'
++ set +f
+ string='WM: Metacity (Marco)'
+ [[ -z 23 ]]
+ string='WM\e[0m\e[0m:\e[0m Metacity (Marco)'
+ string='[0m[31m\e[1mWM\e[0m\e[0m:\e[0m Metacity (Marco)'
+ printf '%b\n' '\e[43C[0m[31m\e[1mWM\e[0m\e[0m:\e[0m Metacity (Marco)\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
+ [[ MATE == \D\e\e\p\i\n ]]
+ [[ MATE == \M\A\T\E ]]
++ gsettings get org.mate.Marco.general theme
+ wm_theme=''\''Ambiant-MATE'\'''
++ trim_quotes ''\''Ambiant-MATE'\'''
++ trim_output=Ambiant-MATE
++ trim_output=Ambiant-MATE
++ printf %s Ambiant-MATE
+ wm_theme=Ambiant-MATE
+ [[ -n '' ]]
++ trim Ambiant-MATE
++ set -f
++ set -- Ambiant-MATE
++ printf '%s\n' Ambiant-MATE
++ set +f
+ output=Ambiant-MATE
+ [[ -n wm_theme ]]
+ [[ -n Ambiant-MATE ]]
+ prin 'WM Theme' Ambiant-MATE
++ trim 'WM Theme'
++ set -f
++ set -- WM Theme
++ printf '%s\n' 'WM Theme'
++ set +f
+ [[ -n WM Theme ]]
+ [[ -n Ambiant-MATE ]]
+ [[ -n '' ]]
+ string='WM Theme: Ambiant-MATE'
++ trim 'WM Theme: Ambiant-MATE'
++ set -f
++ set -- WM Theme: Ambiant-MATE
++ printf '%s\n' 'WM Theme: Ambiant-MATE'
++ set +f
+ string='WM Theme: Ambiant-MATE'
+ [[ -z 23 ]]
+ string='WM Theme\e[0m\e[0m:\e[0m Ambiant-MATE'
+ string='[0m[31m\e[1mWM Theme\e[0m\e[0m:\e[0m Ambiant-MATE'
+ printf '%b\n' '\e[43C[0m[31m\e[1mWM Theme\e[0m\e[0m:\e[0m Ambiant-MATE\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 :0.0 ]]
+ [[ Linux != \M\a\c\ \O\S\ \X ]]
+ (( de_run != 1 ))
+ case "$de" in
++ gsettings get org.mate.interface gtk-theme
+ gtk3_theme=''\''Ambiant-MATE'\'''
+ gtk2_theme=''\''Ambiant-MATE'\'''
+ [[ -z 'Ambiant-MATE' ]]
+ [[ -z 'Ambiant-MATE' ]]
++ trim ''\''Ambiant-MATE'\'''
++ set -f
++ set -- ''\''Ambiant-MATE'\'''
++ printf '%s\n' ''\''Ambiant-MATE'\'''
++ set +f
+ gtk2_theme=''\''Ambiant-MATE'\'''
++ trim ''\''Ambiant-MATE'\'''
++ set -f
++ set -- ''\''Ambiant-MATE'\'''
++ printf '%s\n' ''\''Ambiant-MATE'\'''
++ set +f
+ gtk3_theme=''\''Ambiant-MATE'\'''
++ trim_quotes ''\''Ambiant-MATE'\'''
++ trim_output=Ambiant-MATE
++ trim_output=Ambiant-MATE
++ printf %s Ambiant-MATE
+ gtk2_theme=Ambiant-MATE
++ trim_quotes ''\''Ambiant-MATE'\'''
++ trim_output=Ambiant-MATE
++ trim_output=Ambiant-MATE
++ printf %s Ambiant-MATE
+ gtk3_theme=Ambiant-MATE
+ [[ on == \o\f\f ]]
+ [[ on == \o\f\f ]]
+ [[ -n Ambiant-MATE ]]
+ [[ Ambiant-MATE == \A\m\b\i\a\n\t\-\M\A\T\E ]]
+ gtk3_theme+=' [GTK2/3]'
+ unset gtk2_theme
+ theme='Ambiant-MATE [GTK2/3]'
+ theme='Ambiant-MATE [GTK2/3]'
+ [[ off == \o\n ]]
+ [[ -n '' ]]
++ trim 'Ambiant-MATE [GTK2/3]'
++ set -f
++ set -- Ambiant-MATE '[GTK2/3]'
++ printf '%s\n' 'Ambiant-MATE [GTK2/3]'
++ set +f
+ output='Ambiant-MATE [GTK2/3]'
+ [[ -n theme ]]
+ [[ -n Ambiant-MATE[GTK2/3] ]]
+ prin Theme 'Ambiant-MATE [GTK2/3]'
++ trim Theme
++ set -f
++ set -- Theme
++ printf '%s\n' Theme
++ set +f
+ [[ -n Theme ]]
+ [[ -n Ambiant-MATE [GTK2/3] ]]
+ [[ -n '' ]]
+ string='Theme: Ambiant-MATE [GTK2/3]'
++ trim 'Theme: Ambiant-MATE [GTK2/3]'
++ set -f
++ set -- Theme: Ambiant-MATE '[GTK2/3]'
++ printf '%s\n' 'Theme: Ambiant-MATE [GTK2/3]'
++ set +f
+ string='Theme: Ambiant-MATE [GTK2/3]'
+ [[ -z 23 ]]
+ string='Theme\e[0m\e[0m:\e[0m Ambiant-MATE [GTK2/3]'
+ string='[0m[31m\e[1mTheme\e[0m\e[0m:\e[0m Ambiant-MATE [GTK2/3]'
+ printf '%b\n' '\e[43C[0m[31m\e[1mTheme\e[0m\e[0m:\e[0m Ambiant-MATE [GTK2/3]\e[0m '
+ (( ++info_height ))
+ prin=1
+ 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 :0.0 ]]
+ [[ Linux != \M\a\c\ \O\S\ \X ]]
+ (( de_run != 1 ))
+ case "$de" in
++ gsettings get org.mate.interface icon-theme
+ gtk3_theme=''\''Ambiant-MATE'\'''
+ gtk2_theme=''\''Ambiant-MATE'\'''
+ [[ -z 'Ambiant-MATE' ]]
+ [[ -z 'Ambiant-MATE' ]]
++ trim ''\''Ambiant-MATE'\'''
++ set -f
++ set -- ''\''Ambiant-MATE'\'''
++ printf '%s\n' ''\''Ambiant-MATE'\'''
++ set +f
+ gtk2_theme=''\''Ambiant-MATE'\'''
++ trim ''\''Ambiant-MATE'\'''
++ set -f
++ set -- ''\''Ambiant-MATE'\'''
++ printf '%s\n' ''\''Ambiant-MATE'\'''
++ set +f
+ gtk3_theme=''\''Ambiant-MATE'\'''
++ trim_quotes ''\''Ambiant-MATE'\'''
++ trim_output=Ambiant-MATE
++ trim_output=Ambiant-MATE
++ printf %s Ambiant-MATE
+ gtk2_theme=Ambiant-MATE
++ trim_quotes ''\''Ambiant-MATE'\'''
++ trim_output=Ambiant-MATE
++ trim_output=Ambiant-MATE
++ printf %s Ambiant-MATE
+ gtk3_theme=Ambiant-MATE
+ [[ on == \o\f\f ]]
+ [[ on == \o\f\f ]]
+ [[ -n Ambiant-MATE ]]
+ [[ Ambiant-MATE == \A\m\b\i\a\n\t\-\M\A\T\E ]]
+ gtk3_theme+=' [GTK2/3]'
+ unset gtk2_theme
+ theme='Ambiant-MATE [GTK2/3]'
+ theme='Ambiant-MATE [GTK2/3]'
+ [[ off == \o\n ]]
+ icons='Ambiant-MATE [GTK2/3]'
+ [[ -n '' ]]
++ trim 'Ambiant-MATE [GTK2/3]'
++ set -f
++ set -- Ambiant-MATE '[GTK2/3]'
++ printf '%s\n' 'Ambiant-MATE [GTK2/3]'
++ set +f
+ output='Ambiant-MATE [GTK2/3]'
+ [[ -n icons ]]
+ [[ -n Ambiant-MATE[GTK2/3] ]]
+ prin Icons 'Ambiant-MATE [GTK2/3]'
++ trim Icons
++ set -f
++ set -- Icons
++ printf '%s\n' Icons
++ set +f
+ [[ -n Icons ]]
+ [[ -n Ambiant-MATE [GTK2/3] ]]
+ [[ -n '' ]]
+ string='Icons: Ambiant-MATE [GTK2/3]'
++ trim 'Icons: Ambiant-MATE [GTK2/3]'
++ set -f
++ set -- Icons: Ambiant-MATE '[GTK2/3]'
++ printf '%s\n' 'Icons: Ambiant-MATE [GTK2/3]'
++ set +f
+ string='Icons: Ambiant-MATE [GTK2/3]'
+ [[ -z 23 ]]
+ string='Icons\e[0m\e[0m:\e[0m Ambiant-MATE [GTK2/3]'
+ string='[0m[31m\e[1mIcons\e[0m\e[0m:\e[0m Ambiant-MATE [GTK2/3]'
+ printf '%b\n' '\e[43C[0m[31m\e[1mIcons\e[0m\e[0m:\e[0m Ambiant-MATE [GTK2/3]\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info Terminal term
+ [[ -n term ]]
+ subtitle=Terminal
+ unset -v prin
+ get_term
+ (( term_run == 1 ))
+ case "$TERM_PROGRAM" in
+ term=
+ [[ xterm-256color == \t\w\5\2 ]]
+ [[ xterm-256color == \t\w\1\0\0 ]]
+ [[ -n '' ]]
+ [[ -z '' ]]
++ get_ppid ''
++ case "$os" in
+++ grep -i -F PPid: /proc/4473/status
++ ppid='PPid: 3861'
+++ trim ' 3861'
+++ set -f
+++ set -- 3861
+++ printf '%s\n' 3861
+++ set +f
++ ppid=3861
++ printf %s 3861
+ parent=3861
+ [[ -z 3861 ]]
++ get_process_name 3861
++ case "$os" in
++ name=mate-terminal
++ printf %s mate-terminal
+ name=mate-terminal
+ case "${name// }" in
+ term=mate-terminal
+ [[ -z mate-terminal ]]
+ term_run=1
+ [[ -n '' ]]
++ trim mate-terminal
++ set -f
++ set -- mate-terminal
++ printf '%s\n' mate-terminal
++ set +f
+ output=mate-terminal
+ [[ -n term ]]
+ [[ -n mate-terminal ]]
+ prin Terminal mate-terminal
++ trim Terminal
++ set -f
++ set -- Terminal
++ printf '%s\n' Terminal
++ set +f
+ [[ -n Terminal ]]
+ [[ -n mate-terminal ]]
+ [[ -n '' ]]
+ string='Terminal: mate-terminal'
++ trim 'Terminal: mate-terminal'
++ set -f
++ set -- Terminal: mate-terminal
++ printf '%s\n' 'Terminal: mate-terminal'
++ set +f
+ string='Terminal: mate-terminal'
+ [[ -z 23 ]]
+ string='Terminal\e[0m\e[0m:\e[0m mate-terminal'
+ string='[0m[31m\e[1mTerminal\e[0m\e[0m:\e[0m mate-terminal'
+ printf '%b\n' '\e[43C[0m[31m\e[1mTerminal\e[0m\e[0m:\e[0m mate-terminal\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
+ mateterm_config=/tmp/mateterm.cfg
+ [[ -d /tmp ]]
+ [[ ! -f /tmp/mateterm.cfg ]]
+ mate-terminal --save-config=/tmp/mateterm.cfg
(mate-terminal:13500): Gtk-WARNING **: 15:29:38.775: Theme parsing error: gtk-widgets.css:3135:13: 'max-width' is not a valid property name
(mate-terminal:13500): Gtk-WARNING **: 15:29:38.775: Theme parsing error: gtk-widgets.css:3136:14: 'max-height' is not a valid property name
++ xprop -id 50331860 WM_WINDOW_ROLE
+ role='WM_WINDOW_ROLE(STRING) = "mate-terminal-window-3861--1035669821-1553455189"'
+ role='"mate-terminal-window-3861--1035669821-1553455189"'
+ role=mate-terminal-window-3861--1035669821-1553455189
++ awk -F = -v r=mate-terminal-window-3861--1035669821-1553455189 '$0~r {
getline;
if(/Maximized/) getline;
if(/Fullscreen/) getline;
id=$2"]"
} $0~id {if(id) {getline; print $2; exit}}' /tmp/mateterm.cfg
+ profile=default
+ rm -f /tmp/mateterm.cfg
++ mate_get default use-system-font
++ gsettings get org.mate.terminal.profile:/org/mate/terminal/profiles/default/ use-system-font
+ [[ true == \t\r\u\e ]]
++ gsettings get org.mate.interface monospace-font-name
+ term_font=''\''Ubuntu Mono 13'\'''
++ trim_quotes ''\''Ubuntu Mono 13'\'''
++ trim_output='Ubuntu Mono 13'
++ trim_output='Ubuntu Mono 13'
++ printf %s 'Ubuntu Mono 13'
+ term_font='Ubuntu Mono 13'
+ [[ -n '' ]]
++ trim 'Ubuntu Mono 13'
++ set -f
++ set -- Ubuntu Mono 13
++ printf '%s\n' 'Ubuntu Mono 13'
++ set +f
+ output='Ubuntu Mono 13'
+ [[ -n term_font ]]
+ [[ -n UbuntuMono13 ]]
+ prin 'Terminal Font' 'Ubuntu Mono 13'
++ trim 'Terminal Font'
++ set -f
++ set -- Terminal Font
++ printf '%s\n' 'Terminal Font'
++ set +f
+ [[ -n Terminal Font ]]
+ [[ -n Ubuntu Mono 13 ]]
+ [[ -n '' ]]
+ string='Terminal Font: Ubuntu Mono 13'
++ trim 'Terminal Font: Ubuntu Mono 13'
++ set -f
++ set -- Terminal Font: Ubuntu Mono 13
++ printf '%s\n' 'Terminal Font: Ubuntu Mono 13'
++ set +f
+ string='Terminal Font: Ubuntu Mono 13'
+ [[ -z 23 ]]
+ string='Terminal Font\e[0m\e[0m:\e[0m Ubuntu Mono 13'
+ string='[0m[31m\e[1mTerminal Font\e[0m\e[0m:\e[0m Ubuntu Mono 13'
+ printf '%b\n' '\e[43C[0m[31m\e[1mTerminal Font\e[0m\e[0m:\e[0m Ubuntu Mono 13\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info CPU cpu
+ [[ -n cpu ]]
+ subtitle=CPU
+ unset -v prin
+ get_cpu
+ [[ Ubuntu 18.10 x86_64 == \N\e\t\B\S\D* ]]
+ case "$os" in
+ cpu_file=/proc/cpuinfo
+ case "$kernel_machine" in
++ awk -F ': | @' '/model name|Processor|^cpu model|chip type|^cpu type/ {
printf $2;
exit
}' /proc/cpuinfo
+ cpu='Intel(R) Core(TM) i7-7700HQ CPU'
+ [[ Intel(R) Core(TM) i7-7700HQ CPU == *\p\r\o\c\e\s\s\o\r\ \r\e\v* ]]
+ speed_dir=/sys/devices/system/cpu/cpu0/cpufreq
+ for temp_dir in /sys/class/hwmon/*
+ [[ acpitz =~ (coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ pch_skylake =~ (coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ coretemp =~ (coretemp|fam15h_power|k10temp) ]]
+ temp_dir=/sys/class/hwmon/hwmon2/temp1_input
+ break
+ [[ -d /sys/devices/system/cpu/cpu0/cpufreq ]]
/usr/bin/neofetch: line 1770: /sys/devices/system/cpu/cpu0/cpufreq/bios_limit: No such file or directory
+ speed=
/usr/bin/neofetch: line 1771: /sys/devices/system/cpu/cpu0/cpufreq/bios_limit: No such file or directory
+ speed=
+ speed=3800000
+ speed=3800
+ [[ -f /sys/class/hwmon/hwmon2/temp1_input ]]
+ deg=410
+ case "$cpu_cores" in
++ grep -c '^processor' /proc/cpuinfo
+ cores=8
+ cpu='Intel(R) Core i7-7700HQ CPU'
+ cpu='Intel(R) Core i7-7700HQ CPU'
+ cpu='Intel Core i7-7700HQ CPU'
+ cpu='Intel Core i7-7700HQ CPU'
+ cpu='Intel Core i7-7700HQ '
+ cpu='Intel Core i7-7700HQ '
+ cpu='Intel Core i7-7700HQ '
+ cpu='Intel Core i7-7700HQ '
+ cpu='Intel Core i7-7700HQ '
+ cpu='Intel Core i7-7700HQ '
+ cpu='Intel Core i7-7700HQ '
+ cpu='Intel i7-7700HQ '
+ cpu='Intel i7-7700HQ '
+ cpu='Intel i7-7700HQ '
+ cpu='Intel i7-7700HQ '
+ cpu='Intel i7-7700HQ '
+ cpu='Intel i7-7700HQ '
+ cpu='Intel i7-7700HQ '
+ cpu='Intel i7-7700HQ '
+ cores=8
+ speed=3800
+ [[ on == \o\f\f ]]
+ [[ logical != \o\f\f ]]
+ [[ -n 8 ]]
+ case "$os" in
+ cpu='Intel i7-7700HQ (8)'
+ [[ on != \o\f\f ]]
+ [[ -n 3800 ]]
+ (( speed < 1000 ))
+ [[ off == \o\n ]]
+ speed=3.800
+ cpu='Intel i7-7700HQ (8) @ 3.800GHz'
+ [[ off != \o\f\f ]]
+ [[ -n '' ]]
++ trim 'Intel i7-7700HQ (8) @ 3.800GHz'
++ set -f
++ set -- Intel i7-7700HQ '(8)' @ 3.800GHz
++ printf '%s\n' 'Intel i7-7700HQ (8) @ 3.800GHz'
++ set +f
+ output='Intel i7-7700HQ (8) @ 3.800GHz'
+ [[ -n cpu ]]
+ [[ -n Inteli7-7700HQ(8)@3.800GHz ]]
+ prin CPU 'Intel i7-7700HQ (8) @ 3.800GHz'
++ trim CPU
++ set -f
++ set -- CPU
++ printf '%s\n' CPU
++ set +f
+ [[ -n CPU ]]
+ [[ -n Intel i7-7700HQ (8) @ 3.800GHz ]]
+ [[ -n '' ]]
+ string='CPU: Intel i7-7700HQ (8) @ 3.800GHz'
++ trim 'CPU: Intel i7-7700HQ (8) @ 3.800GHz'
++ set -f
++ set -- CPU: Intel i7-7700HQ '(8)' @ 3.800GHz
++ printf '%s\n' 'CPU: Intel i7-7700HQ (8) @ 3.800GHz'
++ set +f
+ string='CPU: Intel i7-7700HQ (8) @ 3.800GHz'
+ [[ -z 23 ]]
+ string='CPU\e[0m\e[0m:\e[0m Intel i7-7700HQ (8) @ 3.800GHz'
+ string='[0m[31m\e[1mCPU\e[0m\e[0m:\e[0m Intel i7-7700HQ (8) @ 3.800GHz'
+ printf '%b\n' '\e[43C[0m[31m\e[1mCPU\e[0m\e[0m:\e[0m Intel i7-7700HQ (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] = $3 " " $4} END {for(i in a)
{if(!seen[a[i]]++) print a[i]}}'
+ gpu_cmd='NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile]
Intel Corporation Device 591b'
+ IFS='
'
+ read -d '' -ra gpus
+ [[ NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] == *Intel* ]]
+ for gpu in "${gpus[@]}"
+ [[ all == \d\e\d\i\c\a\t\e\d ]]
+ [[ all == \i\n\t\e\g\r\a\t\e\d ]]
+ case "$gpu" in
+ gpu='GeForce GTX 1050 Mobile]'
+ gpu='GeForce GTX 1050 Mobile'
+ gpu='NVIDIA GeForce GTX 1050 Mobile'
+ [[ on == \o\f\f ]]
+ prin GPU 'NVIDIA GeForce GTX 1050 Mobile'
++ trim GPU
++ set -f
++ set -- GPU
++ printf '%s\n' GPU
++ set +f
+ [[ -n GPU ]]
+ [[ -n NVIDIA GeForce GTX 1050 Mobile ]]
+ [[ -n '' ]]
+ string='GPU: NVIDIA GeForce GTX 1050 Mobile'
++ trim 'GPU: NVIDIA GeForce GTX 1050 Mobile'
++ set -f
++ set -- GPU: NVIDIA GeForce GTX 1050 Mobile
++ printf '%s\n' 'GPU: NVIDIA GeForce GTX 1050 Mobile'
++ set +f
+ string='GPU: NVIDIA GeForce GTX 1050 Mobile'
+ [[ -z 23 ]]
+ string='GPU\e[0m\e[0m:\e[0m NVIDIA GeForce GTX 1050 Mobile'
+ string='[0m[31m\e[1mGPU\e[0m\e[0m:\e[0m NVIDIA GeForce GTX 1050 Mobile'
+ printf '%b\n' '\e[43C[0m[31m\e[1mGPU\e[0m\e[0m:\e[0m NVIDIA GeForce GTX 1050 Mobile\e[0m '
+ (( ++info_height ))
+ prin=1
+ 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 Device 591b'
+ gpu='Intel Corporation Device 591b'
+ gpu='Intel Device 591b'
+ gpu='Intel Device 591b'
+ gpu='Intel Device 591b'
++ trim 'Intel Device 591b'
++ set -f
++ set -- Intel Device 591b
++ printf '%s\n' 'Intel Device 591b'
++ set +f
+ [[ -z Intel Device 591b ]]
+ [[ on == \o\f\f ]]
+ prin GPU 'Intel Device 591b'
++ trim GPU
++ set -f
++ set -- GPU
++ printf '%s\n' GPU
++ set +f
+ [[ -n GPU ]]
+ [[ -n Intel Device 591b ]]
+ [[ -n '' ]]
+ string='GPU: Intel Device 591b'
++ trim 'GPU: Intel Device 591b'
++ set -f
++ set -- GPU: Intel Device 591b
++ printf '%s\n' 'GPU: Intel Device 591b'
++ set +f
+ string='GPU: Intel Device 591b'
+ [[ -z 23 ]]
+ string='GPU\e[0m\e[0m:\e[0m Intel Device 591b'
+ string='[0m[31m\e[1mGPU\e[0m\e[0m:\e[0m Intel Device 591b'
+ printf '%b\n' '\e[43C[0m[31m\e[1mGPU\e[0m\e[0m:\e[0m Intel Device 591b\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+= 16264608 ))
+ mem_total=' 16264608 '
+ IFS=:
+ read -r a b
+ case "$a" in
+ mem_used=4028192
+ IFS=:
+ read -r a b
+ case "$a" in
+ IFS=:
+ read -r a b
+ case "$a" in
+ mem_used=3944308
+ IFS=:
+ read -r a b
+ case "$a" in
+ mem_used=2077584
+ 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+= 962868 ))
+ IFS=:
+ read -r a b
+ case "$a" in
+ IFS=:
+ read -r a b
+ case "$a" in
+ mem_used=2949132
+ 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=2880
+ mem_total=15883
+ memory='2880MiB / 15883MiB'
+ case "$memory_display" in
+ [[ -n '' ]]
++ trim '2880MiB / 15883MiB'
++ set -f
++ set -- 2880MiB / 15883MiB
++ printf '%s\n' '2880MiB / 15883MiB'
++ set +f
+ output='2880MiB / 15883MiB'
+ [[ -n memory ]]
+ [[ -n 2880MiB/15883MiB ]]
+ prin Memory '2880MiB / 15883MiB'
++ trim Memory
++ set -f
++ set -- Memory
++ printf '%s\n' Memory
++ set +f
+ [[ -n Memory ]]
+ [[ -n 2880MiB / 15883MiB ]]
+ [[ -n '' ]]
+ string='Memory: 2880MiB / 15883MiB'
++ trim 'Memory: 2880MiB / 15883MiB'
++ set -f
++ set -- Memory: 2880MiB / 15883MiB
++ printf '%s\n' 'Memory: 2880MiB / 15883MiB'
++ set +f
+ string='Memory: 2880MiB / 15883MiB'
+ [[ -z 23 ]]
+ string='Memory\e[0m\e[0m:\e[0m 2880MiB / 15883MiB'
+ string='[0m[31m\e[1mMemory\e[0m\e[0m:\e[0m 2880MiB / 15883MiB'
+ printf '%b\n' '\e[43C[0m[31m\e[1mMemory\e[0m\e[0m:\e[0m 2880MiB / 15883MiB\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info line_break
+ [[ -n '' ]]
+ unset -v prin
+ get_line_break
+ printf '%b\n' ''
+ (( ++info_height ))
+ prin=1
+ [[ -n 1 ]]
+ return
+ info cols
+ [[ -n '' ]]
+ unset -v prin
+ get_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] ))
+ 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 \e[0mnl'
+ [[ -n '' ]]
+ cols='[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m \e[0m'
+ cols='[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m \e[0m'
+ (( info_height+=block_height-1 ))
+ printf '\e[%bC%b' 43 '[30m[40m [31m[41m [32m[42m [33m[43m [34m[44m [35m[45m [36m[46m [37m[47m \e[0m'
+ unset -v blocks blocks2 cols
+ [[ mate-terminal == \T\o\s\W\i\n\2 ]]
+ prin=1
+ [[ -n 1 ]]
+ return
+ info line_break
+ [[ -n '' ]]
+ unset -v prin
+ get_line_break
+ printf '%b\n' ''
+ (( ++info_height ))
+ prin=1
+ [[ -n 1 ]]
+ return
+ dynamic_prompt
+ [[ ascii == \o\f\f ]]
+ [[ ascii != \a\s\c\i\i ]]
+ (( lines=lines>info_height?lines-info_height+1:1 ))
+ printf -v nlines %1s
+ printf %b '\n'
+ [[ ascii == *w3m* ]]
+ err 'Neofetch command: /usr/bin/neofetch -vv'
++ color 1
++ case "$1" in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[0m[31m[!]\e[0m Neofetch command: /usr/bin/neofetch -vv
'
+ err 'Neofetch version: 5.0.0'
++ color 1
++ case "$1" in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[0m[31m[!]\e[0m Neofetch version: 5.0.0
'
+ [[ on == \o\n ]]
+ printf %b '[0m[31m[!]\e[0m Config: Sourced user config. (/home/jeff/.config/neofetch/config.conf)
[0m[31m[!]\e[0m Ascii: Ascii file not found, using distro ascii.
[0m[31m[!]\e[0m Neofetch command: /usr/bin/neofetch -vv
[0m[31m[!]\e[0m Neofetch version: 5.0.0
'
[0m[31m[!][0m Config: Sourced user config. (/home/jeff/.config/neofetch/config.conf)
[0m[31m[!][0m Ascii: Ascii file not found, using distro ascii.
[0m[31m[!][0m Neofetch command: /usr/bin/neofetch -vv
[0m[31m[!][0m Neofetch version: 5.0.0
+ [[ off == \o\n ]]
+ return 0
+ printf '\e[?25h\e[?7h'
以上是关于text Neofetch调试信息的主要内容,如果未能解决你的问题,请参考以下文章