bruh wtf 33 da hell man

This commit is contained in:
echo 2022-09-25 22:20:20 +03:30 committed by nea
parent 7e760950db
commit 9a98330276
No known key found for this signature in database
GPG key ID: AA563E93EB628D91
33 changed files with 380 additions and 17 deletions

View file

@ -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!!!!
!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!! `
}
}

View file

@ -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
}
}
}