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
43c43985
Commit
43c43985
authored
Aug 14, 2018
by
xynxynxyn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make seperator changeable
parent
78f355ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
neofetch
neofetch
+12
-1
No files found.
neofetch
View file @
43c43985
...
@@ -3876,8 +3876,18 @@ prin() {
...
@@ -3876,8 +3876,18 @@ prin() {
length="${#length}"
length="${#length}"
fi
fi
# Make sure $sep is unset
unset -v sep
# Check if $seperator is set
if [[ $seperator ]]; then
sep=$seperator
else
sep=":"
fi
# Format the output.
# Format the output.
string="${string/:/${reset}${colon_color}
:
${info_color}}"
string="${string/:/${reset}${colon_color}
${sep}
${info_color}}"
string="${subtitle_color}${bold}${string}"
string="${subtitle_color}${bold}${string}"
# Print the info.
# Print the info.
...
@@ -4498,6 +4508,7 @@ get_args() {
...
@@ -4498,6 +4508,7 @@ get_args() {
"--underline") underline_enabled="$2" ;;
"--underline") underline_enabled="$2" ;;
"--underline_char") underline_char="$2" ;;
"--underline_char") underline_char="$2" ;;
"--bold") bold="$2" ;;
"--bold") bold="$2" ;;
"--seperator") seperator="$2" ;;
# Color Blocks
# Color Blocks
"--color_blocks") color_blocks="$2" ;;
"--color_blocks") color_blocks="$2" ;;
...
...
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