Skip to content

Instantly share code, notes, and snippets.

@myknbani
Created February 27, 2017 02:51
Show Gist options
  • Save myknbani/be0cc367f927265e2f3c26fadcb28af6 to your computer and use it in GitHub Desktop.
Save myknbani/be0cc367f927265e2f3c26fadcb28af6 to your computer and use it in GitHub Desktop.
+ verbose=on
+ shift
+ [[ -n '' ]]
+ get_distro
+ get_bold
+ case "$ascii_bold" in
+ ascii_bold='\033[1m'
+ case "$bold" in
+ bold='\033[1m'
+ get_distro_colors
+ case "$ascii_distro" in
+ set_colors 2 7
++ color 2
++ case "$1" in
++ printf %b '\033[0m\033[32m'
+ c1='\033[1m'
++ color 7
++ case "$1" in
++ printf %b '\033[0m'
+ c2='\033[1m'
++ color ''
++ case "$1" in
++ printf %b '\033[38;5;m'
+ c3='\033[1m'
++ color ''
++ case "$1" in
++ printf %b '\033[38;5;m'
+ c4='\033[1m'
++ color ''
++ case "$1" in
++ printf %b '\033[38;5;m'
+ c5='\033[1m'
++ color ''
++ case "$1" in
++ printf %b '\033[38;5;m'
+ c6='\033[1m'
+ [[ '' != \o\f\f ]]
+ set_text_colors 2 7
+ [[ distro == \d\i\s\t\r\o ]]
++ color 2
++ case "$1" in
++ printf %b '\033[0m\033[32m'
+ title_color=''
+ at_color='\033[0m'
+ underline_color='\033[0m'
++ color 7
++ case "$1" in
++ printf %b '\033[0m'
+ subtitle_color=''
+ colon_color='\033[0m'
+ info_color='\033[0m'
+ (( 2 == 8 ))
+ (( 7 == 8 ))
+ (( 7 == 7 ))
++ color 2
++ case "$1" in
++ printf %b '\033[0m\033[32m'
+ subtitle_color=''
+ (( 2 == 7 ))
+ [[ distro == \d\i\s\t\r\o ]]
++ color fg
++ case "$1" in
++ printf %b '\033[0m'
+ bar_color_elapsed=''
+ case "$bar_color_total $1" in
+ bar_color_total='\033[1m'
+ ascii_file=manjaro
+ [[ distro != \d\i\s\t\r\o ]]
+ [[ xterm-256color != \m\i\n\i\x ]]
+ trap 'printf "\033[?25h\033[?7h"' EXIT
+ printf '\033[?25l\033[?7l'
+ image_backend
+ [[ ! ascii =~ ^(off|ascii)$ ]]
+ case "${image_backend:-off}" in
+ get_ascii
+ [[ ! -f auto ]]
+ [[ ! auto =~ ^(auto|ascii)$ ]]
+ [[ auto =~ \.(png|jpg|jpe|jpeg|gif)$ ]]
+ [[ -d /usr/share/neofetch/ascii/distro ]]
+ ascii_dir=/usr/share/neofetch/ascii/distro
+ image_source=/usr/share/neofetch/ascii/distro/manjaro
+ [[ ! -f /usr/share/neofetch/ascii/distro/manjaro ]]
+ export LC_ALL=en_US.UTF-8
+ LC_ALL=en_US.UTF-8
+ IFS='
'
+ read -r line
+ print+='${c1}██████████████████ ████████ \n'
+ line='██████████████████ ████████'
+ line='██████████████████ ████████'
+ (( 28 > ascii_length ))
+ ascii_length=28
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='██████████████████ ████████ \n'
+ line='██████████████████ ████████'
+ line='██████████████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='██████████████████ ████████ \n'
+ line='██████████████████ ████████'
+ line='██████████████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='██████████████████ ████████ \n'
+ line='██████████████████ ████████'
+ line='██████████████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='████████ ████████ \n'
+ line='████████ ████████'
+ line='████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='████████ ████████ ████████ \n'
+ line='████████ ████████ ████████'
+ line='████████ ████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='████████ ████████ ████████ \n'
+ line='████████ ████████ ████████'
+ line='████████ ████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='████████ ████████ ████████ \n'
+ line='████████ ████████ ████████'
+ line='████████ ████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='████████ ████████ ████████ \n'
+ line='████████ ████████ ████████'
+ line='████████ ████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='████████ ████████ ████████ \n'
+ line='████████ ████████ ████████'
+ line='████████ ████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='████████ ████████ ████████ \n'
+ line='████████ ████████ ████████'
+ line='████████ ████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='████████ ████████ ████████ \n'
+ line='████████ ████████ ████████'
+ line='████████ ████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='████████ ████████ ████████ \n'
+ line='████████ ████████ ████████'
+ line='████████ ████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print+='████████ ████████ ████████ \n'
+ line='████████ ████████ ████████'
+ line='████████ ████████ ████████'
+ (( 28 > ascii_length ))
+ (( ++lines ))
+ IFS='
'
+ read -r line
+ print='\033[1m██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n'
+ print='\033[1m██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n'
+ print='\033[1m██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n'
+ print='\033[1m██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n'
+ print='\033[1m██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n'
+ print='\033[1m██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n'
+ [[ -n '' ]]
+ text_padding=31
+ printf %b '\033[1m██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n██████████████████ ████████ \n████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n████████ ████████ ████████ \n'
+ export LC_ALL=C
+ LC_ALL=C
+ [[ ascii != \o\f\f ]]
+ printf %b '\033[14A\033[9999999D'
+ old_functions
+ type printinfo
+ get_cache_dir
+ case "$os" in
+ cache_dir=/tmp
+ print_info
+ dynamic_prompt
+ case "$image_backend" in
+ (( lines < info_height ))
+ lines=0
+ (( lines < 0 ))
+ printf %b '\033[0B'
+ printf '\n\n\n\n'
+ [[ ascii == *w3m* ]]
+ [[ off == \o\n ]]
+ [[ on == \o\n ]]
+ printf %b '[!]\033[0m Config: Sourced default config. (/etc/neofetch/config)\n[!]\033[0m Config: Sourced user config. (/home/mykee/.config/neofetch/config)\n[!]\033[0m Config: cpu_temp='\''on'\'' is deprecated, use cpu_temp='\''C'\'' or '\''F'\'' instead.\n'
[!] Config: Sourced default config. (/etc/neofetch/config)
[!] Config: Sourced user config. (/home/mykee/.config/neofetch/config)
[!] Config: cpu_temp='on' is deprecated, use cpu_temp='C' or 'F' instead.
+ return 0
+ printf '\033[?25h\033[?7h'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment