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
696fc036
Commit
696fc036
authored
Dec 12, 2016
by
Dylan Araps
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:dylanaraps/neofetch
parents
64f5f6bb
8a5250e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
CHANGELOG.md
CHANGELOG.md
+4
-0
neofetch
neofetch
+1
-2
No files found.
CHANGELOG.md
View file @
696fc036
## Contributors
## Contributors
-
**[@konimex](https://github.com/konimex)**
## IRC
## IRC
...
@@ -24,6 +25,9 @@ Neofetch now has an irc channel at `##neofetch` on Freenode. If you have any que
...
@@ -24,6 +25,9 @@ Neofetch now has an irc channel at `##neofetch` on Freenode. If you have any que
-
Warn the user if
`df`
isn't installed.
-
Warn the user if
`df`
isn't installed.
-
Fixed broken output if
`df`
wasn't installed but the function was enabled.
-
Fixed broken output if
`df`
wasn't installed but the function was enabled.
**Color Blocks**
<br
\>
-
Use start++ instead of adding it manually after case.
**[@konimex](https://github.com/konimex)**
## Images
## Images
...
...
neofetch
View file @
696fc036
...
@@ -1859,13 +1859,12 @@ get_cols() {
...
@@ -1859,13 +1859,12 @@ get_cols() {
block_width="
${
block_width
// /█
}
"
block_width="
${
block_width
// /█
}
"
# Generate the string.
# Generate the string.
for ((start; start<=end;
i
++)); do
for ((start; start<=end;
start
++)); do
case "
$start
" in
case "
$start
" in
[0-6]) blocks+="
${
reset
}
\0
33[3
${
start
}
m
\0
33[4
${
start
}
m
${
block_width
}
" ;;
[0-6]) blocks+="
${
reset
}
\0
33[3
${
start
}
m
\0
33[4
${
start
}
m
${
block_width
}
" ;;
7) blocks+="
${
reset
}
\0
33[3
${
start
}
m
\0
33[4
${
start
}
m
${
block_width
}
" ;;
7) blocks+="
${
reset
}
\0
33[3
${
start
}
m
\0
33[4
${
start
}
m
${
block_width
}
" ;;
*) blocks2+="
\0
33[38
;
5
;
${
start
}
m
\0
33[48
;
5
;
${
start
}
m
${
block_width
}
" ;;
*) blocks2+="
\0
33[38
;
5
;
${
start
}
m
\0
33[48
;
5
;
${
start
}
m
${
block_width
}
" ;;
esac
esac
start="
$((
start+
=
1
))
"
done
done
# Convert height into spaces.
# Convert height into spaces.
...
...
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