neowofetch/asciiart/asciiart.go

30 lines
435 B
Go

package asciiart
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")
}
}