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
f7614f57
Commit
f7614f57
authored
Mar 10, 2017
by
Herdiansyah
Committed by
GitHub
Mar 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #675 from nilesr/master
SliTaz support added
parents
9b0c8fff
ce7ef193
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
slitaz
ascii/distro/slitaz
+17
-0
neofetch
neofetch
+11
-0
No files found.
ascii/distro/slitaz
0 → 100644
View file @
f7614f57
${c1} @ @( @
@@ @@ @ @/
@@ @@ @@ @@
@@ %@@ @@ @@
@@ %@@@ @@@@@. @@@@ @@
@@@ @@@@ @@@@@@@ &@@@ @@@
@@@@@@@ %@@@@@@@@@@@@ &@@@% @@@@@@@/
,@@@@@@@@@@@@@@@@@@@@@@@@@
.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/
@@@@@@. @@@@@@@@@@@@@@@@@@@@@ /@@@@@@
@@ @@@@@ @@@@@@@@@@@@, @@@@@ @@@
@@ @@@@. @@@@@@@@@@@@@% #@@@@ @@.
@@ ,@@ @@@@@@@@@@@@@ @@@ @@
@ @@. @@@@@@@@@@@@@ @@@ *@
@ @@ @@@@@@@@@@@@ @@ @
@ @@@@@@@@@. #@
@ ,@@@@@ @
neofetch
View file @
f7614f57
...
...
@@ -93,6 +93,9 @@ get_distro() {
"tiny"
)
distro
=
"
${
distro
//version*
}
"
;;
esac
elif
type
-p
tazpkg
>
/dev/null
;
then
distro
=
"SliTaz
$(
< /etc/slitaz-release
)
"
elif
[[
-d
"/system/app/"
&&
-d
"/system/priv-app"
]]
;
then
distro
=
"Android
$(
getprop ro.build.version.release
)
"
...
...
@@ -476,6 +479,9 @@ get_packages() {
type -p crew >/dev/null &&
\
packages="
$((
packages+
=
$(
ls
-l
/usr/local/etc/crew/meta/
*
.filelist |
wc
-l
)))
"
type -p tazpkg >/dev/null &&
\
packages="
$((
packages+
=
$(
tazpkg list |
wc
-l
)
-
6
))
"
if type -p pkg >/dev/null; then
case "
$kernel_name
" in
"
FreeBSD
") packages="
$((
packages+
=
$(
pkg info |
wc
-l
)))
" ;;
...
...
@@ -3150,6 +3156,11 @@ get_distro_colors() {
ascii_file="
slackware
"
;;
"
SliTaz
"*)
set_colors 3 3
ascii_file="
slitaz
"
;;
"
SmartOS
"*)
set_colors 6 7
ascii_file="
smartos
"
...
...
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