dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
22.18k stars 1.66k forks source link

Gif doesn't work with --chafa #1967

Closed KotonBads closed 2 years ago

KotonBads commented 2 years ago

Description

Not sure if this is intentional or not, but using --chafa /path/to/gif just displays nothing, but it does move the text according to the gif's dimensions.

Neofetch version

Neofetch 7.0.0

Screenshot

have a video instead https://user-images.githubusercontent.com/66117568/143385322-47d7287d-0b00-4cad-b10a-3d35f4ac00db.mp4

Config file

# Neofetch Themes
# Configuration made by Chick

# See this wiki page for more info: 
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info

print_info() {

    info " ​ ​ ${cl6}   " distro
    info " ​ ​ ${cl5}   " cpu
    info " ​ ​ ${cl4}   " kernel
    info " ​ ​ ${cl1}   " wm
    info " ​ ​ ${cl7}   " shell
    info " ​ ​ ${cl3}   " term
    info " ​ ​ ${cl2}  塞" memory
    info cols
}

kernel_shorthand="on"
distro_shorthand="off"
os_arch="off"
uptime_shorthand="on"
memory_percent="off"
package_managers="on"
shell_path="off"
shell_version="on"
speed_type="bios_limit"
speed_shorthand="on"
cpu_brand="off"
cpu_speed="off"
cpu_cores="off"
cpu_temp="off"
gpu_brand="off"
gpu_type="all"
refresh_rate="on"
gtk_shorthand="on"
gtk2="on"
gtk3="on"
public_ip_host="http://ident.me"
public_ip_timeout=2
disk_show=('/')
music_player="spotify"
song_format="%artist% - %title%"
song_shorthand="off"
colors=(distro)
bold="on"
underline_enabled="on"
underline_char="-"
separator=" "
color_blocks="off"
block_range=(0 15) # Colorblocks

# Colors for custom colorblocks
magenta="\033[1;35m"
green="\033[1;32m"
white="\033[1;37m"
blue="\033[1;34m"
red="\033[1;31m"
black="\033[1;40;30m"
yellow="\033[1;33m"
cyan="\033[1;36m"
reset="\033[0m"
bgyellow="\033[1;43;33m"
bgwhite="\033[1;47;37m"
cl0="${reset}"
cl1="${magenta}"
cl2="${green}"
cl3="${white}"
cl4="${blue}"
cl5="${red}"
cl6="${yellow}"
cl7="${cyan}"
cl8="${black}"
cl9="${bgyellow}"
cl10="${bgwhite}"

block_width=4
block_height=1

bar_char_elapsed="-"
bar_char_total="="
bar_border="on"
bar_length=15
bar_color_elapsed="distro"
bar_color_total="distro"

cpu_display="on"
memory_display="on"
battery_display="on"
disk_display="on"

image_backend="chafa"
#image_source="$HOME/"
image_size="auto"
image_loop="off"

ascii_distro="ubuntu_small"
ascii_colors=(distro)
ascii_bold="on"

thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
crop_mode="normal"
crop_offset="center"

gap=2

yoffset=0
xoffset=0

stdout="off"

Verbose log

  1. Run neofetch -vv 2> neofetchlog
  2. Upload the contents of neofetchlog to pastebin, gist or equivalent.
  3. neofetchlog.txt

dylanaraps commented 2 years ago

This looks to be a configuration issue as neofetch is falling back to ascii mode.

Also see #1392