diff --git a/neofetch b/neofetch index 48b96d21..d968b69f 100755 --- a/neofetch +++ b/neofetch @@ -896,6 +896,13 @@ image_size="auto" # Flags: --catimg_size catimg_size="2" +# Termpix uses true colors? +# Apply termpix's --true-color flag. +# +# Default: '' +# Flag: --true-color +true_color= + # Gap between image and text # # Default: '3' @@ -4503,6 +4510,7 @@ display_image() { termpix \ --width "$((width / font_width))" \ --height "$((height / font_height))" \ + $true_color \ "$image" ;; @@ -5214,6 +5222,7 @@ IMAGE: closer to the left side. --clean Delete cached files and thumbnails. + --true-color Use termpix --true-color flag. OTHER: --config /path/to/config Specify a path to a custom config file @@ -5373,6 +5382,7 @@ get_args() { "--catimg_size") catimg_size="$2" ;; "--crop_mode") crop_mode="$2" ;; "--crop_offset") crop_offset="$2" ;; + "--true-color") true_color="--true-color" ;; "--xoffset") xoffset="$2" ;; "--yoffset") yoffset="$2" ;; "--background_color" | "--bg_color") background_color="$2" ;; diff --git a/neofetch.1 b/neofetch.1 index b90b5781..67f140af 100644 --- a/neofetch.1 +++ b/neofetch.1 @@ -1,5 +1,5 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.3. -.TH NEOFETCH "1" "April 2021" "Neofetch 7.1.0" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. +.TH NEOFETCH "1" "October 2023" "Neofetch 7.1.0" "User Commands" .SH NAME Neofetch \- A fast, highly customizable system info script .SH SYNOPSIS @@ -395,6 +395,9 @@ closer to the left side. .TP \fB\-\-clean\fR Delete cached files and thumbnails. +.TP +\fB\-\-true\-color\fR +Use termpix \fB\-\-true\-color\fR flag. .SS "OTHER:" .TP \fB\-\-config\fR \fI\,/path/to/config\/\fP