fix: typos

This commit is contained in:
koru 2026-06-16 15:01:19 +00:00 committed by nekohepott
parent 3021fba918
commit 1a789ba7f2
No known key found for this signature in database

View File

@ -80,7 +80,7 @@ func main() {
"gpu": {label: "gpu", fn: providers.GetGpu}, "gpu": {label: "gpu", fn: providers.GetGpu},
"de/wm": {label: "de/wm", fn: providers.GetDE}, "de/wm": {label: "de/wm", fn: providers.GetDE},
"pkgs": {label: "packages", fn: providers.GetPkgs}, "pkgs": {label: "packages", fn: providers.GetPkgs},
"shell": {label: "shell", fn: providers.GetShell}, "sh": {label: "shell", fn: providers.GetShell},
"term": {label: "terminal", fn: providers.GetTerminal}, "term": {label: "terminal", fn: providers.GetTerminal},
"uptime": {label: "uptime", fn: providers.GetUptime}, "uptime": {label: "uptime", fn: providers.GetUptime},
"age": {label: "age", fn: providers.GetAge}, "age": {label: "age", fn: providers.GetAge},
@ -129,7 +129,7 @@ func main() {
} }
fallbackToAscii := func(path *string) []string { fallbackToAscii := func(path *string) []string {
fmt.Println("chafa binary not found, chafa is the dependency of gogofetch, please install it") fmt.Println("chafa binary not found, chafa is the dependency of gogofetch, please install it.")
parts := strings.Split(*path, ".") parts := strings.Split(*path, ".")
if len(parts) > 1 { if len(parts) > 1 {
parts[len(parts)-1] = "txt" parts[len(parts)-1] = "txt"