dylanaraps / neofetch

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

"11th Gen" prefix prints on cpu line #2343

Open LeviSnoot opened 1 year ago

LeviSnoot commented 1 year ago

Description

So I can't find any other examples of this happening, but on the printed line for cpu, it gets prefixed with "11th Gen" which I find both ugly and redundant as the generation is defined in the model number. I don't know how neofetch grabs this information, but it'd be nice if there was an option to omit it.

Neofetch version

Screenshot

image

Config file

print_info() {
    prin "╭──────────\n Hardware Information \n──────────╮"
    info " ​ ​ 󰌢 " model
    info " ​ ​ 󰍛 " cpu
    prin " ​ ​ ${cl5}󰘚​${cl0}​​ Intel UHD Graphics 730" 
    info " ​ ​ 󰑭 " memory
    info " ​ ​  " disk
    prin "├──────────\n Software Information \n──────────┤"
    info " ​ ​  " users
    info " ​ ​ 󰣚 " distro
    info " ​ ​  " kernel
    info " ​ ​  " shell
    info " ​ ​  " packages 
    info " ​ ​  󰅐 " uptime
    prin "╰──────────────────────────────────────────╯"
    info cols
prin "\n \n \n \n \n ${cl3} \n \n ${cl5} \n \n ${cl2} \n \n ${cl6}  \n \n ${cl4}  \n \n ${cl1}  \n \n ${cl7}  \n \n ${cl0}"
}

kernel_shorthand="on"
distro_shorthand="on"
os_arch="off"
uptime_shorthand="tiny"
memory_percent="on"
package_managers="off"
shell_path="off"
shell_version="on"
speed_type="bios_limit"
speed_shorthand="on"
cpu_brand="on"
cpu_speed="on"
cpu_cores="off"
cpu_temp="off"
gpu_brand="on"
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="vlc"
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"
memory_unit="gib"
battery_display="on"
disk_display="on"

image_backend="ascii"
image_source="/obfuscated/path/to/art.ascii"
image_size="auto"
image_loop="off"

ascii_distro="auto"
ascii_colors=(8 1 2 3)
ascii_bold="on"

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

gap=6

yoffset=0
xoffset=0

stdout="off"

Verbose log

Don't think it will be necessary, but can provide it on request.