mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 17:09:21 +00:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
a5405baec6 |
@@ -18,6 +18,6 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- time ./neofetch --travis -v
|
- time ./neofetch --travis -v
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck -e SC2244 -e SC2243 neofetch; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch; fi
|
||||||
# Check for lines longer than 100 chars.
|
# Check for lines longer than 100 chars.
|
||||||
- if grep '.\{102\}' neofetch; then (exit 1); else (exit 0); fi
|
- if grep '.\{102\}' neofetch; then (exit 1); else (exit 0); fi
|
||||||
|
28
neofetch.1
28
neofetch.1
@@ -1,10 +1,10 @@
|
|||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.7.
|
||||||
.TH NEOFETCH "1" "January 2019" "Neofetch 5.0.1" "User Commands"
|
.TH NEOFETCH "1" "October 2018" "Neofetch 5.0.1" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
Neofetch \- A fast, highly customizable system info script
|
Neofetch \- A fast, highly customizable system info script
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B neofetch
|
.B neofetch
|
||||||
\fI\,func_name --option "value" --option "value"\/\fR
|
\fI\,--option "value" --option "value"\/\fR
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Neofetch is a CLI system information tool written in BASH. Neofetch
|
Neofetch is a CLI system information tool written in BASH. Neofetch
|
||||||
displays information about your system next to an image, your OS logo,
|
displays information about your system next to an image, your OS logo,
|
||||||
@@ -14,24 +14,6 @@ NOTE: Every launch flag has a config option.
|
|||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.SS "INFO:"
|
.SS "INFO:"
|
||||||
.TP
|
.TP
|
||||||
func_name
|
|
||||||
Specify a function name (second part of info() from config) to
|
|
||||||
quickly display only that function's information.
|
|
||||||
.IP
|
|
||||||
Example: neofetch uptime \fB\-\-uptime_shorthand\fR tiny
|
|
||||||
.IP
|
|
||||||
Example: neofetch uptime disk wm memory
|
|
||||||
.IP
|
|
||||||
This can be used in bars and scripts like so:
|
|
||||||
.IP
|
|
||||||
memory="$(neofetch memory)"; memory="${memory##*: }"
|
|
||||||
.IP
|
|
||||||
For multiple outputs at once (each line of info in an array):
|
|
||||||
.IP
|
|
||||||
IFS=$'\en' read \fB\-d\fR "" \fB\-ra\fR info < <(neofetch memory uptime wm)
|
|
||||||
.IP
|
|
||||||
info=("${info[@]##*: }")
|
|
||||||
.TP
|
|
||||||
\fB\-\-disable\fR infoname
|
\fB\-\-disable\fR infoname
|
||||||
Allows you to disable an info line from appearing
|
Allows you to disable an info line from appearing
|
||||||
in the output. 'infoname' is the function name from the
|
in the output. 'infoname' is the function name from the
|
||||||
@@ -217,12 +199,10 @@ Possible values: 'ascii', 'caca', 'jp2a', 'iterm2', 'off',
|
|||||||
\fB\-\-source\fR source
|
\fB\-\-source\fR source
|
||||||
Which image or ascii file to use.
|
Which image or ascii file to use.
|
||||||
Possible values: 'auto', 'ascii', 'wallpaper', '/path/to/img',
|
Possible values: 'auto', 'ascii', 'wallpaper', '/path/to/img',
|
||||||
\&'/path/to/ascii', '/path/to/dir/', 'command output' [ascii]
|
\&'/path/to/ascii', '/path/to/dir/'
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-ascii\fR source
|
\fB\-\-ascii\fR source
|
||||||
Shortcut to use 'ascii' backend.
|
Shortcut to use 'ascii' backend.
|
||||||
.IP
|
|
||||||
NEW: neofetch \fB\-\-ascii\fR "$(fortune | cowsay \fB\-W\fR 30)"
|
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-caca\fR source
|
\fB\-\-caca\fR source
|
||||||
Shortcut to use 'caca' backend.
|
Shortcut to use 'caca' backend.
|
||||||
|
Reference in New Issue
Block a user