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
6175d1d3
Commit
6175d1d3
authored
Nov 25, 2016
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Args: --disable: Lowercase arguments
parent
d3fa82d4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
neofetch
neofetch
+6
-2
neofetch.1
neofetch.1
+2
-0
No files found.
neofetch
View file @
6175d1d3
...
@@ -2913,6 +2913,7 @@ usage() { printf "%s" "
...
@@ -2913,6 +2913,7 @@ usage() { printf "%s" "
in the output.
in the output.
NOTE: You can supply multiple args. eg.
NOTE: You can supply multiple args. eg.
'neofetch --disable cpu gpu disk shell'
'neofetch --disable cpu gpu disk shell'
NOTE: The arguments must all be lowercase.
--os_arch on/off Hide/Show OS architecture.
--os_arch on/off Hide/Show OS architecture.
--speed_type type Change the type of cpu speed to display.
--speed_type type Change the type of cpu speed to display.
Possible values: current, min, max, bios,
Possible values: current, min, max, bios,
...
@@ -2948,7 +2949,7 @@ usage() { printf "%s" "
...
@@ -2948,7 +2949,7 @@ usage() { printf "%s" "
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
--underline on/off
enable/d
isable the underline.
--underline on/off
Enable/D
isable the underline.
--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
...
@@ -3068,7 +3069,10 @@ get_args() {
...
@@ -3068,7 +3069,10 @@ get_args() {
case
"
$func
"
in
case
"
$func
"
in
"--disable"
)
continue
;;
"--disable"
)
continue
;;
"-"
*
)
break
;;
"-"
*
)
break
;;
*
)
unset
-f
"get_
$func
"
;;
*
)
((
"
$bash_version
"
>=
4
))
&&
func
=
"
${
func
,,
}
"
unset
-f
"get_
$func
"
;;
esac
esac
done
done
;;
;;
...
...
neofetch.1
View file @
6175d1d3
...
@@ -18,6 +18,8 @@ Allows you to disable an info line from appearing in the output.
...
@@ -18,6 +18,8 @@ Allows you to disable an info line from appearing in the output.
NOTE: You can supply multiple args. eg.
NOTE: You can supply multiple args. eg.
.br
.br
\'neofetch --disable cpu gpu disk shell\'
\'neofetch --disable cpu gpu disk shell\'
.br
NOTE: The arguments must all be lowercase.
.TP
.TP
.B \--os_arch 'on/off'
.B \--os_arch 'on/off'
Hide/Show OS architecture.
Hide/Show OS architecture.
...
...
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