Skip to content

Commit ed54938

Browse files
committed
add cachyos
1 parent b47fe98 commit ed54938

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

mods/get_ascii.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,19 @@ func GetIcon() []string {
4444
" \\ --- _/ ",
4545
" ---(_) ",
4646
}
47+
48+
case strings.Contains(distro, "cachy"):
49+
return []string{
50+
" /''''''''''''/ ",
51+
" /''''''''''''/ ",
52+
" /''''''/ ",
53+
"/''''''/ ",
54+
"\\......\\ ",
55+
" \\......\\ ",
56+
" \\.............../ ",
57+
" \\............./ ",
58+
}
59+
4760
default:
4861
return []string{
4962
" ___ ",

mods/get_packages.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
)
99

1010
func GetPackages() string {
11-
if strings.Contains(getDistro(), "arch") {
11+
if strings.Contains(getDistro(), "arch") || strings.Contains(getDistro(), "cachy") {
1212

1313
c, _ := exec.Command("pacman", "-Qq").Output()
1414
o := string(c[:])

0 commit comments

Comments
 (0)