Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@RichardBronosky
Last active June 13, 2022 04:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RichardBronosky/a5207af7702fb6b0c92b0a12c2bcb98e to your computer and use it in GitHub Desktop.
Save RichardBronosky/a5207af7702fb6b0c92b0a12c2bcb98e to your computer and use it in GitHub Desktop.
# 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 "Disk" disk
info "Battery" battery
# info "Font" font
# info "Song" song
# [[ "$player" ]] && prin "Music Player" "$player"
# info "Local IP" local_ip
# info "Public IP" public_ip
# info "Users" users
# info "Locale" locale # This only works on glibc systems.
info cols
}
# Title
# Hide/Show Fully qualified domain name.
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --title_fqdn
title_fqdn="off"
# 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', 'tiny', 'off'
# 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', 'tiny', 'off'
# Flag: --uptime_shorthand
#
# Example:
# on: '2 days, 10 hours, 3 mins'
# tiny: '2d 10h 3m'
# off: '2 days, 10 hours, 3 minutes'
uptime_shorthand="on"
# Memory
# Show memory percentage in output.
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --memory_percent
#
# Example:
# on: '1801MiB / 7881MiB (22%)'
# off: '1801MiB / 7881MiB'
memory_percent="off"
# Change memory output unit.
#
# Default: 'mib'
# Values: 'kib', 'mib', 'gib'
# Flag: --memory_unit
#
# Example:
# kib '1020928KiB / 7117824KiB'
# mib '1042MiB / 6951MiB'
# gib: ' 0.98GiB / 6.79GiB'
memory_unit="mib"
# Packages
# Show/Hide Package Manager names.
#
# Default: 'tiny'
# Values: 'on', 'tiny' 'off'
# Flag: --package_managers
#
# Example:
# on: '998 (pacman), 8 (flatpak), 4 (snap)'
# tiny: '908 (pacman, flatpak, snap)'
# off: '908'
package_managers="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"
# Public IP timeout.
#
# Default: '2'
# Values: 'int'
# Flag: --ip_timeout
public_ip_timeout=2
# Local IP interface
#
# Default: 'auto' (interface of default route)
# Values: 'auto', 'en0', 'en1'
# Flag: --ip_interface
local_ip_interface=('auto')
# Desktop Environment
# Show Desktop Environment version
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --de_version
de_version="on"
# 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', 'none'
# 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%)'
#
# none: 'Disk: 74G / 118G (66%)'
# 'Disk: 74G / 118G (66%)'
# 'Disk: 74G / 118G (66%)'
disk_subtitle="mount"
# Disk percent.
# Show/Hide disk percent.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --disk_percent
#
# Example:
# on: 'Disk (/): 74G / 118G (66%)'
# off: 'Disk (/): 74G / 118G'
disk_percent="on"
# Song
# Manually specify a music player.
#
# Default: 'auto'
# Values: 'auto', 'player-name'
# Flag: --music_player
#
# Available values for 'player-name':
#
# amarok
# audacious
# banshee
# bluemindo
# clementine
# cmus
# deadbeef
# deepin-music
# dragon
# elisa
# exaile
# gnome-music
# gmusicbrowser
# gogglesmm
# guayadeque
# io.elementary.music
# iTunes
# Music
# juk
# lollypop
# MellowPlayer
# mocp
# mopidy
# mpd
# muine
# netease-cloud-music
# olivia
# playerctl
# pogo
# pragha
# qmmp
# quodlibet
# rhythmbox
# sayonara
# smplayer
# spotify
# strawberry
# tauonmb
# tomahawk
# vlc
# xmms2d
# xnoise
# yarock
music_player="auto"
# Format to display song information.
#
# Default: '%artist% - %album% - %title%'
# Values: '%artist%', '%album%', '%title%'
# Flag: --song_format
#
# Example:
# default: 'Song: Jet - Get Born - Sgt Major'
song_format="%artist% - %album% - %title%"
# Print the Artist, Album and Title on separate lines
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --song_shorthand
#
# Example:
# on: 'Artist: The Fratellis'
# 'Album: Costello Music'
# 'Song: Chelsea Dagger'
#
# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger'
song_shorthand="off"
# 'mpc' arguments (specify a host, password etc).
#
# Default: ''
# Example: mpc_args=(-h HOST -P PASSWORD)
mpc_args=()
# 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="-"
# Info Separator
# Replace the default separator with the specified string.
#
# Default: ':'
# Flag: --separator
#
# Example:
# separator="->": 'Shell-> bash'
# separator=" =": 'WM = dwm'
separator=":"
# Color Blocks
# Color block range
# The range of colors to print.
#
# Default: '0', '15'
# 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 15)
# 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
# Color Alignment
#
# Default: 'auto'
# Values: 'auto', 'num'
# Flag: --col_offset
#
# Number specifies how far from the left side of the terminal (in spaces) to
# begin printing the columns, in case you want to e.g. center them under your
# text.
# Example:
# col_offset="auto" - Default behavior of neofetch
# col_offset=7 - Leave 7 spaces then print the colors
col_offset="auto"
# 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: --memory_display
# --battery_display
# --disk_display
#
# Example:
# bar: '[---=======]'
# infobar: 'info [---=======]'
# barinfo: '[---=======] info'
# off: 'info'
memory_display="off"
battery_display="off"
disk_display="off"
# Backend Settings
# Image backend.
#
# Default: 'ascii'
# Values: 'ascii', 'caca', 'catimg', 'chafa', 'jp2a', 'iterm2', 'off',
# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty', 'ueberzug',
# 'viu'
# 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/'
# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")'
# 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: AIX, Hash, Alpine, AlterLinux, Amazon, Anarchy, Android, instantOS,
# Antergos, antiX, "AOSC OS", "AOSC OS/Retro", Apricity, ArchCraft,
# ArcoLinux, ArchBox, ARCHlabs, ArchStrike, XFerience, ArchMerge, Arch,
# Artix, Arya, Bedrock, Bitrig, BlackArch, BLAG, BlankOn, BlueLight,
# Bodhi, bonsai, BSD, BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS,
# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, Condres,
# Container_Linux, Crystal Linux, CRUX, Cucumber, dahlia, Debian, Deepin,
# DesaOS, Devuan, DracOS, DarkOs, Itc, DragonFly, Drauger, Elementary,
# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo,
# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, HydroOS
# Hyperbola, iglunix, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, Korora,
# KSLinux, Kubuntu, LEDE, LaxerOS, LibreELEC, LFS, Linux_Lite, LMDE,
# Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, Manjaro, TeArch, Maui,
# Mer, Minix, LinuxMint, Live_Raizo, MX_Linux, Namib, Neptune, NetBSD,
# Netrunner, Nitrux, NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD,
# openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt,
# osmc, Oracle, OS Elbrus, PacBSD, Parabola, Pardus, Parrot, Parsix,
# TrueOS, PCLinuxOS, Pengwin, Peppermint, Pisi, popos, Porteus, PostMarketOS,
# Proxmox, PuffOS, Puppy, PureOS, Qubes, Qubyt, Quibian, Radix, Raspbian,
# Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith,
# Rocky, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
# SereneLinux, SharkLinux, Siduction, SkiffOS, Slackware, SliTaz, SmartOS,
# Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap, t2,
# openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
# Ubuntu-Cinnamon, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE,
# Ubuntu-Studio, Ubuntu, Univention, Venom, Void, VNux, LangitKetujuh, semc,
# Obarun, windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos.
# NOTE: Arch, Ubuntu, Redhat, Fedora and Dragonfly have 'old' logo variants.
# Use '{distro name}_old' to use the old logos.
# NOTE: Ubuntu has flavor variants.
# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android,
# Artix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola,
# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS,
# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
# postmarketOS, and Void have a smaller logo variant.
# Use '{distro name}_small' to use the small variants.
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"
# Catimg block size.
# Control the resolution of catimg.
#
# Default: '2'
# Values: '1', '2'
# Flags: --catimg_size
catimg_size="2"
# 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=
# 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"
+ verbose=on
+ shift
+ [[ -n '' ]]
+ [[ on != on ]]
+ get_simple --config /tmp/bug -vv
+ [[ -n --config ]]
++ type -t get_--config
+ [[ '' == \f\u\n\c\t\i\o\n ]]
+ shift
+ [[ -n /tmp/bug ]]
++ type -t get_/tmp/bug
+ [[ '' == \f\u\n\c\t\i\o\n ]]
+ shift
+ [[ -n -vv ]]
++ type -t get_-vv
+ [[ '' == \f\u\n\c\t\i\o\n ]]
+ shift
+ [[ -n '' ]]
+ (( simple ))
+ get_distro
+ [[ -n '' ]]
+ case $os in
+ [[ -f /bedrock/etc/bedrock-release ]]
+ [[ -f /etc/redstar-release ]]
+ [[ -f /etc/armbian-release ]]
+ [[ -f /etc/siduction-version ]]
+ [[ -f /etc/mcst_version ]]
+ type -p pveversion
+ type -p lsb_release
+ [[ -f /etc/os-release ]]
+ for file in /etc/lsb-release /usr/lib/os-release /etc/os-release /etc/openwrt_release
+ source /etc/lsb-release
/usr/bin/neofetch: line 1027: /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/
++ LOGO=archlinux-logo
+ break
+ case $distro_shorthand in
+ distro='Arch Linux '
+ [[ Linux version 5.18.2-arch1-1 (linux@archlinux) (gcc (GCC) 12.1.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT_DYNAMIC Mon, 06 Jun 2022 19:58:58 +0000 == *Microsoft* ]]
+ [[ 5.18.2-arch1-1 == *Microsoft* ]]
+ [[ Linux version 5.18.2-arch1-1 (linux@archlinux) (gcc (GCC) 12.1.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT_DYNAMIC Mon, 06 Jun 2022 19:58:58 +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='\e[1m'
++ color 6
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 6
+ c2='\e[1m'
++ color 7
++ case $1 in
++ printf '\e[37m%b' '\e[0m'
+ c3='\e[1m'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ c4='\e[1m'
++ color ''
++ case $1 in
++ printf '\e[38;5;%bm' ''
+ c5='\e[1m'
++ color ''
++ case $1 in
++ printf '\e[38;5;%bm' ''
+ c6='\e[1m'
+ [[ '' != \o\f\f ]]
+ set_text_colors 6 6 7 1
+ [[ distro == \d\i\s\t\r\o ]]
++ color 6
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 6
+ title_color=''
+ at_color='\e[0m'
+ underline_color='\e[0m'
++ color 6
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 6
+ subtitle_color=''
+ colon_color='\e[0m'
+ info_color='\e[0m'
+ (( 6 == 8 ))
+ (( 6 == 8 ))
+ (( 6 == 7 ))
+ (( 6 == 7 ))
+ [[ distro == \d\i\s\t\r\o ]]
++ color fg
++ case $1 in
++ printf '\e[37m%b' '\e[0m'
+ bar_color_elapsed=''
+ case ${bar_color_total}${1} in
++ color 6
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 6
+ bar_color_total=''
+ read -rd '' ascii_data
+ [[ distro != distro ]]
+ [[ off == on ]]
+ [[ tmux-256color != minix ]]
+ [[ off != on ]]
+ trap 'printf "\e[?25h\e[?7h"' EXIT
+ printf '\e[?25l\e[?7l'
+ image_backend
+ [[ ascii != \o\f\f ]]
+ type -p convert
+ case ${image_backend:-off} in
+ print_ascii
+ [[ -f auto ]]
+ [[ auto == \a\s\c\i\i ]]
+ [[ auto == auto ]]
+ :
+ LC_ALL=en_US.utf8
+ IFS='
'
+ read -r line
+ line=' -`'
+ line=' -`'
+ (( ++lines,21>ascii_len ))
+ ascii_len=21
+ IFS='
'
+ read -r line
+ line=' .o+`'
+ line=' .o+`'
+ (( ++lines,22>ascii_len ))
+ ascii_len=22
+ IFS='
'
+ read -r line
+ line=' `ooo/'
+ line=' `ooo/'
+ (( ++lines,22>ascii_len ))
+ IFS='
'
+ read -r line
+ line=' `+oooo:'
+ line=' `+oooo:'
+ (( ++lines,23>ascii_len ))
+ ascii_len=23
+ IFS='
'
+ read -r line
+ line=' `+oooooo:'
+ line=' `+oooooo:'
+ (( ++lines,24>ascii_len ))
+ ascii_len=24
+ IFS='
'
+ read -r line
+ line=' -+oooooo+:'
+ line=' -+oooooo+:'
+ (( ++lines,25>ascii_len ))
+ ascii_len=25
+ IFS='
'
+ read -r line
+ line=' `/:-:++oooo+:'
+ line=' `/:-:++oooo+:'
+ (( ++lines,26>ascii_len ))
+ ascii_len=26
+ IFS='
'
+ read -r line
+ line=' `/++++/+++++++:'
+ line=' `/++++/+++++++:'
+ (( ++lines,27>ascii_len ))
+ ascii_len=27
+ IFS='
'
+ read -r line
+ line=' `/++++++++++++++:'
+ line=' `/++++++++++++++:'
+ (( ++lines,28>ascii_len ))
+ ascii_len=28
+ IFS='
'
+ read -r line
+ line=' `/+++ooooooooooooo/`'
+ line=' `/+++ooooooooooooo/`'
+ (( ++lines,30>ascii_len ))
+ ascii_len=30
+ IFS='
'
+ read -r line
+ line=' ./ooosssso++osssssso+`'
+ line=' ./ooosssso++osssssso+`'
+ (( ++lines,31>ascii_len ))
+ ascii_len=31
+ IFS='
'
+ read -r line
+ line=' .oossssso-````/ossssss+`'
+ line=' .oossssso-````/ossssss+`'
+ (( ++lines,32>ascii_len ))
+ ascii_len=32
+ IFS='
'
+ read -r line
+ line=' -osssssso. :ssssssso.'
+ line=' -osssssso. :ssssssso.'
+ (( ++lines,33>ascii_len ))
+ ascii_len=33
+ IFS='
'
+ read -r line
+ line=' :osssssss/ osssso+++.'
+ line=' :osssssss/ osssso+++.'
+ (( ++lines,34>ascii_len ))
+ ascii_len=34
+ IFS='
'
+ read -r line
+ line=' /ossssssss/ +ssssooo/-'
+ line=' /ossssssss/ +ssssooo/-'
+ (( ++lines,34>ascii_len ))
+ IFS='
'
+ read -r line
+ line=' `/ossssso+/:- -:/+osssso+-'
+ line=' `/ossssso+/:- -:/+osssso+-'
+ (( ++lines,36>ascii_len ))
+ ascii_len=36
+ IFS='
'
+ read -r line
+ line=' `+sso+:-` `.-/+oso:'
+ line=' `+sso+:-` `.-/+oso:'
+ (( ++lines,37>ascii_len ))
+ ascii_len=37
+ IFS='
'
+ read -r line
+ line=' `++:. `-/+/'
+ line=' `++:. `-/+/'
+ (( ++lines,38>ascii_len ))
+ ascii_len=38
+ IFS='
'
+ read -r line
+ line=' .` `/'
+ line=' .` `/'
+ (( ++lines,38>ascii_len ))
+ IFS='
'
+ read -r line
+ (( lines==1 ))
+ ascii_data='\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o${c2}oooooooo\e[1moooo/`
${c2} \e[1m./${c2}ooosssso++osssssso\e[1m+`
${c2} .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/'
+ ascii_data='\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o\e[1moooooooo\e[1moooo/`
\e[1m \e[1m./\e[1mooosssso++osssssso\e[1m+`
\e[1m .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/'
+ ascii_data='\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o\e[1moooooooo\e[1moooo/`
\e[1m \e[1m./\e[1mooosssso++osssssso\e[1m+`
\e[1m .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/'
+ ascii_data='\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o\e[1moooooooo\e[1moooo/`
\e[1m \e[1m./\e[1mooosssso++osssssso\e[1m+`
\e[1m .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/'
+ ascii_data='\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o\e[1moooooooo\e[1moooo/`
\e[1m \e[1m./\e[1mooosssso++osssssso\e[1m+`
\e[1m .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/'
+ ascii_data='\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o\e[1moooooooo\e[1moooo/`
\e[1m \e[1m./\e[1mooosssso++osssssso\e[1m+`
\e[1m .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/'
+ (( text_padding=ascii_len+gap ))
+ printf '%b\n' '\e[1m -`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++o\e[1moooooooo\e[1moooo/`
\e[1m \e[1m./\e[1mooosssso++osssssso\e[1m+`
\e[1m .oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/\e[0m'
+ LC_ALL=C
+ [[ ascii != \o\f\f ]]
+ printf '\e[%sA\e[9999999D' 19
+ get_cache_dir
+ case $os in
+ cache_dir=/tmp
+ old_functions
+ print_info
+ info title
+ [[ -n '' ]]
+ unset -v prin
+ get_title
+ user=bruno
+ case $title_fqdn in
+ hostname=brunoarch
+ title='\e[1mbruno\e[0m@\e[1mbrunoarch'
+ length=15
+ [[ -n '' ]]
+ [[ -n '' ]]
++ trim '\e[1mbruno\e[0m@\e[1mbrunoarch'
++ set -f
++ set -- '\e[1mbruno\e[0m@\e[1mbrunoarch'
++ printf '%s\n' '\e[1mbruno\e[0m@\e[1mbrunoarch'
++ set +f
+ output='\e[1mbruno\e[0m@\e[1mbrunoarch'
+ [[ -n '' ]]
+ [[ -n \e[1mbruno\e[0m@\e[1mbrunoarch ]]
+ prin '\e[1mbruno\e[0m@\e[1mbrunoarch'
++ trim '\e[1mbruno\e[0m@\e[1mbrunoarch'
++ set -f
++ set -- '\e[1mbruno\e[0m@\e[1mbrunoarch'
++ printf '%s\n' '\e[1mbruno\e[0m@\e[1mbrunoarch'
++ set +f
+ [[ -n \e[1mbruno\e[0m@\e[1mbrunoarch ]]
+ [[ -n '' ]]
+ string='\e[1mbruno\e[0m@\e[1mbrunoarch'
+ local 'subtitle_color=\e[0m'
++ trim '\e[1mbruno\e[0m@\e[1mbrunoarch'
++ set -f
++ set -- '\e[1mbruno\e[0m@\e[1mbrunoarch'
++ printf '%s\n' '\e[1mbruno\e[0m@\e[1mbrunoarch'
++ set +f
+ string='\e[1mbruno\e[0m@\e[1mbrunoarch'
++ strip_sequences '\e[1mbruno\e[0m@\e[1mbrunoarch'
++ strip='\e[1mbruno\e[0m@\e[1mbrunoarch'
++ strip='\e[1mbruno\e[0m@\e[1mbrunoarch'
++ strip=bruno@brunoarch
++ strip=bruno@brunoarch
++ strip=bruno@brunoarch
++ strip=bruno@brunoarch
++ printf '%s\n' bruno@brunoarch
+ length=bruno@brunoarch
+ length=15
+ string='\e[1mbruno\e[0m@\e[1mbrunoarch'
+ string='\e[0m\e[1m\e[1mbruno\e[0m@\e[1mbrunoarch'
+ printf '%b\n' '\e[41C\e[0m\e[1m\e[1mbruno\e[0m@\e[1mbrunoarch\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info underline
+ [[ -n '' ]]
+ unset -v prin
+ get_underline
+ [[ on == \o\n ]]
+ printf -v underline %15s
+ 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='\e[1mOS\e[0m\e[0m:\e[0m Arch Linux x86_64'
+ printf '%b\n' '\e[41C\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/board_vendor ]]
+ model=LENOVO
+ model+=' 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ model='LENOVO 20L6S7SF04'
+ case $model in
+ [[ -n '' ]]
+ [[ -n model ]]
++ trim 'LENOVO 20L6S7SF04'
++ set -f
++ set -- LENOVO 20L6S7SF04
++ printf '%s\n' 'LENOVO 20L6S7SF04'
++ set +f
+ output='LENOVO 20L6S7SF04'
+ [[ -n model ]]
+ [[ -n LENOVO20L6S7SF04 ]]
+ prin Host 'LENOVO 20L6S7SF04'
++ trim Host
++ set -f
++ set -- Host
++ printf '%s\n' Host
++ set +f
+ [[ -n Host ]]
+ [[ -n LENOVO 20L6S7SF04 ]]
+ [[ -n '' ]]
+ string='Host: LENOVO 20L6S7SF04'
++ trim 'Host: LENOVO 20L6S7SF04'
++ set -f
++ set -- Host: LENOVO 20L6S7SF04
++ printf '%s\n' 'Host: LENOVO 20L6S7SF04'
++ set +f
+ string='Host: LENOVO 20L6S7SF04'
++ strip_sequences 'Host: LENOVO 20L6S7SF04'
++ strip='Host: LENOVO 20L6S7SF04'
++ strip='Host: LENOVO 20L6S7SF04'
++ strip='Host: LENOVO 20L6S7SF04'
++ strip='Host: LENOVO 20L6S7SF04'
++ strip='Host: LENOVO 20L6S7SF04'
++ strip='Host: LENOVO 20L6S7SF04'
++ printf '%s\n' 'Host: LENOVO 20L6S7SF04'
+ length='Host: LENOVO 20L6S7SF04'
+ length=23
+ string='Host\e[0m\e[0m:\e[0m LENOVO 20L6S7SF04'
+ string='\e[1mHost\e[0m\e[0m:\e[0m LENOVO 20L6S7SF04'
+ printf '%b\n' '\e[41C\e[1mHost\e[0m\e[0m:\e[0m LENOVO 20L6S7SF04\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info Kernel kernel
+ [[ -n kernel ]]
+ subtitle=Kernel
+ unset -v prin
+ get_kernel
+ [[ Linux =~ (AIX|IRIX) ]]
+ [[ Linux == Haiku ]]
+ [[ Linux == Windows ]]
+ case $kernel_shorthand in
+ kernel=5.18.2-arch1-1
+ [[ Linux =~ (BSD|MINIX) ]]
+ [[ -n '' ]]
+ [[ -n kernel ]]
++ trim 5.18.2-arch1-1
++ set -f
++ set -- 5.18.2-arch1-1
++ printf '%s\n' 5.18.2-arch1-1
++ set +f
+ output=5.18.2-arch1-1
+ [[ -n kernel ]]
+ [[ -n 5.18.2-arch1-1 ]]
+ prin Kernel 5.18.2-arch1-1
++ trim Kernel
++ set -f
++ set -- Kernel
++ printf '%s\n' Kernel
++ set +f
+ [[ -n Kernel ]]
+ [[ -n 5.18.2-arch1-1 ]]
+ [[ -n '' ]]
+ string='Kernel: 5.18.2-arch1-1'
++ trim 'Kernel: 5.18.2-arch1-1'
++ set -f
++ set -- Kernel: 5.18.2-arch1-1
++ printf '%s\n' 'Kernel: 5.18.2-arch1-1'
++ set +f
+ string='Kernel: 5.18.2-arch1-1'
++ strip_sequences 'Kernel: 5.18.2-arch1-1'
++ strip='Kernel: 5.18.2-arch1-1'
++ strip='Kernel: 5.18.2-arch1-1'
++ strip='Kernel: 5.18.2-arch1-1'
++ strip='Kernel: 5.18.2-arch1-1'
++ strip='Kernel: 5.18.2-arch1-1'
++ strip='Kernel: 5.18.2-arch1-1'
++ printf '%s\n' 'Kernel: 5.18.2-arch1-1'
+ length='Kernel: 5.18.2-arch1-1'
+ length=22
+ string='Kernel\e[0m\e[0m:\e[0m 5.18.2-arch1-1'
+ string='\e[1mKernel\e[0m\e[0m:\e[0m 5.18.2-arch1-1'
+ printf '%b\n' '\e[41C\e[1mKernel\e[0m\e[0m:\e[0m 5.18.2-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='79643.58 129596.10'
+ s=79643
+ d='0 days'
+ h='22 hours'
+ m='7 minutes'
+ (( 0 == 1 ))
+ (( 22 == 1 ))
+ (( 7 == 1 ))
+ (( 0 == 0 ))
+ unset d
+ (( 22 == 0 ))
+ (( 7 == 0 ))
+ uptime='22 hours, 7 minutes'
+ uptime='22 hours, 7 minutes'
+ uptime='22 hours, 7 minutes'
+ case $uptime_shorthand in
+ uptime='22 hours, 7 mins'
+ uptime='22 hours, 7 mins'
+ uptime='22 hours, 7 mins'
+ [[ -n '' ]]
+ [[ -n uptime ]]
++ trim '22 hours, 7 mins'
++ set -f
++ set -- 22 hours, 7 mins
++ printf '%s\n' '22 hours, 7 mins'
++ set +f
+ output='22 hours, 7 mins'
+ [[ -n uptime ]]
+ [[ -n 22hours,7mins ]]
+ prin Uptime '22 hours, 7 mins'
++ trim Uptime
++ set -f
++ set -- Uptime
++ printf '%s\n' Uptime
++ set +f
+ [[ -n Uptime ]]
+ [[ -n 22 hours, 7 mins ]]
+ [[ -n '' ]]
+ string='Uptime: 22 hours, 7 mins'
++ trim 'Uptime: 22 hours, 7 mins'
++ set -f
++ set -- Uptime: 22 hours, 7 mins
++ printf '%s\n' 'Uptime: 22 hours, 7 mins'
++ set +f
+ string='Uptime: 22 hours, 7 mins'
++ strip_sequences 'Uptime: 22 hours, 7 mins'
++ strip='Uptime: 22 hours, 7 mins'
++ strip='Uptime: 22 hours, 7 mins'
++ strip='Uptime: 22 hours, 7 mins'
++ strip='Uptime: 22 hours, 7 mins'
++ strip='Uptime: 22 hours, 7 mins'
++ strip='Uptime: 22 hours, 7 mins'
++ printf '%s\n' 'Uptime: 22 hours, 7 mins'
+ length='Uptime: 22 hours, 7 mins'
+ length=24
+ string='Uptime\e[0m\e[0m:\e[0m 22 hours, 7 mins'
+ string='\e[1mUptime\e[0m\e[0m:\e[0m 22 hours, 7 mins'
+ printf '%b\n' '\e[41C\e[1mUptime\e[0m\e[0m:\e[0m 22 hours, 7 mins\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info Packages packages
+ [[ -n packages ]]
+ subtitle=Packages
+ unset -v prin
+ get_packages
+ pkgs_h=0
+ [[ -f /bedrock/etc/bedrock-release ]]
+ case $os in
+ has kiss
+ type -p kiss
+ has cpt-list
+ type -p cpt-list
+ 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+=927 ))
+ pac 927
+ (( 927 > 0 ))
+ managers+=("$1 (${manager})")
+ manager_string+='pacman-key, '
+ has dpkg
+ type -p dpkg
+ 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 pkgin
+ type -p pkgin
+ has tazpkg
+ type -p tazpkg
+ has sorcery
+ type -p sorcery
+ has alps
+ type -p alps
+ has butch
+ type -p butch
+ has swupd
+ type -p swupd
+ has pisi
+ type -p pisi
+ has pacstall
+ type -p pacstall
+ has dnf
+ type -p dnf
+ has rpm
+ type -p rpm
+ [[ -f /etc/SDE-VERSION ]]
+ 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 $os-$kernel_name in
+ 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, ' '927 (pacman-key)'
+ packages='927 (pacman-key)'
+ packages='927 (pacman)'
+ [[ -n '' ]]
+ [[ -n packages ]]
++ trim '927 (pacman)'
++ set -f
++ set -- 927 '(pacman)'
++ printf '%s\n' '927 (pacman)'
++ set +f
+ output='927 (pacman)'
+ [[ -n packages ]]
+ [[ -n 927(pacman) ]]
+ prin Packages '927 (pacman)'
++ trim Packages
++ set -f
++ set -- Packages
++ printf '%s\n' Packages
++ set +f
+ [[ -n Packages ]]
+ [[ -n 927 (pacman) ]]
+ [[ -n '' ]]
+ string='Packages: 927 (pacman)'
++ trim 'Packages: 927 (pacman)'
++ set -f
++ set -- Packages: 927 '(pacman)'
++ printf '%s\n' 'Packages: 927 (pacman)'
++ set +f
+ string='Packages: 927 (pacman)'
++ strip_sequences 'Packages: 927 (pacman)'
++ strip='Packages: 927 (pacman)'
++ strip='Packages: 927 (pacman)'
++ strip='Packages: 927 (pacman)'
++ strip='Packages: 927 (pacman)'
++ strip='Packages: 927 (pacman)'
++ strip='Packages: 927 (pacman)'
++ printf '%s\n' 'Packages: 927 (pacman)'
+ length='Packages: 927 (pacman)'
+ length=22
+ string='Packages\e[0m\e[0m:\e[0m 927 (pacman)'
+ string='\e[1mPackages\e[0m\e[0m:\e[0m 927 (pacman)'
+ printf '%b\n' '\e[41C\e[1mPackages\e[0m\e[0m:\e[0m 927 (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='zsh '
+ [[ on != on ]]
+ case ${shell_name:=${SHELL##*/}} in
++ /bin/zsh --version
+ shell+='zsh 5.9 (x86_64-pc-linux-gnu)'
+ shell='zsh 5.9 (x86_64-pc-linux-gnu)'
+ shell='zsh 5.9 (x86_64-pc-linux-gnu)'
+ shell='zsh 5.9 (x86_64-pc-linux-gnu)'
+ shell='zsh 5.9 (x86_64-pc-linux-gnu)'
+ shell='zsh 5.9 '
+ [[ -n '' ]]
+ [[ -n shell ]]
++ trim 'zsh 5.9 '
++ set -f
++ set -- zsh 5.9
++ printf '%s\n' 'zsh 5.9'
++ set +f
+ output='zsh 5.9'
+ [[ -n shell ]]
+ [[ -n zsh5.9 ]]
+ prin Shell 'zsh 5.9'
++ trim Shell
++ set -f
++ set -- Shell
++ printf '%s\n' Shell
++ set +f
+ [[ -n Shell ]]
+ [[ -n zsh 5.9 ]]
+ [[ -n '' ]]
+ string='Shell: zsh 5.9'
++ trim 'Shell: zsh 5.9'
++ set -f
++ set -- Shell: zsh 5.9
++ printf '%s\n' 'Shell: zsh 5.9'
++ set +f
+ string='Shell: zsh 5.9'
++ strip_sequences 'Shell: zsh 5.9'
++ strip='Shell: zsh 5.9'
++ strip='Shell: zsh 5.9'
++ strip='Shell: zsh 5.9'
++ strip='Shell: zsh 5.9'
++ strip='Shell: zsh 5.9'
++ strip='Shell: zsh 5.9'
++ printf '%s\n' 'Shell: zsh 5.9'
+ length='Shell: zsh 5.9'
+ length=14
+ string='Shell\e[0m\e[0m:\e[0m zsh 5.9'
+ string='\e[1mShell\e[0m\e[0m:\e[0m zsh 5.9'
+ printf '%b\n' '\e[41C\e[1mShell\e[0m\e[0m:\e[0m zsh 5.9\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 '' ]]
+ case $refresh_rate in
++ xrandr --nograb --current
++ awk -F 'connected |\\+|\\(' '/ connected.*[0-9]+x[0-9]+\+/ && $2 {printf $2 ", "}'
+ resolution='primary 1920x1080, '
+ resolution='primary 1920x1080, '
+ resolution='1920x1080, '
+ resolution='1920x1080, '
+ resolution='1920x1080, '
+ resolution=1920x1080
+ [[ -z 19201080 ]]
+ [[ -n '' ]]
+ [[ -n resolution ]]
++ trim 1920x1080
++ set -f
++ set -- 1920x1080
++ printf '%s\n' 1920x1080
++ set +f
+ output=1920x1080
+ [[ -n resolution ]]
+ [[ -n 1920x1080 ]]
+ prin Resolution 1920x1080
++ trim Resolution
++ set -f
++ set -- Resolution
++ printf '%s\n' Resolution
++ set +f
+ [[ -n Resolution ]]
+ [[ -n 1920x1080 ]]
+ [[ -n '' ]]
+ string='Resolution: 1920x1080'
++ trim 'Resolution: 1920x1080'
++ set -f
++ set -- Resolution: 1920x1080
++ printf '%s\n' 'Resolution: 1920x1080'
++ set +f
+ string='Resolution: 1920x1080'
++ strip_sequences 'Resolution: 1920x1080'
++ strip='Resolution: 1920x1080'
++ strip='Resolution: 1920x1080'
++ strip='Resolution: 1920x1080'
++ strip='Resolution: 1920x1080'
++ strip='Resolution: 1920x1080'
++ strip='Resolution: 1920x1080'
++ printf '%s\n' 'Resolution: 1920x1080'
+ length='Resolution: 1920x1080'
+ length=21
+ string='Resolution\e[0m\e[0m:\e[0m 1920x1080'
+ string='\e[1mResolution\e[0m\e[0m:\e[0m 1920x1080'
+ printf '%b\n' '\e[41C\e[1mResolution\e[0m\e[0m:\e[0m 1920x1080\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info DE de
+ [[ -n de ]]
+ subtitle=DE
+ unset -v prin
+ get_de
+ (( de_run == 1 ))
+ case $os in
+ (( wm_run != 1 ))
+ get_wm
+ (( wm_run == 1 ))
+ case $kernel_name in
+ ps_flags=(-e)
+ [[ -O /run/user/1000/wayland-0 ]]
+ [[ -n :0 ]]
+ [[ Linux != \M\a\c\ \O\S\ \X ]]
+ [[ Linux != \m\a\c\O\S ]]
+ [[ Linux != FreeMiNT ]]
++ ps -e
++ grep -m 1 -o -e '[s]owm' -e '[c]atwm' -e '[f]vwm' -e '[d]wm' -e '[2]bwm' -e '[m]onsterwm' -e '[t]inywm' -e '[x]11fs' -e '[x]monad'
+ wm=
+ [[ -z '' ]]
+ type -p xprop
++ xprop -root -notype _NET_SUPPORTING_WM_CHECK
+ id='_NET_SUPPORTING_WM_CHECK: window id # 0x60011d'
+ id=0x60011d
++ xprop -id 0x60011d -notype -len 100 -f _NET_WM_NAME 8t
+ wm='_NET_SUPPORTING_WM_CHECK: window id # 0x60011d
_NET_WM_NAME = "LG3D"'
+ wm='"LG3D"'
+ wm='LG3D"'
+ wm=LG3D
+ [[ LG3D == *WINDOWMAKER* ]]
+ [[ LG3D == *GNOME*Shell* ]]
+ wm_run=1
+ [[ '' == *regolith ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ '' == \L\G\3\D ]]
+ [[ -n :0 ]]
+ [[ -z '' ]]
+ type -p xprop
++ xprop -root
++ awk '/KDE_SESSION_VERSION|^_MUFFIN|xfce4|xfce5/'
+ de=
+ case $de in
+ (( 0 >= 4 ))
+ [[ on == on ]]
+ [[ -n '' ]]
+ [[ -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+='[!]\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 LG3D
++ set -f
++ set -- LG3D
++ printf '%s\n' LG3D
++ set +f
+ output=LG3D
+ [[ -n wm ]]
+ [[ -n LG3D ]]
+ prin WM LG3D
++ trim WM
++ set -f
++ set -- WM
++ printf '%s\n' WM
++ set +f
+ [[ -n WM ]]
+ [[ -n LG3D ]]
+ [[ -n '' ]]
+ string='WM: LG3D'
++ trim 'WM: LG3D'
++ set -f
++ set -- WM: LG3D
++ printf '%s\n' 'WM: LG3D'
++ set +f
+ string='WM: LG3D'
++ strip_sequences 'WM: LG3D'
++ strip='WM: LG3D'
++ strip='WM: LG3D'
++ strip='WM: LG3D'
++ strip='WM: LG3D'
++ strip='WM: LG3D'
++ strip='WM: LG3D'
++ printf '%s\n' 'WM: LG3D'
+ length='WM: LG3D'
+ length=8
+ string='WM\e[0m\e[0m:\e[0m LG3D'
+ string='\e[1mWM\e[0m\e[0m:\e[0m LG3D'
+ printf '%b\n' '\e[41C\e[1mWM\e[0m\e[0m:\e[0m LG3D\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+='[!]\e[0m Info: Couldn'\''t detect WM Theme.
'
+ unset -v subtitle
+ info Theme theme
+ [[ -n theme ]]
+ subtitle=Theme
+ unset -v prin
+ get_theme
+ name=gtk-theme-name
+ gsettings=gtk-theme
+ gconf=gtk_theme
+ xfconf=/Net/ThemeName
+ kde=Name
+ get_style
+ unset gtk2_theme gtk3_theme theme path
+ [[ -n :0 ]]
+ [[ Linux != \M\a\c\ \O\S\ \X ]]
+ [[ Linux != \m\a\c\O\S ]]
+ (( de_run != 1 ))
+ [[ on == on ]]
+ de=
+ case $de in
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -f /home/bruno/.gtkrc-2.0 ]]
+ [[ -f /etc/gtk-2.0/gtkrc ]]
+ [[ -f /usr/share/gtk-2.0/gtkrc ]]
++ grep '^[^#]*gtk-theme-name' /usr/share/gtk-2.0/gtkrc
+ gtk2_theme='gtk-theme-name = "Adwaita"'
+ gtk2_theme=' "Adwaita"'
+ [[ -z '' ]]
+ [[ -f /home/bruno/.config/gtk-3.0/settings.ini ]]
+ type -p gsettings
++ gsettings get org.gnome.desktop.interface gtk-theme
+ gtk3_theme=''\''Adwaita'\'''
+ gtk3_theme=''\''Adwaita'\'''
++ trim ' "Adwaita"'
++ set -f
++ set -- '"Adwaita"'
++ printf '%s\n' '"Adwaita"'
++ set +f
+ gtk2_theme='"Adwaita"'
++ trim ''\''Adwaita'\'''
++ set -f
++ set -- ''\''Adwaita'\'''
++ printf '%s\n' ''\''Adwaita'\'''
++ set +f
+ gtk3_theme=''\''Adwaita'\'''
++ trim_quotes '"Adwaita"'
++ trim_output='"Adwaita"'
++ trim_output=Adwaita
++ printf %s Adwaita
+ gtk2_theme=Adwaita
++ trim_quotes ''\''Adwaita'\'''
++ trim_output=Adwaita
++ trim_output=Adwaita
++ printf %s Adwaita
+ gtk3_theme=Adwaita
+ [[ on == \o\f\f ]]
+ [[ on == \o\f\f ]]
+ [[ -n Adwaita ]]
+ [[ Adwaita == \A\d\w\a\i\t\a ]]
+ gtk3_theme+=' [GTK2/3]'
+ unset gtk2_theme
+ theme='Adwaita [GTK2/3]'
+ theme='Adwaita [GTK2/3]'
+ [[ off == \o\n ]]
+ [[ -n '' ]]
+ [[ -n theme ]]
++ trim 'Adwaita [GTK2/3]'
++ set -f
++ set -- Adwaita '[GTK2/3]'
++ printf '%s\n' 'Adwaita [GTK2/3]'
++ set +f
+ output='Adwaita [GTK2/3]'
+ [[ -n theme ]]
+ [[ -n Adwaita[GTK2/3] ]]
+ prin Theme 'Adwaita [GTK2/3]'
++ trim Theme
++ set -f
++ set -- Theme
++ printf '%s\n' Theme
++ set +f
+ [[ -n Theme ]]
+ [[ -n Adwaita [GTK2/3] ]]
+ [[ -n '' ]]
+ string='Theme: Adwaita [GTK2/3]'
++ trim 'Theme: Adwaita [GTK2/3]'
++ set -f
++ set -- Theme: Adwaita '[GTK2/3]'
++ printf '%s\n' 'Theme: Adwaita [GTK2/3]'
++ set +f
+ string='Theme: Adwaita [GTK2/3]'
++ strip_sequences 'Theme: Adwaita [GTK2/3]'
++ strip='Theme: Adwaita [GTK2/3]'
++ strip='Theme: Adwaita [GTK2/3]'
++ strip='Theme: Adwaita [GTK2/3]'
++ strip='Theme: Adwaita [GTK2/3]'
++ strip='Theme: Adwaita [GTK2/3]'
++ strip='Theme: Adwaita [GTK2/3]'
++ printf '%s\n' 'Theme: Adwaita [GTK2/3]'
+ length='Theme: Adwaita [GTK2/3]'
+ length=23
+ string='Theme\e[0m\e[0m:\e[0m Adwaita [GTK2/3]'
+ string='\e[1mTheme\e[0m\e[0m:\e[0m Adwaita [GTK2/3]'
+ printf '%b\n' '\e[41C\e[1mTheme\e[0m\e[0m:\e[0m Adwaita [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 ]]
+ [[ Linux != \M\a\c\ \O\S\ \X ]]
+ [[ Linux != \m\a\c\O\S ]]
+ (( de_run != 1 ))
+ [[ on == on ]]
+ de=
+ case $de in
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -f /home/bruno/.gtkrc-2.0 ]]
+ [[ -f /etc/gtk-2.0/gtkrc ]]
+ [[ -f /usr/share/gtk-2.0/gtkrc ]]
++ grep '^[^#]*gtk-icon-theme-name' /usr/share/gtk-2.0/gtkrc
+ gtk2_theme='gtk-icon-theme-name = "Adwaita"'
+ gtk2_theme=' "Adwaita"'
+ [[ -z '' ]]
+ [[ -f /home/bruno/.config/gtk-3.0/settings.ini ]]
+ type -p gsettings
++ gsettings get org.gnome.desktop.interface icon-theme
+ gtk3_theme=''\''Adwaita'\'''
+ gtk3_theme=''\''Adwaita'\'''
++ trim ' "Adwaita"'
++ set -f
++ set -- '"Adwaita"'
++ printf '%s\n' '"Adwaita"'
++ set +f
+ gtk2_theme='"Adwaita"'
++ trim ''\''Adwaita'\'''
++ set -f
++ set -- ''\''Adwaita'\'''
++ printf '%s\n' ''\''Adwaita'\'''
++ set +f
+ gtk3_theme=''\''Adwaita'\'''
++ trim_quotes '"Adwaita"'
++ trim_output='"Adwaita"'
++ trim_output=Adwaita
++ printf %s Adwaita
+ gtk2_theme=Adwaita
++ trim_quotes ''\''Adwaita'\'''
++ trim_output=Adwaita
++ trim_output=Adwaita
++ printf %s Adwaita
+ gtk3_theme=Adwaita
+ [[ on == \o\f\f ]]
+ [[ on == \o\f\f ]]
+ [[ -n Adwaita ]]
+ [[ Adwaita == \A\d\w\a\i\t\a ]]
+ gtk3_theme+=' [GTK2/3]'
+ unset gtk2_theme
+ theme='Adwaita [GTK2/3]'
+ theme='Adwaita [GTK2/3]'
+ [[ off == \o\n ]]
+ icons='Adwaita [GTK2/3]'
+ [[ -n '' ]]
+ [[ -n icons ]]
++ trim 'Adwaita [GTK2/3]'
++ set -f
++ set -- Adwaita '[GTK2/3]'
++ printf '%s\n' 'Adwaita [GTK2/3]'
++ set +f
+ output='Adwaita [GTK2/3]'
+ [[ -n icons ]]
+ [[ -n Adwaita[GTK2/3] ]]
+ prin Icons 'Adwaita [GTK2/3]'
++ trim Icons
++ set -f
++ set -- Icons
++ printf '%s\n' Icons
++ set +f
+ [[ -n Icons ]]
+ [[ -n Adwaita [GTK2/3] ]]
+ [[ -n '' ]]
+ string='Icons: Adwaita [GTK2/3]'
++ trim 'Icons: Adwaita [GTK2/3]'
++ set -f
++ set -- Icons: Adwaita '[GTK2/3]'
++ printf '%s\n' 'Icons: Adwaita [GTK2/3]'
++ set +f
+ string='Icons: Adwaita [GTK2/3]'
++ strip_sequences 'Icons: Adwaita [GTK2/3]'
++ strip='Icons: Adwaita [GTK2/3]'
++ strip='Icons: Adwaita [GTK2/3]'
++ strip='Icons: Adwaita [GTK2/3]'
++ strip='Icons: Adwaita [GTK2/3]'
++ strip='Icons: Adwaita [GTK2/3]'
++ strip='Icons: Adwaita [GTK2/3]'
++ printf '%s\n' 'Icons: Adwaita [GTK2/3]'
+ length='Icons: Adwaita [GTK2/3]'
+ length=23
+ string='Icons\e[0m\e[0m:\e[0m Adwaita [GTK2/3]'
+ string='\e[1mIcons\e[0m\e[0m:\e[0m Adwaita [GTK2/3]'
+ printf '%b\n' '\e[41C\e[1mIcons\e[0m\e[0m:\e[0m Adwaita [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=tmux
+ [[ tmux-256color == \t\w\5\2 ]]
+ [[ tmux-256color == \t\w\1\0\0 ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -z tmux ]]
+ term_run=1
+ [[ -n '' ]]
+ [[ -n term ]]
++ trim tmux
++ set -f
++ set -- tmux
++ printf '%s\n' tmux
++ set +f
+ output=tmux
+ [[ -n term ]]
+ [[ -n tmux ]]
+ prin Terminal tmux
++ trim Terminal
++ set -f
++ set -- Terminal
++ printf '%s\n' Terminal
++ set +f
+ [[ -n Terminal ]]
+ [[ -n tmux ]]
+ [[ -n '' ]]
+ string='Terminal: tmux'
++ trim 'Terminal: tmux'
++ set -f
++ set -- Terminal: tmux
++ printf '%s\n' 'Terminal: tmux'
++ set +f
+ string='Terminal: tmux'
++ strip_sequences 'Terminal: tmux'
++ strip='Terminal: tmux'
++ strip='Terminal: tmux'
++ strip='Terminal: tmux'
++ strip='Terminal: tmux'
++ strip='Terminal: tmux'
++ strip='Terminal: tmux'
++ printf '%s\n' 'Terminal: tmux'
+ length='Terminal: tmux'
+ length=14
+ string='Terminal\e[0m\e[0m:\e[0m tmux'
+ string='\e[1mTerminal\e[0m\e[0m:\e[0m tmux'
+ printf '%b\n' '\e[41C\e[1mTerminal\e[0m\e[0m:\e[0m tmux\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info 'Terminal Font' term_font
+ [[ -n term_font ]]
+ subtitle='Terminal Font'
+ unset -v prin
+ get_term_font
+ (( term_run != 1 ))
+ case $term in
+ [[ -n '' ]]
+ [[ -n term_font ]]
++ trim ''
++ set -f
++ set --
++ printf '%s\n' ''
++ set +f
+ output=
+ [[ -n term_font ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ err 'Info: Couldn'\''t detect Terminal Font.'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Info: Couldn'\''t detect Terminal Font.
'
+ unset -v subtitle
+ info CPU cpu
+ [[ -n cpu ]]
+ subtitle=CPU
+ unset -v prin
+ get_cpu
+ case $os in
+ cpu_file=/proc/cpuinfo
+ case $kernel_machine in
++ awk -F '\\s*: | @' '/model name|Hardware|Processor|^cpu model|chip type|^cpu type/ {
cpu=$2; if ($1 == "Hardware") exit } END { print cpu }' /proc/cpuinfo
+ cpu='Intel(R) Core(TM) i5-8350U CPU'
+ speed_dir=/sys/devices/system/cpu/cpu0/cpufreq
+ for temp_dir in /sys/class/hwmon/*
+ [[ AC =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ acpitz =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ ucsi_source_psy_USBC000:002 =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ BAT0 =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ BAT1 =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ nvme =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ pch_skylake =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ thinkpad =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ ucsi_source_psy_USBC000:001 =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ iwlwifi_1 =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]]
+ for temp_dir in /sys/class/hwmon/*
+ [[ coretemp =~ (cpu_thermal|coretemp|fam15h_power|k10temp) ]]
+ temp_dirs=("$temp_dir"/temp*_input)
+ temp_dir=/sys/class/hwmon/hwmon9/temp1_input
+ break
+ [[ -d /sys/devices/system/cpu/cpu0/cpufreq ]]
/usr/bin/neofetch: line 2230: /sys/devices/system/cpu/cpu0/cpufreq/bios_limit: No such file or directory
+ speed=
/usr/bin/neofetch: line 2231: /sys/devices/system/cpu/cpu0/cpufreq/bios_limit: No such file or directory
+ speed=
+ speed=3600000
+ speed=3600
+ [[ -f /sys/class/hwmon/hwmon9/temp1_input ]]
+ deg=460
+ case $kernel_machine in
+ case $cpu_cores in
++ grep -c '^processor' /proc/cpuinfo
+ cores=8
+ cpu='Intel(R) Core i5-8350U CPU'
+ cpu='Intel(R) Core i5-8350U CPU'
+ cpu='Intel Core i5-8350U CPU'
+ cpu='Intel Core i5-8350U CPU'
+ cpu='Intel Core i5-8350U '
+ cpu='Intel Core i5-8350U '
+ cpu='Intel Core i5-8350U '
+ cpu='Intel Core i5-8350U '
+ cpu='Intel Core i5-8350U '
+ cpu='Intel Core i5-8350U '
+ cpu='Intel Core i5-8350U '
+ cpu='Intel Core i5-8350U '
+ cpu='Intel Core i5-8350U '
+ cpu='Intel i5-8350U '
+ cpu='Intel i5-8350U '
+ cpu='Intel i5-8350U '
+ cpu='Intel i5-8350U '
+ cpu='Intel i5-8350U '
+ cpu='Intel i5-8350U '
+ cpu='Intel i5-8350U '
+ cpu='Intel i5-8350U '
+ cores=8
+ speed=3600
+ [[ on == \o\f\f ]]
+ [[ logical != \o\f\f ]]
+ [[ -n 8 ]]
+ case $os in
+ cpu='Intel i5-8350U (8)'
+ [[ on != \o\f\f ]]
+ [[ -n 3600 ]]
+ (( speed < 1000 ))
+ [[ off == \o\n ]]
+ speed=3.600
+ cpu='Intel i5-8350U (8) @ 3.600GHz'
+ [[ off != \o\f\f ]]
+ [[ -n '' ]]
+ [[ -n cpu ]]
++ trim 'Intel i5-8350U (8) @ 3.600GHz'
++ set -f
++ set -- Intel i5-8350U '(8)' @ 3.600GHz
++ printf '%s\n' 'Intel i5-8350U (8) @ 3.600GHz'
++ set +f
+ output='Intel i5-8350U (8) @ 3.600GHz'
+ [[ -n cpu ]]
+ [[ -n Inteli5-8350U(8)@3.600GHz ]]
+ prin CPU 'Intel i5-8350U (8) @ 3.600GHz'
++ trim CPU
++ set -f
++ set -- CPU
++ printf '%s\n' CPU
++ set +f
+ [[ -n CPU ]]
+ [[ -n Intel i5-8350U (8) @ 3.600GHz ]]
+ [[ -n '' ]]
+ string='CPU: Intel i5-8350U (8) @ 3.600GHz'
++ trim 'CPU: Intel i5-8350U (8) @ 3.600GHz'
++ set -f
++ set -- CPU: Intel i5-8350U '(8)' @ 3.600GHz
++ printf '%s\n' 'CPU: Intel i5-8350U (8) @ 3.600GHz'
++ set +f
+ string='CPU: Intel i5-8350U (8) @ 3.600GHz'
++ strip_sequences 'CPU: Intel i5-8350U (8) @ 3.600GHz'
++ strip='CPU: Intel i5-8350U (8) @ 3.600GHz'
++ strip='CPU: Intel i5-8350U (8) @ 3.600GHz'
++ strip='CPU: Intel i5-8350U (8) @ 3.600GHz'
++ strip='CPU: Intel i5-8350U (8) @ 3.600GHz'
++ strip='CPU: Intel i5-8350U (8) @ 3.600GHz'
++ strip='CPU: Intel i5-8350U (8) @ 3.600GHz'
++ printf '%s\n' 'CPU: Intel i5-8350U (8) @ 3.600GHz'
+ length='CPU: Intel i5-8350U (8) @ 3.600GHz'
+ length=34
+ string='CPU\e[0m\e[0m:\e[0m Intel i5-8350U (8) @ 3.600GHz'
+ string='\e[1mCPU\e[0m\e[0m:\e[0m Intel i5-8350U (8) @ 3.600GHz'
+ printf '%b\n' '\e[41C\e[1mCPU\e[0m\e[0m:\e[0m Intel i5-8350U (8) @ 3.600GHz\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 " " ($(NF-1) ~ /^$|^Device [[:xdigit:]]+$/ ? $4 : $(NF-1))
}
END { for (i in a) {
if (!seen[a[i]]++) {
sub("^[^ ]+ ", "", a[i]);
print a[i]
}
}}'
+ gpu_cmd=' Intel Corporation UHD Graphics 620'
+ IFS='
'
+ read -d '' -ra gpus
+ [[ Intel Corporation UHD Graphics 620 == *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 UHD Graphics 620'
+ gpu='Intel Corporation UHD Graphics 620'
+ gpu='Intel UHD Graphics 620'
+ gpu='Intel UHD Graphics 620'
+ gpu='Intel UHD Graphics 620'
+ gpu='Intel UHD Graphics 620'
++ trim 'Intel UHD Graphics 620'
++ set -f
++ set -- Intel UHD Graphics 620
++ printf '%s\n' 'Intel UHD Graphics 620'
++ set +f
+ [[ -z Intel UHD Graphics 620 ]]
+ [[ on == \o\f\f ]]
+ prin GPU 'Intel UHD Graphics 620'
++ trim GPU
++ set -f
++ set -- GPU
++ printf '%s\n' GPU
++ set +f
+ [[ -n GPU ]]
+ [[ -n Intel UHD Graphics 620 ]]
+ [[ -n '' ]]
+ string='GPU: Intel UHD Graphics 620'
++ trim 'GPU: Intel UHD Graphics 620'
++ set -f
++ set -- GPU: Intel UHD Graphics 620
++ printf '%s\n' 'GPU: Intel UHD Graphics 620'
++ set +f
+ string='GPU: Intel UHD Graphics 620'
++ strip_sequences 'GPU: Intel UHD Graphics 620'
++ strip='GPU: Intel UHD Graphics 620'
++ strip='GPU: Intel UHD Graphics 620'
++ strip='GPU: Intel UHD Graphics 620'
++ strip='GPU: Intel UHD Graphics 620'
++ strip='GPU: Intel UHD Graphics 620'
++ strip='GPU: Intel UHD Graphics 620'
++ printf '%s\n' 'GPU: Intel UHD Graphics 620'
+ length='GPU: Intel UHD Graphics 620'
+ length=27
+ string='GPU\e[0m\e[0m:\e[0m Intel UHD Graphics 620'
+ string='\e[1mGPU\e[0m\e[0m:\e[0m Intel UHD Graphics 620'
+ printf '%b\n' '\e[41C\e[1mGPU\e[0m\e[0m:\e[0m Intel UHD Graphics 620\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+= 16252536 ))
+ mem_total=' 16252536 '
+ IFS=:
+ read -r a b
+ case $a in
+ mem_used=4269744
+ IFS=:
+ read -r a b
+ case $a in
+ mem_avail=' 13276960 '
+ IFS=:
+ read -r a b
+ case $a in
+ mem_used=4113920
+ IFS=:
+ read -r a b
+ case $a in
+ mem_used=2231204
+ 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+= 555040 ))
+ 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=2652880
+ 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
+ [[ -n 13276960 ]]
+ mem_used=2905
+ mem_total=15871
+ [[ off == \o\n ]]
+ case $memory_unit in
+ memory='2905MiB / 15871MiB '
+ case $memory_display in
+ [[ -n '' ]]
+ [[ -n memory ]]
++ trim '2905MiB / 15871MiB '
++ set -f
++ set -- 2905MiB / 15871MiB
++ printf '%s\n' '2905MiB / 15871MiB'
++ set +f
+ output='2905MiB / 15871MiB'
+ [[ -n memory ]]
+ [[ -n 2905MiB/15871MiB ]]
+ prin Memory '2905MiB / 15871MiB'
++ trim Memory
++ set -f
++ set -- Memory
++ printf '%s\n' Memory
++ set +f
+ [[ -n Memory ]]
+ [[ -n 2905MiB / 15871MiB ]]
+ [[ -n '' ]]
+ string='Memory: 2905MiB / 15871MiB'
++ trim 'Memory: 2905MiB / 15871MiB'
++ set -f
++ set -- Memory: 2905MiB / 15871MiB
++ printf '%s\n' 'Memory: 2905MiB / 15871MiB'
++ set +f
+ string='Memory: 2905MiB / 15871MiB'
++ strip_sequences 'Memory: 2905MiB / 15871MiB'
++ strip='Memory: 2905MiB / 15871MiB'
++ strip='Memory: 2905MiB / 15871MiB'
++ strip='Memory: 2905MiB / 15871MiB'
++ strip='Memory: 2905MiB / 15871MiB'
++ strip='Memory: 2905MiB / 15871MiB'
++ strip='Memory: 2905MiB / 15871MiB'
++ printf '%s\n' 'Memory: 2905MiB / 15871MiB'
+ length='Memory: 2905MiB / 15871MiB'
+ length=26
+ string='Memory\e[0m\e[0m:\e[0m 2905MiB / 15871MiB'
+ string='\e[1mMemory\e[0m\e[0m:\e[0m 2905MiB / 15871MiB'
+ printf '%b\n' '\e[41C\e[1mMemory\e[0m\e[0m:\e[0m 2905MiB / 15871MiB\e[0m '
+ (( ++info_height ))
+ prin=1
+ unset -v subtitle
+ info Battery battery
+ [[ -n battery ]]
+ subtitle=Battery
+ unset -v prin
+ get_battery
+ case $os in
+ for bat in "/sys/class/power_supply/"{BAT,axp288_fuel_gauge,CMB}*
+ capacity=100
+ status=Full
+ [[ -n 100 ]]
+ battery='100% [Full]'
+ case $battery_display in
+ bat=/sys/class/power_supply/BAT0
+ prin Battery0 '100% [Full]'
++ trim Battery0
++ set -f
++ set -- Battery0
++ printf '%s\n' Battery0
++ set +f
+ [[ -n Battery0 ]]
+ [[ -n 100% [Full] ]]
+ [[ -n '' ]]
+ string='Battery0: 100% [Full]'
++ trim 'Battery0: 100% [Full]'
++ set -f
++ set -- Battery0: 100% '[Full]'
++ printf '%s\n' 'Battery0: 100% [Full]'
++ set +f
+ string='Battery0: 100% [Full]'
++ strip_sequences 'Battery0: 100% [Full]'
++ strip='Battery0: 100% [Full]'
++ strip='Battery0: 100% [Full]'
++ strip='Battery0: 100% [Full]'
++ strip='Battery0: 100% [Full]'
++ strip='Battery0: 100% [Full]'
++ strip='Battery0: 100% [Full]'
++ printf '%s\n' 'Battery0: 100% [Full]'
+ length='Battery0: 100% [Full]'
+ length=21
+ string='Battery0\e[0m\e[0m:\e[0m 100% [Full]'
+ string='\e[1mBattery0\e[0m\e[0m:\e[0m 100% [Full]'
+ printf '%b\n' '\e[41C\e[1mBattery0\e[0m\e[0m:\e[0m 100% [Full]\e[0m '
+ (( ++info_height ))
+ prin=1
+ for bat in "/sys/class/power_supply/"{BAT,axp288_fuel_gauge,CMB}*
+ capacity=100
+ status=Full
+ [[ -n 100 ]]
+ battery='100% [Full]'
+ case $battery_display in
+ bat=/sys/class/power_supply/BAT1
+ prin Battery1 '100% [Full]'
++ trim Battery1
++ set -f
++ set -- Battery1
++ printf '%s\n' Battery1
++ set +f
+ [[ -n Battery1 ]]
+ [[ -n 100% [Full] ]]
+ [[ -n '' ]]
+ string='Battery1: 100% [Full]'
++ trim 'Battery1: 100% [Full]'
++ set -f
++ set -- Battery1: 100% '[Full]'
++ printf '%s\n' 'Battery1: 100% [Full]'
++ set +f
+ string='Battery1: 100% [Full]'
++ strip_sequences 'Battery1: 100% [Full]'
++ strip='Battery1: 100% [Full]'
++ strip='Battery1: 100% [Full]'
++ strip='Battery1: 100% [Full]'
++ strip='Battery1: 100% [Full]'
++ strip='Battery1: 100% [Full]'
++ strip='Battery1: 100% [Full]'
++ printf '%s\n' 'Battery1: 100% [Full]'
+ length='Battery1: 100% [Full]'
+ length=21
+ string='Battery1\e[0m\e[0m:\e[0m 100% [Full]'
+ string='\e[1mBattery1\e[0m\e[0m:\e[0m 100% [Full]'
+ printf '%b\n' '\e[41C\e[1mBattery1\e[0m\e[0m:\e[0m 100% [Full]\e[0m '
+ (( ++info_height ))
+ prin=1
+ for bat in "/sys/class/power_supply/"{BAT,axp288_fuel_gauge,CMB}*
/usr/bin/neofetch: line 3768: /sys/class/power_supply/axp288_fuel_gauge*/capacity: No such file or directory
+ capacity=
/usr/bin/neofetch: line 3769: /sys/class/power_supply/axp288_fuel_gauge*/status: No such file or directory
+ status=
+ [[ -n '' ]]
+ for bat in "/sys/class/power_supply/"{BAT,axp288_fuel_gauge,CMB}*
/usr/bin/neofetch: line 3768: /sys/class/power_supply/CMB*/capacity: No such file or directory
+ capacity=
/usr/bin/neofetch: line 3769: /sys/class/power_supply/CMB*/status: No such file or directory
+ status=
+ [[ -n '' ]]
+ return
+ [[ -n 1 ]]
+ return
+ info cols
+ [[ -n '' ]]
+ unset -v prin
+ get_cols
+ local blocks blocks2 cols
+ [[ on == \o\n ]]
+ printf -v block_width %3s
+ (( block_range[0] ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '' 0 0 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' ' ' 1 1 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '  ' 2 2 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '   ' 3 3 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '    ' 4 4 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '     ' 5 5 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '      ' 6 6 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks '%b\e[3%bm\e[4%bm%b' '       ' 7 7 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '' 8 8 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' ' ' 9 9 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '  ' 10 10 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '   ' 11 11 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '    ' 12 12 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '     ' 13 13 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '      ' 14 14 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ case ${block_range[0]} in
+ printf -v blocks2 '%b\e[38;5;%bm\e[48;5;%bm%b' '       ' 15 15 ' '
+ (( block_range[0]++ ))
+ (( block_range[0]<=block_range[1] ))
+ printf -v block_spaces %1s
+ [[ -n         ]]
+ cols+='        nl'
+ [[ -n         ]]
+ cols+='        nl'
+ cols='        nl        '
+ cols='        
        '
+ (( info_height+=block_range[1]>7?block_height+2:block_height+1 ))
+ case $col_offset in
+ printf '\n\e[%bC%b\n' 41 '        
        '
+ unset -v blocks blocks2 cols
+ prin=1
+ [[ -n 1 ]]
+ return
+ dynamic_prompt
+ [[ ascii == \o\f\f ]]
+ [[ ascii != \a\s\c\i\i ]]
+ [[ ascii == \w\3\m ]]
+ (( lines=lines>info_height?lines-info_height+1:1 ))
+ printf -v nlines %1s
+ printf %b '\n'
+ [[ ascii == *w3m* ]]
+ [[ ascii == *ueberzug* ]]
+ err 'Neofetch command: /usr/bin/neofetch --config /tmp/bug -vv'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Neofetch command: /usr/bin/neofetch --config /tmp/bug -vv
'
+ err 'Neofetch version: 7.1.0'
++ color 1
++ case $1 in
++ printf '%b\e[3%sm' '\e[0m' 1
+ err+='[!]\e[0m Neofetch version: 7.1.0
'
+ [[ on == on ]]
+ printf '%b\033[m' '[!]\e[0m Config: Sourced user config. (/tmp/bug)
[!]\e[0m Info: Couldn'\''t detect DE.
[!]\e[0m Info: Couldn'\''t detect WM Theme.
[!]\e[0m Info: Couldn'\''t detect Terminal Font.
[!]\e[0m Neofetch command: /usr/bin/neofetch --config /tmp/bug -vv
[!]\e[0m Neofetch version: 7.1.0
'
[!] Config: Sourced user config. (/tmp/bug)
[!] Info: Couldn't detect DE.
[!] Info: Couldn't detect WM Theme.
[!] Info: Couldn't detect Terminal Font.
[!] Neofetch command: /usr/bin/neofetch --config /tmp/bug -vv
[!] Neofetch version: 7.1.0
+ [[ off == on ]]
+ return 0
+ printf '\e[?25h\e[?7h'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment