Archived
0
0
Fork 0

beautify neofetch

This commit is contained in:
Daryl Ronningen 2022-08-01 21:45:00 -07:00
parent 58794067e8
commit d45e455960
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B

View file

@ -1,39 +1,50 @@
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
info title
info underline
prin "┌────────────────────────────── OS Info ──────────────────────────────┐"
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
info "Network" network
info "  OS" distro
info "  Kernel" kernel
info "  Uptime" uptime
info "  User" users
prin "  Hostname" "$(hostname)"
info "GPU Driver" gpu_driver # Linux/macOS only
info "Disk" disk
# info "Battery" battery
# info "Power Adapter" power_adapter # macOS only
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.
prin "├─────────────────────────── Hardware Info ───────────────────────────┤"
info " ﲾ Mainboard Model" model
info "  CPU" cpu
info "  GPU" gpu
info "  Memory" memory
info "  Disk" disk
info "  Resolution" resolution
info "  Network" network
prin "├─────────────────────────── Software Info ───────────────────────────┤"
info "  Desktop Environment" de
info "  Window Manager" wm
info "  Packages" packages
info "  Shell" shell
info "  Terminal" term
info "  GPU Driver" gpu_driver
info " 直Local IP" local_ip
info "  Locale" locale
prin "  Editor" "$(echo $EDITOR)"
prin "├─────────────────────────────── Theme ───────────────────────────────┤"
info "  Font" font
info "  Terminal Font" term_font
info " 嗀Theme" theme
info " 嗀WM Theme" wm_theme
info "  Icons" icons
prin "├─────────────────────────────── Media ───────────────────────────────┤"
info "  Media" song
[[ "$player" ]] && prin " 阮Media Player" "$player"
prin "└─────────────────────────────────────────────────────────────────────┘"
info cols
}