From ff5c0f746c6450981802f96ae6578355bfbf52a4 Mon Sep 17 00:00:00 2001 From: echo <91651232+exhq@users.noreply.github.com> Date: Thu, 22 Sep 2022 11:24:22 +0330 Subject: [PATCH] TO FIX A BUG I JUST HA TO DELETE ONE FUCKING NEW LINE ARE YOU FUCKING KIDING ME PIECE OF SHIT --- asciiart/asciiart.go | 6 ++---- main.go | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/asciiart/asciiart.go b/asciiart/asciiart.go index 3b521d9..4bd6315 100644 --- a/asciiart/asciiart.go +++ b/asciiart/asciiart.go @@ -9,16 +9,14 @@ func Getascii(name string) []string { !!!!!!!!!!!!!!! !!!!noascii!!!! !!!!!!!!!!!!!!! -!!!!!!!!!!!!!!! - ` +!!!!!!!!!!!!!!! ` arch := ` /\ / \ /\ \ / > ω <\ / __ \ / __| |__-\ -/_-'' ''-_\ -` +/_-'' ''-_\ ` switch name { case "Arch Linux": diff --git a/main.go b/main.go index 254e814..d7e7b59 100644 --- a/main.go +++ b/main.go @@ -46,7 +46,7 @@ func handleConfig() { if os.IsNotExist(file) { println("config was not found. a default config file has been generated in '~/.config/neowofetch/conf'") f, _ := os.Create(getConfigFile()) - _, _ = f.WriteString("println green neOwOfetch 🔥\nprint blue @\nprint white uptime: \ninfoln red uptime\nprint white shell: \ninfoln blue shell\nprint white distro: \ninfoln blue distro\nprint white terminal: \ninfoln blue terminal\nprint white memory: \ninfo blue memoryUsed\nprint white /\ninfoln blue memoryAll") + _, _ = f.WriteString("println green neOwOfetch 🔥\ninfo magenta username\nprint blue @\ninfoln blue hostname\nprint white uptime: \ninfoln red uptime\nprint white shell: \ninfoln blue shell\nprint white distro: \ninfoln blue distro\nprint white terminal: \ninfoln blue terminal\nprint white memory: \ninfo blue memoryUsed\nprint white /\ninfoln blue memoryAll") } else { body, _ := ioutil.ReadFile(getConfigFile()) sbody := (string(body))