From 94660ff80953ca5e401673db7cfbe05bd990ac1f Mon Sep 17 00:00:00 2001 From: Joe Todd <57013968+Joe-Todd0@users.noreply.github.com> Date: Sun, 7 Mar 2021 19:17:17 +0000 Subject: [PATCH] add support for manjaro arm --- uwufetch.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/uwufetch.c b/uwufetch.c index a788043..261d4e3 100644 --- a/uwufetch.c +++ b/uwufetch.c @@ -187,6 +187,16 @@ void print_ascii() { // prints logo (as ascii art) of the given system. distribu " \e[0;42m \e[0m \e[0;42m \e[0m \e[0;42m \e[0m\n" " \e[0;42m \e[0m \e[0;42m \e[0m \e[0;42m \e[0m\n" " \e[0;42m \e[0m \e[0;42m \e[0m \e[0;42m \e[0m\n"); + } else if (strcmp(version_name, "\"manjaro-arm\"") == 0) { // we use \ to include the " as the ID on manjaro-arm returns "manjaro-arm" not just manjaro-arm. + sprintf(version_name, "%s", "Myanjawo AWM"); + printf( "\033[0E\033[1C\u25b3 \u25b3 \u25e0\u25e0\u25e0\u25e0\n" + " \e[0;42m \e[0m \e[0;42m \e[0m\n" + " \e[0;42m \e[0m\e[0;42m\e[1;30m > w < \e[0m\e[0;42m \e[0m \e[0;42m \e[0m\n" + " \e[0;42m \e[0m \e[0;42m \e[0m\n" + " \e[0;42m \e[0m \e[0;42m \e[0m \e[0;42m \e[0m\n" + " \e[0;42m \e[0m \e[0;42m \e[0m \e[0;42m \e[0m\n" + " \e[0;42m \e[0m \e[0;42m \e[0m \e[0;42m \e[0m\n" + " \e[0;42m \e[0m \e[0;42m \e[0m \e[0;42m \e[0m\n"); } } void print_image() { // prints logo (as an image) of the given system. distributions listed alphabetically.