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
c34759b2
Commit
c34759b2
authored
Aug 04, 2016
by
Dylan Araps
Committed by
GitHub
Aug 04, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #298 from dylanaraps/ascii
Custom ascii art: Use same format as distro ascii
parents
8d65b36e
62e52dd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
neofetch
neofetch
+3
-10
No files found.
neofetch
View file @
c34759b2
...
@@ -2211,18 +2211,11 @@ getascii () {
...
@@ -2211,18 +2211,11 @@ getascii () {
ascii="
$script_dir
/ascii/distro/
${
ascii
/ *
}
"
ascii="
$script_dir
/ascii/distro/
${
ascii
/ *
}
"
fi
fi
# We only use eval in the distro ascii files.
print="
$(
eval printf
"
$(
<
"
$ascii
"
)
"
)
"
else
case "
${
ascii_colors
[0]
}
" in
"
distro
") ascii_color="
$c1
" ;;
*) ascii_color="
\0
33[38
;
5
;
${
ascii_colors
[0]
}
m
" ;;
esac
print="
${
ascii_color
}$(
<
"
$ascii
"
)
"
fi
fi
# Eval colors
print="
$(
eval printf
"
$(
<
"
$ascii
"
)
"
)
"
# Set locale to get correct padding
# Set locale to get correct padding
export LC_ALL="
$SYS_LOCALE
"
export LC_ALL="
$SYS_LOCALE
"
...
...
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