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
9d1222cb
Unverified
Commit
9d1222cb
authored
Oct 19, 2018
by
Dylan Araps
Committed by
GitHub
Oct 19, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1070 from xynxynxyn/master
Modifiable info separator
parents
afc29ac4
fc12e550
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
neofetch
neofetch
+20
-1
No files found.
neofetch
View file @
9d1222cb
...
...
@@ -482,6 +482,22 @@ song_shorthand="off"
mpc_args=()
# Separator
# Modify separator
#
# Default: ':'
# Flag: --separator
#
# Replace the default separator with the specified string.
#
# Example:
# separator="->": 'Shell-> bash'
# separator=" =": 'WM = dwm'
separator=":"
# Text Colors
...
...
@@ -3891,7 +3907,7 @@ prin() {
fi
# Format the output.
string="${string/:/${reset}${colon_color}
:
${info_color}}"
string="${string/:/${reset}${colon_color}
${separator:=:}
${info_color}}"
string="${subtitle_color}${bold}${string}"
# Print the info.
...
...
@@ -4321,6 +4337,8 @@ INFO:
--music_player player-name Manually specify a player to use.
Available values are listed in the config file
--separator string Changes the default ':' separator to the specified string.
TEXT FORMATTING:
--colors x x x x x x Changes the text colors in this order:
title, @, underline, subtitle, colon, info
...
...
@@ -4512,6 +4530,7 @@ get_args() {
"--underline") underline_enabled="$2" ;;
"--underline_char") underline_char="$2" ;;
"--bold") bold="$2" ;;
"--separator") separator="$2" ;;
# Color Blocks
"--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