Remove whitespace

This commit is contained in:
Dylan Araps 2016-08-13 21:39:36 +10:00
parent 66749c58ab
commit f388c222c5

View file

@ -120,7 +120,6 @@ getdistro() {
distro="${distro/ ${osx_build}}"
}
# }}}
# Title {{{
@ -745,7 +744,6 @@ getcpu() {
;;
esac
# Remove uneeded patterns from cpu output
# This is faster than sed/gsub
cpu="${cpu//(tm)}"
@ -984,7 +982,6 @@ getgpu() {
esac
;;
"Windows")
gpu="$(wmic path Win32_VideoController get caption /value)"
gpu="${gpu/Caption'='}"
@ -1883,7 +1880,6 @@ getascii() {
export LC_ALL=C
}
# }}}
# Image {{{
@ -2461,7 +2457,6 @@ color() {
esac
}
# }}}
# Bold {{{
@ -2611,7 +2606,6 @@ esac
getdefaultconfig 2>/dev/null
[ "${config:-on}" == "on" ] && getuserconfig 2>/dev/null
# }}}
# Progress bars {{{
@ -2731,7 +2725,6 @@ usage() { cat << EOF
--birthday_time on/off Enable/Disable showing the time in birthday output
--birthday_format format Format the birthday output. (Uses 'date' cmd format)
Text Formatting:
--colors x x x x x x Changes the text colors in this order:
title, @, underline, subtitle, colon, info
@ -2739,14 +2732,12 @@ usage() { cat << EOF
--underline_char char Character to use when underlining title
--bold on/off Enable/Disable bold text
Color Blocks:
--color_blocks on/off Enable/Disable the color blocks
--block_width num Width of color blocks in spaces
--block_height num Height of color blocks in lines
--block_range start end Range of colors to print as blocks
Progress Bars:
--progress_char 'elapsed char' 'total char'
Characters to use when drawing progress bars.
@ -2763,7 +2754,6 @@ usage() { cat << EOF
--disk_display mode Progress bar mode.
Takes: bar, infobar, barinfo, off
Image:
--image type Image source. Where and what image we display.
Possible values: wall, ascii,
@ -2785,7 +2775,6 @@ usage() { cat << EOF
move the text closer to the left side.
--clean Remove all cropped images
Ascii:
--ascii value Where to get the ascii from, Possible values:
distro, /path/to/ascii
@ -2795,20 +2784,17 @@ usage() { cat << EOF
Supported distros: Arch, Gentoo, Crux, OpenBSD.
--ascii_bold on/off Whether or not to bold the ascii logo.
Stdout:
--stdout info info Launch neofetch in stdout mode which prints the info
in a plain-text format that you can use with
lemonbar etc.
--stdout_separator string String to use as a separator in stdout mode.
Screenshot:
--scrot /path/to/img Take a screenshot, if path is left empty the screen-
shot function will use \$scrot_dir and \$scrot_name.
--scrot_cmd cmd Screenshot program to launch
Other:
--config /path/to/config Specify a path to a custom config file
--config none Launch the script without a config file