mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-26 02:25:01 +00:00
general: Remove old files
This commit is contained in:
57
neofetch
57
neofetch
@@ -3460,6 +3460,8 @@ get_ascii() {
|
||||
# Fallback to distro ascii mode if source is an image.
|
||||
[[ "$image_source" =~ \.(png|jpg|jpe|jpeg|gif)$ ]] && \
|
||||
err "Image: Source is image file but ascii backend was selected. Using distro ascii."
|
||||
else
|
||||
ascii_data="$(< "$image_source")"
|
||||
fi
|
||||
|
||||
# Set locale to get correct padding.
|
||||
@@ -8557,6 +8559,61 @@ get_args() {
|
||||
-N ./neofetch -o neofetch.1
|
||||
exit 1
|
||||
;;
|
||||
|
||||
"--travis")
|
||||
print_info() {
|
||||
info title
|
||||
info underline
|
||||
|
||||
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 "GPU Driver" gpu_driver
|
||||
info "Memory" memory
|
||||
|
||||
info "CPU Usage" cpu_usage
|
||||
info "Disk" disk
|
||||
info "Battery" battery
|
||||
info "Font" font
|
||||
info "Song" song
|
||||
info "Local IP" local_ip
|
||||
info "Public IP" public_ip
|
||||
info "Users" users
|
||||
info "Install Date" install_date
|
||||
|
||||
info line_break
|
||||
info cols
|
||||
info line_break
|
||||
|
||||
# Testing.
|
||||
prin "prin"
|
||||
prin "prin" "prin"
|
||||
|
||||
# Testing no subtitles.
|
||||
info uptime
|
||||
info disk
|
||||
}
|
||||
|
||||
refresh_rate="on"
|
||||
shell_version="on"
|
||||
cpu_display="infobar"
|
||||
memory_display="infobar"
|
||||
disk_display="infobar"
|
||||
cpu_temp="C"
|
||||
;;
|
||||
esac
|
||||
|
||||
shift
|
||||
|
||||
Reference in New Issue
Block a user