update neofetch
No files matched your search
@@ -1,5 +1,6 @@
|
||||
# #! /bin/bash
|
||||
|
||||
|
||||
#----- Optimized bars animation without much CPU usage increase --------
|
||||
bar="▁▂▃▄▅▆▇█"
|
||||
dict="s/;//g"
|
||||
@@ -25,5 +26,8 @@ data_format = ascii
|
||||
ascii_max_range = 7
|
||||
EOF
|
||||
|
||||
# Kill cava if it's already running
|
||||
pkill -f "cava -p $config_file"
|
||||
|
||||
# Read stdout from cava and perform substitution in a single sed command
|
||||
cava -p "$config_file" | sed -u "$dict"
|
||||
@@ -1,51 +1,88 @@
|
||||
# See this wiki page for more info:
|
||||
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
|
||||
print_info() {
|
||||
prin
|
||||
prin "${cl5}---------------->👹うちはの幽霊<---------------"
|
||||
prin "$(color 17)╔═════════════════════════════════════════════╗"
|
||||
# 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
|
||||
|
||||
prin " $(color 6) コンピューター"
|
||||
prin "$(color 16)┌──────────────────────────────────────────┐"
|
||||
|
||||
info " $(color 1) OS " distro
|
||||
# info " $(color 1) Host " model
|
||||
info " $(color 1) Kernel " kernel
|
||||
# info " $(color 1) Uptime " uptime
|
||||
info " $(color 2) Packages " packages
|
||||
# info " $(color 2) Shell " shell
|
||||
info " $(color 2) Resolution " resolution
|
||||
info " $(color 3) DE " de
|
||||
# info " $(color 3) 缾WM " wm
|
||||
# info " $(color 12) WM Theme " wm_theme
|
||||
# info "$(color 13) Theme " theme
|
||||
# info "$(color 14) Icons " icons
|
||||
info " $(color 3) Terminal " term
|
||||
# info " Font " font
|
||||
# info " Terminal Font " term_font
|
||||
|
||||
prin "$(color 16)└──────────────────────────────────────────┘"
|
||||
prin " "
|
||||
info " $(color 6) " title
|
||||
prin "$(color 16)┌──────────────────────────────────────────┐"
|
||||
|
||||
info " $(color 12) CPU " cpu
|
||||
info " $(color 12) GPU " gpu
|
||||
info " $(color 13) GPU Driver " gpu_driver # Linux/macOS only
|
||||
info " $(color 13) Memory " memory
|
||||
|
||||
# info "CPU Usage" cpu_usage
|
||||
# info "Disk" disk
|
||||
# info "Battery" battery
|
||||
# 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.
|
||||
|
||||
prin "$(color 16)└──────────────────────────────────────────┘"
|
||||
prin " "
|
||||
prin " $(color 1) $(color 2) $(color 3) $(color 4) $(color 5) $(color 6) $(color 7) $(color 8) $(color 16)"
|
||||
|
||||
# # info " GPU Driver" gpu_driver # Linux/macOS only
|
||||
# # info " CPU Usage" cpu_usage
|
||||
# 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 "${cl2} ╭─" distro
|
||||
info "${cl2} ├─" kernel
|
||||
#info "${cl2} ├─" users
|
||||
info "${cl2} ├─" packages
|
||||
#info "${cl2} ├─" shell
|
||||
info "${cl2} ╰─" uptime
|
||||
prin "$(color 12)┣━━━━━━━━━━━\n Hardware Information \n━━━━━━━━━━━┫"
|
||||
info "${cl4} ╭─" model
|
||||
info "${cl4} ├─" cpu
|
||||
#info "${cl4} ├─" cpu_usage
|
||||
#info "${cl4} ├─" gpu_driver
|
||||
info "${cl4} ├─" gpu_driver
|
||||
info "${cl4} ├─" resolution
|
||||
# info "${cl4} ├─" battery
|
||||
# info "${cl4} ├─" disk
|
||||
info "${cl4} ╰─" memory
|
||||
prin "$(color 12)┣━━━━━━━━━━━\n Wayland Information \n━━━━━━━━━━━━┫"
|
||||
info "${cl6} ╭─" de
|
||||
#info "${cl6} ├─" wm
|
||||
info "${cl6} ├─" term
|
||||
info "${cl6} ├─" icons
|
||||
info "${cl6} ├─" font
|
||||
# info "${cl6} ├─" term_font
|
||||
info "${cl6} ╰─" theme
|
||||
prin "$(color 17)╚════════════════════════════════════════════╝"
|
||||
prin " \n \n ${cl3} \n \n ${cl4} \n \n ${cl2} \n \n ${cl6} \n \n ${cl5} \n \n ${cl1} \n \n ${cl7} \n \n ${cl0} \n \n ${cl2} \n \n ${cl5} \n \n ${cl2} \n \n ${cl7} \n"
|
||||
}
|
||||
# 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}"
|
||||
|
||||
# Title
|
||||
|
||||
@@ -138,7 +175,7 @@ memory_percent="off"
|
||||
# kib '1020928KiB / 7117824KiB'
|
||||
# mib '1042MiB / 6951MiB'
|
||||
# gib: ' 0.98GiB / 6.79GiB'
|
||||
memory_unit="mib"
|
||||
memory_unit="gib"
|
||||
|
||||
|
||||
# Packages
|
||||
@@ -205,7 +242,7 @@ speed_type="bios_limit"
|
||||
# Example:
|
||||
# on: 'i7-6500U (4) @ 3.1GHz'
|
||||
# off: 'i7-6500U (4) @ 3.100GHz'
|
||||
speed_shorthand="off"
|
||||
speed_shorthand="on"
|
||||
|
||||
# Enable/Disable CPU brand in output.
|
||||
#
|
||||
@@ -216,7 +253,7 @@ speed_shorthand="off"
|
||||
# Example:
|
||||
# on: 'Intel i7-6500U'
|
||||
# off: 'i7-6500U (4)'
|
||||
cpu_brand="on"
|
||||
cpu_brand="off"
|
||||
|
||||
# CPU Speed
|
||||
# Hide/Show CPU speed.
|
||||
@@ -259,7 +296,7 @@ cpu_cores="logical"
|
||||
# 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"
|
||||
cpu_temp="C"
|
||||
|
||||
|
||||
# GPU
|
||||
@@ -274,7 +311,7 @@ cpu_temp="off"
|
||||
# Example:
|
||||
# on: 'AMD HD 7950'
|
||||
# off: 'HD 7950'
|
||||
gpu_brand="on"
|
||||
gpu_brand="off"
|
||||
|
||||
# Which GPU to display
|
||||
#
|
||||
@@ -293,7 +330,7 @@ gpu_brand="on"
|
||||
#
|
||||
# integrated:
|
||||
# GPU1: Intel Integrated Graphics
|
||||
gpu_type="all"
|
||||
gpu_type="dedicated"
|
||||
|
||||
|
||||
# Resolution
|
||||
@@ -421,7 +458,7 @@ disk_show=('/')
|
||||
# none: 'Disk: 74G / 118G (66%)'
|
||||
# 'Disk: 74G / 118G (66%)'
|
||||
# 'Disk: 74G / 118G (66%)'
|
||||
disk_subtitle="mount"
|
||||
disk_subtitle="none"
|
||||
|
||||
# Disk percent.
|
||||
# Show/Hide disk percent.
|
||||
@@ -573,7 +610,7 @@ underline_char="-"
|
||||
# Example:
|
||||
# separator="->": 'Shell-> bash'
|
||||
# separator=" =": 'WM = dwm'
|
||||
separator=":"
|
||||
separator=" "
|
||||
|
||||
|
||||
# Color Blocks
|
||||
@@ -718,7 +755,7 @@ image_backend="kitty"
|
||||
# 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="$HOME/.config/neofetch/hack.png"
|
||||
image_source=$(find "${XDG_CONFIG_HOME:-$HOME/.config}/neofetch/waifu/" -name "*.png" | sort -R | head -1)
|
||||
|
||||
|
||||
# Ascii Options
|
||||
@@ -781,7 +818,7 @@ ascii_distro="auto"
|
||||
# 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)
|
||||
ascii_colors=(1 2 3 4 5 6)
|
||||
|
||||
# Bold ascii logo
|
||||
# Whether or not to bold the ascii logo.
|
||||
@@ -827,7 +864,7 @@ crop_mode="normal"
|
||||
# Values: 'northwest', 'north', 'northeast', 'west', 'center'
|
||||
# 'east', 'southwest', 'south', 'southeast'
|
||||
# Flag: --crop_offset
|
||||
crop_offset="northwest"
|
||||
crop_offset="north"
|
||||
|
||||
# Image size
|
||||
# The image is half the terminal width by default.
|
||||
@@ -836,14 +873,14 @@ crop_offset="northwest"
|
||||
# Values: 'auto', '00px', '00%', 'none'
|
||||
# Flags: --image_size
|
||||
# --size
|
||||
image_size="250px"
|
||||
image_size="350px"
|
||||
|
||||
# Gap between image and text
|
||||
#
|
||||
# Default: '3'
|
||||
# Values: 'num', '-num'
|
||||
# Flag: --gap
|
||||
gap=8
|
||||
gap=5
|
||||
|
||||
# Image offsets
|
||||
# Only works with the w3m backend.
|
||||
|
||||
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 883 KiB |
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 899 KiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 888 KiB |
|
After Width: | Height: | Size: 447 KiB |
|
After Width: | Height: | Size: 687 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 833 KiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 732 KiB |
|
After Width: | Height: | Size: 990 KiB |
|
After Width: | Height: | Size: 522 KiB |
|
After Width: | Height: | Size: 883 KiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 779 KiB |
|
After Width: | Height: | Size: 592 KiB |
|
After Width: | Height: | Size: 671 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 625 KiB |
|
Before Width: | Height: | Size: 529 KiB After Width: | Height: | Size: 529 KiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 260 KiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 434 KiB |