From 3d72e6d94e7febdd943b89f547895beefa1ba162 Mon Sep 17 00:00:00 2001 From: axoteric Date: Wed, 9 Mar 2022 06:52:05 +0000 Subject: [PATCH] fixed macos ascii and package manager indentation --- res/ascii/macos.txt | 4 ++-- uwufetch.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/res/ascii/macos.txt b/res/ascii/macos.txt index 552873e..d8e1308 100644 --- a/res/ascii/macos.txt +++ b/res/ascii/macos.txt @@ -2,7 +2,7 @@ .--``--. {YELLOW} ww OωO w {RED} w w -{PINK} w w - +{PINK} w w +{MAGENTA} w w {BLUE} www_-_www diff --git a/uwufetch.c b/uwufetch.c index 4657a7e..8ebadd9 100644 --- a/uwufetch.c +++ b/uwufetch.c @@ -471,7 +471,7 @@ int print_info(struct configuration* config_flags, struct info* user_info) { responsively_printf(print_buf, "%s%s%sSHEWW %s%s", MOVE_CURSOR, NORMAL, BOLD, NORMAL, user_info->shell); #if defined(__APPLE__) && !defined(__IPHONE__) // some time ago __IPHONE__ was defined as TARGET_OS_IPHONE, but it was defined also in m1 macs, so I changed it if (config_flags->show_pkgs) // print pkgs for mac os - system("ls $(brew --cellar) | wc -l | awk -F' ' '{print \" \x1b[34mw w \x1b[0m\x1b[1mPKGS\x1b[0m \"$1 \" (brew)\"}'"); + system("ls $(brew --cellar) | wc -l | awk -F' ' '{print \" \x1b[34m \x1b[0m\x1b[1mPKGS\x1b[0m \"$1 \" (brew)\"}'"); #else if (config_flags->show_pkgs) // print pkgs responsively_printf(print_buf, "%s%s%sPKGS %s%s%d: %s", MOVE_CURSOR, NORMAL, BOLD, NORMAL, NORMAL, user_info->pkgs, user_info->pkgman_name);