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: # See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info # https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() { print_info() {
info title prin "┌────────────────────────────── OS Info ──────────────────────────────┐"
info underline
info "OS" distro info "  OS" distro
info "Host" model info "  Kernel" kernel
info "Kernel" kernel info "  Uptime" uptime
info "Uptime" uptime info "  User" users
info "Packages" packages prin "  Hostname" "$(hostname)"
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 "GPU Driver" gpu_driver # Linux/macOS only prin "├─────────────────────────── Hardware Info ───────────────────────────┤"
info "Disk" disk
# info "Battery" battery info " ﲾ Mainboard Model" model
# info "Power Adapter" power_adapter # macOS only info "  CPU" cpu
info "Font" font info "  GPU" gpu
info "Song" song info "  Memory" memory
[[ "$player" ]] && prin "Music Player" "$player" info "  Disk" disk
info "Local IP" local_ip info "  Resolution" resolution
# info "Public IP" public_ip info "  Network" network
info "Users" users
info "Locale" locale # This only works on glibc systems. 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 info cols
} }