bruh wtf 33 da hell man
This commit is contained in:
parent
c6577fe71f
commit
c6009a402c
33 changed files with 380 additions and 17 deletions
|
@ -17,4 +17,8 @@ The information by default is displayed alongside your operating system's uwuifi
|
|||
|
||||
You can further configure NeOwOfetch to your horrible taste. Through the use of command-line flags and idfk i havent implemented it yet.
|
||||
|
||||
NeOwOfetch supports almost like 2 different operating systems. From Linux to Linux. If your favourite operating system is unsupported i dont give a shit, ill get to it when i get to it. for now its just arch and ubuntu
|
||||
NeOwOfetch supports almost like 2 different operating systems. From Linux to Linux. If your favourite operating system is unsupported i dont give a shit, ill get to it when i get to it. for now its just arch and ubuntu
|
||||
|
||||
|
||||
|
||||
jokes aside, the asciiarts are from uwufetch, all credits go to them.
|
8
asciiarts/alpine.txt
Normal file
8
asciiarts/alpine.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
{BLUE}. .___.
|
||||
/ \/ \ /
|
||||
/OωO\ɛU\/ __
|
||||
/ \ \__/ \
|
||||
/ \ \
|
||||
|
||||
|
10
asciiarts/amogos.txt
Normal file
10
asciiarts/amogos.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
▄▄▄▄▄▄▄
|
||||
█ ▄▄▄▄▄ █
|
||||
▐ █▄▄▄█ █
|
||||
▌ ▐
|
||||
▐ ▐
|
||||
█ ▐
|
||||
▐ ▐▀▀▀▀█ ▐
|
||||
▐▀▀▀ ▐ ▐ ▐
|
||||
▀▀▀▀▀▀ █▀▀▀ █
|
||||
▀▀▀▀▀▀
|
8
asciiarts/android.txt
Normal file
8
asciiarts/android.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
{GREEN}\ _------_ /
|
||||
/ \
|
||||
| {RED}~ {GREEN}> ω < {RED}~ {GREEN}|
|
||||
------------
|
||||
|
||||
|
||||
|
8
asciiarts/arch.txt
Normal file
8
asciiarts/arch.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
{BLUE} /\
|
||||
/ \
|
||||
/\ \
|
||||
/ > ω <\
|
||||
/ __ \
|
||||
/ __| |__-\
|
||||
/_-'' ''-_\
|
||||
|
7
asciiarts/arcolinux.txt
Normal file
7
asciiarts/arcolinux.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
{BLUE} /\
|
||||
/ \
|
||||
/ \
|
||||
/{WHITE}O vv O{BLUE}\
|
||||
/ / \ \
|
||||
/ / __\ \
|
||||
/__/ `\___\
|
8
asciiarts/artix.txt
Normal file
8
asciiarts/artix.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
{BLUE} /\
|
||||
/ \
|
||||
/`'.,\
|
||||
/• w • \
|
||||
/ ,`\
|
||||
/ ,.'`. \
|
||||
/.,'` `'.\
|
||||
|
28
asciiarts/asciiart.go
Normal file
28
asciiarts/asciiart.go
Normal file
|
@ -0,0 +1,28 @@
|
|||
package asciiarts
|
||||
|
||||
import (
|
||||
_ "embed"
|
||||
"strings"
|
||||
)
|
||||
|
||||
//go:embed alpine.txt
|
||||
var Alpine string
|
||||
|
||||
//go:embed unknown.txt
|
||||
var unknown string
|
||||
|
||||
func GetAsciiInternal(distroID string) string {
|
||||
switch distroID {
|
||||
case "Alpine":
|
||||
return Alpine
|
||||
default:
|
||||
return unknown
|
||||
}
|
||||
}
|
||||
func GetAscii(distroID string) string {
|
||||
ascii := GetAsciiInternal(distroID)
|
||||
ascii = strings.ReplaceAll(ascii, "{WHITE}", "")
|
||||
ascii = strings.ReplaceAll(ascii, "{YELLOW}", "")
|
||||
ascii = strings.ReplaceAll(ascii, "{BLUE}", "")
|
||||
return ascii
|
||||
}
|
8
asciiarts/debian.txt
Normal file
8
asciiarts/debian.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
{RED} ______
|
||||
/ ___ \
|
||||
| / OωO |
|
||||
| \____-
|
||||
-_
|
||||
--_\
|
||||
|
||||
|
7
asciiarts/endeavouros.txt
Normal file
7
asciiarts/endeavouros.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
{MAGENTA} /\
|
||||
{RED}/{MAGENTA}/ \{BLUE}\
|
||||
{RED}/{MAGENTA}/>ω<\{BLUE}\
|
||||
{RED}/{MAGENTA}/ \ {BLUE}\
|
||||
{RED}/ {MAGENTA}/ _) {BLUE})
|
||||
{RED}/_{MAGENTA}/___-- {BLUE}___-
|
||||
/____---
|
8
asciiarts/fedora.txt
Normal file
8
asciiarts/fedora.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
{BLUE}_____
|
||||
/ __){CYAN}\
|
||||
{WHITE}> {BLUE}| / {WHITE}<{CYAN}\ \
|
||||
__{BLUE}_| {CYAN}ω{BLUE}|_{CYAN}_/ /
|
||||
/ {BLUE}(_ _){CYAN}_/
|
||||
/ / {BLUE}| |
|
||||
{CYAN}\ \{BLUE}__/ |
|
||||
{CYAN}\{BLUE}(_____/
|
8
asciiarts/freebsd.txt
Normal file
8
asciiarts/freebsd.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
{RED}/\,-'''''-,/\
|
||||
\_) (_/
|
||||
| \ / |
|
||||
| O ω O |
|
||||
; ;
|
||||
'-_____-'
|
||||
|
8
asciiarts/gentoo.txt
Normal file
8
asciiarts/gentoo.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
{MAGENTA}_-----_
|
||||
( \\
|
||||
\\ OωO \\
|
||||
{WHITE} \\ )
|
||||
/ _/
|
||||
( _-
|
||||
\\____-
|
||||
|
8
asciiarts/gnu.txt
Normal file
8
asciiarts/gnu.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
|
||||
{WHITE},= {YELLOW},-_-. {WHITE}=.
|
||||
((_/{YELLOW}){WHITE}U U{YELLOW}({WHITE}\_))
|
||||
`-'{YELLOW}(. .){WHITE}`-'
|
||||
{YELLOW}\{WHITE}w{YELLOW}/
|
||||
¯
|
||||
|
8
asciiarts/guix.txt
Normal file
8
asciiarts/guix.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
|
||||
{WHITE},= {YELLOW},-_-. {WHITE}=.
|
||||
((_/{YELLOW}){WHITE}U U{YELLOW}({WHITE}\_))
|
||||
`-'{YELLOW}(. .){WHITE}`-'
|
||||
{YELLOW}\{WHITE}w{YELLOW}/
|
||||
¯
|
||||
|
8
asciiarts/ios.txt
Normal file
8
asciiarts/ios.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
{GREEN} .:`
|
||||
.--``--.
|
||||
{YELLOW} ww OωO w
|
||||
{RED} w w
|
||||
{PINK} w w
|
||||
|
||||
{BLUE} www_-_www
|
||||
|
7
asciiarts/linuxmint.txt
Normal file
7
asciiarts/linuxmint.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
{GREEN} __/\____/\.
|
||||
|{WHITE}.--. {GREEN}|
|
||||
{WHITE}, {GREEN}¯| {WHITE}| UωU| {GREEN}|
|
||||
{WHITE}|| {GREEN}| {WHITE}| | {GREEN}|
|
||||
{WHITE} | {GREEN}| {WHITE}---- {GREEN}|
|
||||
{WHITE} --{GREEN}'--------'
|
||||
|
8
asciiarts/macos.txt
Normal file
8
asciiarts/macos.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
{GREEN} .:`
|
||||
.--``--.
|
||||
{YELLOW} ww OωO w
|
||||
{RED} w w
|
||||
{PINK} w w
|
||||
{MAGENTA} w w
|
||||
{BLUE} www_-_www
|
||||
|
8
asciiarts/manjaro-arm.txt
Normal file
8
asciiarts/manjaro-arm.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
△ △ ◠◠◠◠
|
||||
{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
||||
{BACKGROUND_GREEN} {NORMAL}{BACKGROUND_GREEN}{BLACK} > ω < {NORMAL}{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
||||
{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
||||
{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
||||
{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
||||
{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
||||
{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
8
asciiarts/manjaro.txt
Normal file
8
asciiarts/manjaro.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
△ △ ◠◠◠◠
|
||||
{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
||||
{BACKGROUND_GREEN} {NORMAL}{BACKGROUND_GREEN}{BLACK} > ω < {NORMAL}{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
||||
{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
||||
{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
||||
{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
||||
{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
||||
{BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL} {BACKGROUND_GREEN} {NORMAL}
|
8
asciiarts/openbsd.txt
Normal file
8
asciiarts/openbsd.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
{YELLOW} ______
|
||||
\- -/ {RED}♥
|
||||
{YELLOW}\_/ \
|
||||
| {WHITE}> < {YELLOW}|
|
||||
|_ < {LPINK}// {WHITE}ω {LPINK}//
|
||||
{YELLOW}/ \ /
|
||||
/-________-\
|
8
asciiarts/opensuse-leap.txt
Normal file
8
asciiarts/opensuse-leap.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
|
||||
{GREEN}|\----/|
|
||||
_ / {WHITE}O O{GREEN}\
|
||||
__. ω /
|
||||
'----'
|
||||
|
||||
|
8
asciiarts/opensuse-tumbleweed.txt
Normal file
8
asciiarts/opensuse-tumbleweed.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
|
||||
{GREEN}|\----/|
|
||||
_ / {WHITE}O O{GREEN}\
|
||||
__. ω /
|
||||
'----'
|
||||
|
||||
|
7
asciiarts/pop.txt
Normal file
7
asciiarts/pop.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
{BLUE} |\.-----./|
|
||||
|/ \|
|
||||
| > < |
|
||||
| {LPINK}~ {WHITE}P! {LPINK}~ {BLUE}|
|
||||
_ ---\ ω /
|
||||
\_/ '-----'
|
||||
|
7
asciiarts/raspbian.txt
Normal file
7
asciiarts/raspbian.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
{GREEN} __ __
|
||||
(_\)(/_)
|
||||
{RED}(>(__)<)
|
||||
(_(_)(_)_)
|
||||
(_(__)_)
|
||||
(__)
|
||||
|
8
asciiarts/slackware.txt
Normal file
8
asciiarts/slackware.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
{MAGENTA}|\.-----./|
|
||||
|/ \|
|
||||
| > < |
|
||||
| {LPINK}~ {WHITE}S {LPINK}~ {MAGENTA}|
|
||||
_ ---\ ω /
|
||||
\_/ '-----'
|
||||
|
8
asciiarts/solus.txt
Normal file
8
asciiarts/solus.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
{WHITE}|\.-----./|
|
||||
| \ / |
|
||||
|/ > <\ |
|
||||
|{BLUE}_{LPINK}~{BLUE}_____{LPINK}~{WHITE}\|
|
||||
{BLUE}_ ---\ {WHITE}ω {BLUE}/
|
||||
\_/ '-----'
|
||||
|
7
asciiarts/ubuntu.txt
Normal file
7
asciiarts/ubuntu.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
{LPINK} _
|
||||
{PINK}◣{LPINK}__(_){PINK}◢{LPINK}
|
||||
_/ --- \
|
||||
(_) |>ω<| |
|
||||
\ --- _/
|
||||
{PINK}C__/{LPINK}---(_)
|
||||
|
7
asciiarts/unknown.txt
Normal file
7
asciiarts/unknown.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
{WHITE} ._.--._.
|
||||
\|>{YELLOW}_{WHITE}< |/
|
||||
|{YELLOW}:_/{WHITE} |
|
||||
// \ \ ?
|
||||
(| | ) /
|
||||
{YELLOW}/'\_ _/`\{WHITE}-
|
||||
{YELLOW}\___)=(___/
|
8
asciiarts/void.txt
Normal file
8
asciiarts/void.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
{GREEN} |\_____/|
|
||||
_\____ |
|
||||
| \ \ |
|
||||
| | {WHITE}ÒωÓ {GREEN}| | ,
|
||||
| \_____\_|-, |
|
||||
-_______\ \_/
|
||||
|
8
asciiarts/xerolinux.txt
Normal file
8
asciiarts/xerolinux.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
{BLUE} /\
|
||||
______ / \______
|
||||
/\ /\
|
||||
/ || \
|
||||
____/__/__\__\___
|
||||
/ __| |__-\
|
||||
/_-'' ''-_\
|
||||
|
|
@ -1,25 +1,128 @@
|
|||
package utils
|
||||
|
||||
func Getascii(name string) string {
|
||||
none := `!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!
|
||||
!!!!noascii!!!!
|
||||
!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!! `
|
||||
arch := ` /\
|
||||
|
||||
switch name {
|
||||
case "alphine":
|
||||
return `. .___.
|
||||
/ \/ \ /
|
||||
/OωO\ɛU\/ __
|
||||
/ \ \__/ \
|
||||
/ \ \`
|
||||
case "amogos":
|
||||
return ` ▄▄▄▄▄▄▄
|
||||
█ ▄▄▄▄▄ █
|
||||
▐ █▄▄▄█ █
|
||||
▌ ▐
|
||||
▐ ▐
|
||||
█ ▐
|
||||
▐ ▐▀▀▀▀█ ▐
|
||||
▐▀▀▀ ▐ ▐ ▐
|
||||
▀▀▀▀▀▀ █▀▀▀ █
|
||||
▀▀▀▀▀▀ `
|
||||
case "android":
|
||||
return ` \ _------_ /
|
||||
/ \
|
||||
| ~ > ω < ~ |
|
||||
------------
|
||||
|
||||
|
||||
`
|
||||
case "arcolinux":
|
||||
return ` /\
|
||||
/ \
|
||||
/ \
|
||||
/O vv O\
|
||||
/ / \ \
|
||||
/ / __\ \
|
||||
/__/ \___\`
|
||||
case "artix":
|
||||
return ` /\
|
||||
/ \
|
||||
/''.,\
|
||||
/• w • \
|
||||
/ ,'\
|
||||
/ ,.''. \
|
||||
/.,'' ''.\
|
||||
`
|
||||
case "debian":
|
||||
return ` ______
|
||||
/ ___ \
|
||||
| / OωO |
|
||||
| \____-
|
||||
-_
|
||||
--_\
|
||||
|
||||
`
|
||||
case "endeavouros":
|
||||
return ` /\
|
||||
// \\
|
||||
//>ω<\\
|
||||
// \ \
|
||||
/ / _) )
|
||||
/_/___-- ___-
|
||||
/____---`
|
||||
case "fedora":
|
||||
return ` _____
|
||||
/ __)\
|
||||
> | / <\ \
|
||||
___| ω|__/ /
|
||||
/ (_ _)_/
|
||||
/ / | |
|
||||
\ \__/ |
|
||||
\(_____/
|
||||
`
|
||||
case "freebsd":
|
||||
return `
|
||||
/\,-'''''-,/\
|
||||
\_) (_/
|
||||
| \ / |
|
||||
| O ω O |
|
||||
; ;
|
||||
'-_____-'
|
||||
`
|
||||
case "gentoo":
|
||||
return ` _-----_
|
||||
( \\
|
||||
\\ OωO \\
|
||||
\\ )
|
||||
/ _/
|
||||
( _-
|
||||
\\____-
|
||||
`
|
||||
case "guix":
|
||||
return ` ,= ,-_-. =.
|
||||
((_/)U U(\_))
|
||||
'-'(. .)'-'
|
||||
\w/
|
||||
¯`
|
||||
case "ios":
|
||||
return ` WHY THE FUCK
|
||||
ARE YOU USING IOS
|
||||
PIECE OF FUCKING SHIT`
|
||||
case "arch":
|
||||
return ` /\
|
||||
/ \
|
||||
/\ \
|
||||
/ > ω <\
|
||||
/ __ \
|
||||
/ __| |__-\
|
||||
/_-'' ''-_\ `
|
||||
|
||||
switch name {
|
||||
case "arch":
|
||||
return arch
|
||||
/_-'' ''-_\
|
||||
`
|
||||
case "linuxmint":
|
||||
return ` /\______/\.
|
||||
|.--. |
|
||||
, ¯| | UωU| |
|
||||
|| | | | |
|
||||
| | ---- |
|
||||
--'--------'`
|
||||
|
||||
default:
|
||||
return none
|
||||
return `!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!
|
||||
!!!!noascii!!!!
|
||||
!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!! `
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/exhq/neowofetch/asciiarts"
|
||||
"github.com/exhq/neowofetch/data"
|
||||
"github.com/exhq/neowofetch/images"
|
||||
)
|
||||
|
@ -58,9 +59,9 @@ func Initcolor() {
|
|||
|
||||
func CutePrintInit() {
|
||||
dist := data.GetDistroVariable("ID")
|
||||
logo := Getascii(dist)
|
||||
logo := asciiarts.GetAscii(dist)
|
||||
if asciiforced {
|
||||
logo = Getascii(forceddistro)
|
||||
logo = asciiarts.GetAscii(forceddistro)
|
||||
}
|
||||
if noascii {
|
||||
logo = ""
|
||||
|
@ -76,9 +77,9 @@ func CutePrintInit() {
|
|||
logoLines = strings.Split(logo, "\n")
|
||||
logoWidth = 0
|
||||
for _, v := range logoLines {
|
||||
lineLength := len([]rune(v))
|
||||
lineLength := len([]rune(v)) + 2
|
||||
if lineLength > logoWidth {
|
||||
logoWidth = lineLength + 2
|
||||
logoWidth = lineLength
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue