Merge branch 'master' into image-rewrite

This commit is contained in:
Dylan Araps 2017-01-15 12:21:39 +11:00 committed by GitHub
commit dc49225b00
3 changed files with 26 additions and 15 deletions

View File

@ -701,3 +701,13 @@ scrot_name="neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png"
# NOTE: If you'd like another image host to be added to Neofetch. # NOTE: If you'd like another image host to be added to Neofetch.
# Open an issue on github. # Open an issue on github.
image_host="teknik" image_host="teknik"
# Misc Options
# Config version.
#
# NOTE: Don't change this value, neofetch reads this to determine
# how to handle backwards compatibility.
config_version="2.1.0"

View File

@ -294,6 +294,7 @@ get_model() {
model="${model//Undefined}" model="${model//Undefined}"
model="${model//Default string}" model="${model//Default string}"
model="${model//Not Specified}" model="${model//Not Specified}"
model="${model//Type1ProductConfigId}"
} }
get_title() { get_title() {
@ -3632,7 +3633,7 @@ INFO:
--cpu_shorthand type Shorten the output of CPU --cpu_shorthand type Shorten the output of CPU
Possible values: name, speed, tiny, on, off Possible values: name, speed, tiny, on, off
--cpu_cores type Whether or not to display the number of CPU cores --cpu_cores type Whether or not to display the number of CPU cores
Takes: logical, physical, off Possible values: logical, physical, off
NOTE: 'physical' doesn't work on BSD. NOTE: 'physical' doesn't work on BSD.
@ -3665,7 +3666,7 @@ INFO:
--shell_path on/off Enable/Disable showing \$SHELL path --shell_path on/off Enable/Disable showing \$SHELL path
--shell_version on/off Enable/Disable showing \$SHELL version --shell_version on/off Enable/Disable showing \$SHELL version
--disk_show value Which disks to display. --disk_show value Which disks to display.
Takes: '/', '/dev/sdXX', '/path/to/mount point' Possible values: '/', '/dev/sdXX', '/path/to/mount point'
NOTE: Multiple values can be given. (--disk_show '/' '/dev/sdc1') NOTE: Multiple values can be given. (--disk_show '/' '/dev/sdc1')
@ -3702,13 +3703,13 @@ BARS:
--bar_colors num num Colors to make the bar. --bar_colors num num Colors to make the bar.
Set in this order: elapsed, total Set in this order: elapsed, total
--cpu_display mode Bar mode. --cpu_display mode Bar mode.
Takes: bar, infobar, barinfo, off Possible values: bar, infobar, barinfo, off
--memory_display mode Bar mode. --memory_display mode Bar mode.
Takes: bar, infobar, barinfo, off Possible values: bar, infobar, barinfo, off
--battery_display mode Bar mode. --battery_display mode Bar mode.
Takes: bar, infobar, barinfo, off Possible values: bar, infobar, barinfo, off
--disk_display mode Bar mode. --disk_display mode Bar mode.
Takes: bar, infobar, barinfo, off Possible values: bar, infobar, barinfo, off
IMAGE BACKEND: IMAGE BACKEND:
--image_backend backend Which image backend to use. --image_backend backend Which image backend to use.
@ -3769,7 +3770,7 @@ SCREENSHOT:
-s, --scrot /path/to/img Take a screenshot, if path is left empty the screen- -s, --scrot /path/to/img Take a screenshot, if path is left empty the screen-
shot function will use \$scrot_dir and \$scrot_name. shot function will use \$scrot_dir and \$scrot_name.
-su, --upload /path/to/img Same as --scrot but uploads the scrot to a website. -su, --upload /path/to/img Same as --scrot but uploads the scrot to a website.
--image_host Website to upload scrots to. Takes: imgur, teknik --image_host imgur/teknik Website to upload scrots to.
--scrot_cmd cmd Screenshot program to launch --scrot_cmd cmd Screenshot program to launch
OTHER: OTHER:

View File

@ -36,7 +36,7 @@ Possible values: name, speed, tiny, on, off
.TP .TP
\fB\-\-cpu_cores\fR type \fB\-\-cpu_cores\fR type
Whether or not to display the number of CPU cores Whether or not to display the number of CPU cores
Takes: logical, physical, off Possible values: logical, physical, off
.IP .IP
NOTE: 'physical' doesn't work on BSD. NOTE: 'physical' doesn't work on BSD.
.TP .TP
@ -92,7 +92,7 @@ Enable/Disable showing $SHELL version
.TP .TP
\fB\-\-disk_show\fR value \fB\-\-disk_show\fR value
Which disks to display. Which disks to display.
Takes: '/', '/dev/sdXX', '/path/to/mount point' Possible values: '/', '/dev/sdXX', '/path/to/mount point'
.IP .IP
NOTE: Multiple values can be given. (\fB\-\-disk_show\fR '/' '/dev/sdc1') NOTE: Multiple values can be given. (\fB\-\-disk_show\fR '/' '/dev/sdc1')
.TP .TP
@ -158,19 +158,19 @@ Set in this order: elapsed, total
.TP .TP
\fB\-\-cpu_display\fR mode \fB\-\-cpu_display\fR mode
Bar mode. Bar mode.
Takes: bar, infobar, barinfo, off Possible values: bar, infobar, barinfo, off
.TP .TP
\fB\-\-memory_display\fR mode \fB\-\-memory_display\fR mode
Bar mode. Bar mode.
Takes: bar, infobar, barinfo, off Possible values: bar, infobar, barinfo, off
.TP .TP
\fB\-\-battery_display\fR mode \fB\-\-battery_display\fR mode
Bar mode. Bar mode.
Takes: bar, infobar, barinfo, off Possible values: bar, infobar, barinfo, off
.TP .TP
\fB\-\-disk_display\fR mode \fB\-\-disk_display\fR mode
Bar mode. Bar mode.
Takes: bar, infobar, barinfo, off Possible values: bar, infobar, barinfo, off
.SS "IMAGE BACKEND:" .SS "IMAGE BACKEND:"
.TP .TP
\fB\-\-image_backend\fR backend \fB\-\-image_backend\fR backend
@ -270,8 +270,8 @@ Take a screenshot, if path is left empty the screenshot function will use $scrot
\fB\-su\fR, \fB\-\-upload\fR \fI\,/path/to/img\/\fP \fB\-su\fR, \fB\-\-upload\fR \fI\,/path/to/img\/\fP
Same as \fB\-\-scrot\fR but uploads the scrot to a website. Same as \fB\-\-scrot\fR but uploads the scrot to a website.
.TP .TP
\fB\-\-image_host\fR \fB\-\-image_host\fR imgur/teknik
Website to upload scrots to. Takes: imgur, teknik Website to upload scrots to.
.TP .TP
\fB\-\-scrot_cmd\fR cmd \fB\-\-scrot_cmd\fR cmd
Screenshot program to launch Screenshot program to launch