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

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