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
bb6c4d37
Commit
bb6c4d37
authored
May 28, 2017
by
Dylan Araps
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:dylanaraps/neofetch
parents
ece5ccf4
e68fc116
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
4 deletions
+42
-4
CHANGELOG.md
CHANGELOG.md
+8
-0
kslinux
ascii/distro/kslinux
+11
-0
neofetch
neofetch
+23
-4
No files found.
CHANGELOG.md
View file @
bb6c4d37
...
...
@@ -6,18 +6,22 @@
-
**[@mstraube](https://github.com/mstraube)**
-
**[@Artoriuz](https://github.com/Artoriuz)**
-
**[@WilsonRU](https://github.com/WilsonRU)**
-
**[@Takeya-Yuki](https://github.com/Takeya-Yuki)**
-
**[@LER0ever](https://github.com/LER0ever)**
## Operating System
-
Added support for Arch XFerience.
**[@mstraube](https://github.com/mstraube)**
-
Added support for Maui.
**[@mstraube](https://github.com/mstraube)**
-
Added support for KS Linux.
**[@Takeya-Yuki](https://github.com/Takeya-Yuki)**
## General
-
Minimum required BASH version is now 3.2.
-
(Neofetch has always used 3.2+ features, I've just made it obvious now in the documentation.)
-
Fixed config file not being created.
## Images
...
...
@@ -50,3 +54,7 @@
**Song**
-
Do not detect ibus
\*
or indicator
\*
as player.
**[@dawidd6](https://github.com/dawidd6)**
**Model**
-
Specify when running on a Hackintosh.
**[@LER0ever](https://github.com/LER0ever)**
ascii/distro/kslinux
0 → 100644
View file @
bb6c4d37
${c1} K K U U RRRR ooo
K K U U R R o o
KKK U U RRRR o o
K K U U R R o o
K K UUU R R ooo
${c2} SSS AAA W W AAA
S A A W W A A
SSS AAAAA W W W AAAAA
S A A WW WW A A
SSS A A W W A A
neofetch
View file @
bb6c4d37
...
...
@@ -91,7 +91,10 @@ get_distro() {
distro
=
"
$(
lsb_release
$lsb_flags
)
"
elif
type
-p
guix
>
/dev/null
;
then
distro
=
"GuixSD"
case
"
$distro_shorthand
"
in
"on"
|
"tiny"
)
distro
=
"GuixSD"
;;
*
)
distro
=
"GuixSD
$(
guix system
-V
|
awk
'NR==1{printf $5}'
)
"
esac
elif
type
-p
crux
>
/dev/null
;
then
distro
=
"
$(
crux
)
"
...
...
@@ -103,6 +106,9 @@ get_distro() {
elif
type
-p
tazpkg
>
/dev/null
;
then
distro
=
"SliTaz
$(
< /etc/slitaz-release
)
"
elif
type
-p
kpm
>
/dev/null
;
then
distro
=
"KSLinux"
elif
[[
-d
"/system/app/"
&&
-d
"/system/priv-app"
]]
;
then
distro
=
"Android
$(
getprop ro.build.version.release
)
"
...
...
@@ -236,7 +242,13 @@ get_model() {
fi
;;
"Mac OS X"
)
model
=
"
$(
sysctl
-n
hw.model
)
"
;;
"Mac OS X"
)
if
[[
"
$(
kextstat |
grep
"FakeSMC"
)
"
]]
;
then
model
=
"Hackintosh (SMBIOS:
$(
sysctl
-n
hw.model
)
)"
else
model
=
"
$(
sysctl
-n
hw.model
)
"
fi
;;
"iPhone OS"
)
case
"
$machine_arch
"
in
"iPad1,1"
)
model
=
"iPad"
;;
...
...
@@ -257,7 +269,7 @@ get_model() {
"iPhone2,1"
)
model
=
"iPhone 3GS"
;;
"iPhone3,"
[
1-3]
)
model
=
"iPhone 4"
;;
"iPhone4,1"
)
model
=
"iPhone 4S"
;;
"iPhone5,"
[
1-2]
)
model
=
"iPhone
4
"
;;
"iPhone5,"
[
1-2]
)
model
=
"iPhone
5
"
;;
"iPhone5,"
[
3-4]
)
model
=
"iPhone 5c"
;;
"iPhone6,"
[
1-2]
)
model
=
"iPhone 5s"
;;
"iPhone7,2"
)
model
=
"iPhone 6"
;;
...
...
@@ -435,6 +447,9 @@ get_packages() {
type
-p
dpkg
>
/dev/null
&&
\
packages
=
"
$((
packages+
=
$(
dpkg
--get-selections
|
grep
-cv
deinstall
$)
)
)
"
type -p kpm >/dev/null &&
\
packages="
$((
packages+
=
$(
kpm
--get-selections
|
grep
-cv
deinstall
$)
)
)
"
type -p pkgtool >/dev/null &&
\
packages="
$((
packages+
=
$(
ls
-1
/var/log/packages |
wc
-l
)))
"
...
...
@@ -1634,7 +1649,6 @@ get_term() {
while [[ -z "
$term
" ]]; do
parent="
$(
get_ppid
"
$parent
"
)
"
name="
$(
get_process_name
"
$parent
"
)
"
case "
${
name
//
}
" in
"
${
SHELL
/*\/
}
" | *"
sh
" | "
tmux
"* | "
screen
" | "
su
"*) ;;
"
login
"* | *"
Login
"* | "
init
" | "
(
init
)
") term="
$(
tty
)
" ;;
...
...
@@ -3067,6 +3081,11 @@ get_distro_colors() {
ascii_file="
korora
"
;;
"
KSLinux
"*)
set_colors 4 7 1
ascii_file="
kslinux
"
;;
"
Kubuntu
"*)
set_colors 4 7 1
ascii_file="
kubuntu
"
...
...
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