Skip to content

Instantly share code, notes, and snippets.

@8KCoffeeWizard
Last active September 20, 2024 22:05
Show Gist options
  • Save 8KCoffeeWizard/10dd5c16cfde9f8bfe6c94101526b803 to your computer and use it in GitHub Desktop.
Save 8KCoffeeWizard/10dd5c16cfde9f8bfe6c94101526b803 to your computer and use it in GitHub Desktop.
neofetch
# Source: Edited from some themes on https://github.com/Chick2D/neofetch-themes/
# Customization Wiki https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
prin "‎ ‎  <pc_name_here>"
info " ​ ​ ${cl5}├─ CPU" cpu
info " ​ ​ ${cl2}├─ GPU" gpu
info " ​ ​ ${cl6}├─ Distro" distro
info " ​ ​ ${cl4}├─ Uptime" uptime
info " ​ ​ ${cl1}├─ WM" wm
info " ​ ​ ${cl7}├─ Shell" shell
info " ​ ​ ${cl3}├─ Packages" packages
prin "‎ $(color 1)  $(color 2) $(color 3) $(color 4) $(color 5) $(color 6) $(color 7) $(color 8)"
info cols
}
kernel_shorthand="on"
distro_shorthand="off"
os_arch="off"
uptime_shorthand="on"
memory_percent="on"
package_managers="on"
shell_path="off"
shell_version="on"
speed_type="bios_limit"
speed_shorthand="on"
cpu_brand="off"
cpu_speed="off"
cpu_cores="logical"
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="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"
battery_display="on"
disk_display="on"
image_backend="ascii"
image_source="<ascii_path>"
image_size="auto"
image_loop="off"
ascii_distro="arch_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"
@soswav
Copy link

soswav commented Jan 2, 2024

really cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment