mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 09:08:38 +00:00
Added support for KaOS
This commit is contained in:
18
ascii/distro/kaos
Normal file
18
ascii/distro/kaos
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
"\
|
||||||
|
${c1} ████████ ████████
|
||||||
|
${c1} ██████ ██████
|
||||||
|
${c1} ████ ████
|
||||||
|
${c1} █ █
|
||||||
|
${c1} █
|
||||||
|
${c1} █ ${c2} ████████ ████████
|
||||||
|
${c1} █ ${c2} ██████ ██████
|
||||||
|
${c1} █ ${c2} ████ ████
|
||||||
|
${c1} █ ${c2} █ █
|
||||||
|
${c1} █ ${c2} █
|
||||||
|
${c1} ${c3}███████ ███████
|
||||||
|
${c1} ${c3} █████ █████${c2} █
|
||||||
|
${c1} █${c3} ███ ███ ${c2} █
|
||||||
|
${c1} █ ${c3} █ ${c2} █
|
||||||
|
${c1} █ ${c3}█ ${c2} █
|
||||||
|
${c1} █ ${c3}█ ${c2} █
|
||||||
|
"
|
9
fetch
9
fetch
@@ -424,8 +424,9 @@ x32="x86"
|
|||||||
case "$os" in
|
case "$os" in
|
||||||
"Linux" )
|
"Linux" )
|
||||||
if type -p lsb_release >/dev/null 2>&1; then
|
if type -p lsb_release >/dev/null 2>&1; then
|
||||||
distro="$(lsb_release -a 2>/dev/null | awk -F':' '/Description/ {printf $2}')"
|
distro="$(lsb_release -d 2>/dev/null | awk -F':' '/Description/ {printf $2}')"
|
||||||
distro=${distro/[[:space:]]}
|
distro=${distro/[[:space:]]}
|
||||||
|
|
||||||
elif type -p crux >/dev/null 2>&1; then
|
elif type -p crux >/dev/null 2>&1; then
|
||||||
distro="CRUX"
|
distro="CRUX"
|
||||||
else
|
else
|
||||||
@@ -1637,6 +1638,12 @@ getascii () {
|
|||||||
c2=$(color 8)
|
c2=$(color 8)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"KaOS"*)
|
||||||
|
c1=$(color 4)
|
||||||
|
c2=$(color 7)
|
||||||
|
c3=$(color 1)
|
||||||
|
;;
|
||||||
|
|
||||||
"Mac OS X"* | "Manjaro"* | "Deepin"*)
|
"Mac OS X"* | "Manjaro"* | "Deepin"*)
|
||||||
c1=$(color 2)
|
c1=$(color 2)
|
||||||
c2=$(color 3)
|
c2=$(color 3)
|
||||||
|
Reference in New Issue
Block a user