neowofetch/utils/asciiarts.go
2022-09-22 14:18:20 +03:30

30 lines
432 B
Go

package utils
import (
"strings"
)
func Getascii(name string) []string {
none := `!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!
!!!!noascii!!!!
!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!! `
arch := ` /\
/ \
/\ \
/ > ω <\
/ __ \
/ __| |__-\
/_-'' ''-_\ `
switch name {
case "Arch Linux":
return strings.Split(arch, "\n")
default:
return strings.Split(none, "\n")
}
}