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
040a9648
Commit
040a9648
authored
Nov 05, 2016
by
Dylan Araps
Browse files
Options
Browse Files
Download
Plain Diff
Merge master
parents
16c4a9a8
a14cba70
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
Changelog.md
Changelog.md
+0
-1
neofetch
neofetch
+10
-5
neofetch.1
neofetch.1
+1
-1
No files found.
Changelog.md
View file @
040a9648
...
...
@@ -5,7 +5,6 @@
## Contributors
## Info
**Distro**
<br
\>
...
...
neofetch
View file @
040a9648
...
...
@@ -1455,6 +1455,7 @@ getterm() {
case "
$TERM_PROGRAM
" in
"
iTerm
.app
") term="
iTerm2
" ;;
"
Terminal
.app
") term="
Apple
Terminal
" ;;
"
Hyper
") term="
HyperTerm
" ;;
*) term="
${
TERM_PROGRAM
/\.app
}
" ;;
esac
return
...
...
@@ -1534,6 +1535,10 @@ gettermfont() {
termfont="
${
termfont
/.pcf
}
"
termfont="
${
termfont
/
:
*
}
"
;;
"
Hyper
"*)
termfont="
$(
awk
-F
","
'/fontFamily/ {a=$1} END{print a}'
"
${
HOME
}
/.hyper.js"
|
awk
-F
"'"
'{a=$2} END{print a}'
)
"
;;
esac
[ "
$version
" -ge 4 ] && termfont="
${
termfont
^
}
"
...
...
@@ -2302,15 +2307,15 @@ info() {
eval output="\$${2}"
fi
# Trim whitespace
output="$(trim "$output")"
# If the output is empty, don'
t print anything
if
[
-z
"
$output
"
]
;
then
err
"Info: Couldn't detect
$subtitle
"
return
fi
# Trim whitespace
output
=
"
$(
trim
"
$output
"
)
"
case
"
$1
"
in
title
)
string
=
"
${
title_color
}${
bold
}${
output
}
"
...
...
@@ -2631,7 +2636,7 @@ bold() {
# Linebreak {{{
getlinebreak
()
{
linebreak
=
" "
linebreak
=
"
"
# Calculate info height
info_height
=
"
$((
info_height+
=
1
))
"
...
...
@@ -3189,7 +3194,7 @@ getargs() {
-v
)
verbose
=
"on"
;;
-vv
)
set
-x
;
verbose
=
"on"
;;
--help
)
usage
;;
--version
)
printf
"%s
\n
"
"Neofetch
2.0
"
;
exit
;;
--version
)
printf
"%s
\n
"
"Neofetch
1.9.1
"
;
exit
;;
esac
shift
...
...
neofetch.1
View file @
040a9648
.TH NEOFETCH "1" "
June 2016" "2.0
" "User Commands"
.TH NEOFETCH "1" "
November 2016" "1.9.1
" "User Commands"
.SH NAME
neofetch \- simple system information script
...
...
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