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