mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
Compare commits
37 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
8dbcbfc03b | ||
|
594e1fa10d | ||
|
a450fc88c5 | ||
|
679aa306fb | ||
|
04420479dc | ||
|
8aab756a15 | ||
|
af6230f0ca | ||
|
7e96b42860 | ||
|
ea44816a3c | ||
|
981b2da634 | ||
|
1b67413d49 | ||
|
c99b864590 | ||
|
b399f49077 | ||
|
defee48d14 | ||
|
4fb30c040a | ||
|
1b356da175 | ||
|
a52115b364 | ||
|
e213ee7e58 | ||
|
ee30f29da9 | ||
|
763f3a9af5 | ||
|
bbb06ad4a9 | ||
|
faae04f0ee | ||
|
186093ddc0 | ||
|
ae2384dca8 | ||
|
9b2796e168 | ||
|
c29ecc3fae | ||
|
6f6b67f387 | ||
|
c47826225e | ||
|
17a56081a5 | ||
|
27258fb93c | ||
|
86711645a0 | ||
|
8a96fd545d | ||
|
6c966b05ae | ||
|
45d632d1f6 | ||
|
cc1be73077 | ||
|
c8a32768b7 | ||
|
acdd6828f8 |
@@ -18,6 +18,6 @@ install:
|
||||
|
||||
script:
|
||||
- time ./neofetch --travis -v
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck -e SC2244 -e SC2243 neofetch; fi
|
||||
# Check for lines longer than 100 chars.
|
||||
- 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.7.
|
||||
.TH NEOFETCH "1" "October 2018" "Neofetch 5.0.1" "User Commands"
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8.
|
||||
.TH NEOFETCH "1" "January 2019" "Neofetch 5.0.1" "User Commands"
|
||||
.SH NAME
|
||||
Neofetch \- A fast, highly customizable system info script
|
||||
.SH SYNOPSIS
|
||||
.B neofetch
|
||||
\fI\,--option "value" --option "value"\/\fR
|
||||
\fI\,func_name --option "value" --option "value"\/\fR
|
||||
.SH DESCRIPTION
|
||||
Neofetch is a CLI system information tool written in BASH. Neofetch
|
||||
displays information about your system next to an image, your OS logo,
|
||||
@@ -14,6 +14,24 @@ NOTE: Every launch flag has a config option.
|
||||
.SH OPTIONS
|
||||
.SS "INFO:"
|
||||
.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
|
||||
Allows you to disable an info line from appearing
|
||||
in the output. 'infoname' is the function name from the
|
||||
@@ -199,10 +217,12 @@ Possible values: 'ascii', 'caca', 'jp2a', 'iterm2', 'off',
|
||||
\fB\-\-source\fR source
|
||||
Which image or ascii file to use.
|
||||
Possible values: 'auto', 'ascii', 'wallpaper', '/path/to/img',
|
||||
\&'/path/to/ascii', '/path/to/dir/'
|
||||
\&'/path/to/ascii', '/path/to/dir/', 'command output' [ascii]
|
||||
.TP
|
||||
\fB\-\-ascii\fR source
|
||||
Shortcut to use 'ascii' backend.
|
||||
.IP
|
||||
NEW: neofetch \fB\-\-ascii\fR "$(fortune | cowsay \fB\-W\fR 30)"
|
||||
.TP
|
||||
\fB\-\-caca\fR source
|
||||
Shortcut to use 'caca' backend.
|
||||
|
Reference in New Issue
Block a user