Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
93e4f416
Commit
93e4f416
authored
Aug 07, 2017
by
Dylan Araps
Committed by
GitHub
Aug 07, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #797 from dylanaraps/100
cleanup: Enforce a line length of '100'
parents
0dd98bb0
6ba15d6e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
16 deletions
+29
-16
.travis.yml
.travis.yml
+5
-1
neofetch
neofetch
+0
-0
neofetch.1
neofetch.1
+24
-15
No files found.
.travis.yml
View file @
93e4f416
...
@@ -20,4 +20,8 @@ script:
...
@@ -20,4 +20,8 @@ script:
-
time ./neofetch --ascii --config config/travis.conf -v
-
time ./neofetch --ascii --config config/travis.conf -v
# See this wiki page for why we're disabling these errors.
# See this wiki page for why we're disabling these errors.
# https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions
# https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178,SC2010; fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178,SC2010,SC1004; fi
# The if statement is here to invert the exit code from grep.
# grep normally errors if no match is found but we want the opposite.
# We invert it so grep fails if a match is found.
-
if grep '.\{101\}' neofetch; then (exit 1); else (exit 0); fi
neofetch
View file @
93e4f416
This diff is collapsed.
Click to expand it.
neofetch.1
View file @
93e4f416
...
@@ -18,7 +18,7 @@ NOTE: Every launch flag has a config option.
...
@@ -18,7 +18,7 @@ NOTE: Every launch flag has a config option.
Allows you to disable an info line from appearing
Allows you to disable an info line from appearing
in the output.
in the output.
.IP
.IP
NOTE: You can supply multiple args. eg. 'neofetch \fB\-\-disable\fR cpu gpu
disk shell
'
NOTE: You can supply multiple args. eg. 'neofetch \fB\-\-disable\fR cpu gpu'
.TP
.TP
\fB\-\-os_arch\fR on/off
\fB\-\-os_arch\fR on/off
Hide/Show OS architecture.
Hide/Show OS architecture.
...
@@ -32,8 +32,9 @@ NOTE: This only supports Linux with cpufreq.
...
@@ -32,8 +32,9 @@ NOTE: This only supports Linux with cpufreq.
.TP
.TP
\fB\-\-speed_shorthand\fR on/off
\fB\-\-speed_shorthand\fR on/off
Whether or not to show decimals in CPU speed.
Whether or not to show decimals in CPU speed.
.IP
.TP
NOTE: This flag is not supported in systems with CPU speed less than 1 GHz.
NOTE: This flag is not supported in systems with CPU speed less than
1 GHz.
.TP
.TP
\fB\-\-cpu_brand\fR on/off
\fB\-\-cpu_brand\fR on/off
Enable/Disable CPU brand in output.
Enable/Disable CPU brand in output.
...
@@ -51,8 +52,9 @@ Hide/Show cpu speed.
...
@@ -51,8 +52,9 @@ Hide/Show cpu speed.
Hide/Show cpu temperature.
Hide/Show cpu temperature.
.IP
.IP
NOTE: This only works on Linux and BSD.
NOTE: This only works on Linux and BSD.
.IP
.TP
NOTE: For FreeBSD and NetBSD\-based systems, you need to enable coretemp kernel module. This only supports newer Intel processors.
NOTE: For FreeBSD and NetBSD\-based systems, you need to enable
coretemp kernel module. This only supports newer Intel processors.
.TP
.TP
\fB\-\-distro_shorthand\fR on/off
\fB\-\-distro_shorthand\fR on/off
Shorten the output of distro (tiny, on, off)
Shorten the output of distro (tiny, on, off)
...
@@ -182,11 +184,13 @@ Possible values: bar, infobar, barinfo, off
...
@@ -182,11 +184,13 @@ Possible values: bar, infobar, barinfo, off
.TP
.TP
\fB\-\-backend\fR backend
\fB\-\-backend\fR backend
Which image backend to use.
Which image backend to use.
Possible values: 'ascii', 'caca', 'catimg', 'jp2a', 'iterm2', 'off', 'sixel', 'tycat', 'w3m'
Possible values: 'ascii', 'caca', 'catimg', 'jp2a', 'iterm2', 'off',
\&'sixel', 'tycat', 'w3m'
.TP
.TP
\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', '/path/to/ascii', '/path/to/dir/'
Possible values: 'auto', 'ascii', 'wallpaper', '/path/to/img',
\&'/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.
...
@@ -218,7 +222,8 @@ Shortcut to use 'w3m' backend.
...
@@ -218,7 +222,8 @@ Shortcut to use 'w3m' backend.
\fB\-\-off\fR
\fB\-\-off\fR
Shortcut to use 'off' backend.
Shortcut to use 'off' backend.
.IP
.IP
NOTE: 'source; can be any of the following: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
NOTE: 'source; can be any of the following: 'auto', 'ascii', 'wallpaper', '/path/to/img',
\&'/path/to/ascii', '/path/to/dir/'
.SS "ASCII:"
.SS "ASCII:"
.TP
.TP
\fB\-\-ascii_colors\fR x x x x x x
\fB\-\-ascii_colors\fR x x x x x x
...
@@ -232,10 +237,12 @@ NOTE: Arch and Ubuntu have 'old' logo variants.
...
@@ -232,10 +237,12 @@ NOTE: Arch and Ubuntu have 'old' logo variants.
NOTE: Use 'arch_old' or 'ubuntu_old' to use the old logos.
NOTE: Use 'arch_old' or 'ubuntu_old' to use the old logos.
.IP
.IP
NOTE: Ubuntu has flavor variants.
NOTE: Ubuntu has flavor variants.
.IP
.TP
NOTE: Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu\-GNOME', 'Ubuntu\-Studio' or 'Ubuntu\-Budgie' to use the flavors.
NOTE: Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu\-GNOME',
.IP
\&'Ubuntu\-Studio' or 'Ubuntu\-Budgie' to use the flavors.
NOTE: Alpine, Arch, CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, and Void have a smaller logo variant.
.TP
NOTE: Alpine, Arch, CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS,
OpenBSD, and Void have a smaller logo variant.
.IP
.IP
NOTE: Use '{distro name}_small' to use the small variants.
NOTE: Use '{distro name}_small' to use the small variants.
.TP
.TP
...
@@ -249,7 +256,8 @@ Possible values: bar, infobar, barinfo, off
...
@@ -249,7 +256,8 @@ Possible values: bar, infobar, barinfo, off
.SS "IMAGE:"
.SS "IMAGE:"
.TP
.TP
\fB\-\-loop\fR
\fB\-\-loop\fR
Redraw the image constantly until Ctrl+C is used. This fixes issues in some terminals emulators when using image mode.
Redraw the image constantly until Ctrl+C is used. This fixes issues
in some terminals emulators when using image mode.
.TP
.TP
\fB\-\-size\fR 00px | \fB\-\-size\fR 00%
\fB\-\-size\fR 00px | \fB\-\-size\fR 00%
How to size the image.
How to size the image.
...
@@ -278,8 +286,9 @@ This only works with w3m.
...
@@ -278,8 +286,9 @@ This only works with w3m.
.TP
.TP
\fB\-\-gap\fR num
\fB\-\-gap\fR num
Gap between image and text.
Gap between image and text.
.IP
.TP
NOTE: \fB\-\-gap\fR can take a negative value which will move the text closer to the left side.
NOTE: \fB\-\-gap\fR can take a negative value which will move the text
closer to the left side.
.TP
.TP
\fB\-\-clean\fR
\fB\-\-clean\fR
Delete cached files and thumbnails.
Delete cached files and thumbnails.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment