summaryrefslogtreecommitdiff
path: root/src/logo/openbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/logo/openbsd.h')
-rw-r--r--src/logo/openbsd.h54
1 files changed, 8 insertions, 46 deletions
diff --git a/src/logo/openbsd.h b/src/logo/openbsd.h
index a5fc627..65a97a1 100644
--- a/src/logo/openbsd.h
+++ b/src/logo/openbsd.h
@@ -1,53 +1,15 @@
+#if defined(__OpenBSD__)
#ifndef LOGO_OPENBSD_H
#define LOGO_OPENBSD_H
-#define GREY "\e[1;30m"
-#define RED "\e[1;31m"
-#define YELLOW "\e[1;33m"
-#define CYAN "\e[1;36m"
-#define RESET "\e[0m"
+#include "colors.h"
-#define COLOR YELLOW
-#define TITLECOLOR YELLOW
+extern char *LOGO[23];
+extern char *LOGO_SMALL[23];
+extern const char *color;
+extern const char *titlecolor;
-char *LOGO[] = {
-CYAN " _ " RESET,
-CYAN " (_) " RESET,
-YELLOW " | . " RESET,
-YELLOW " . |L /| . " CYAN "_ " RESET,
-YELLOW " _ . |\\ _| \\--+._/| . " CYAN " (_) " RESET,
-YELLOW " / ||\\| Y J ) / |/| ./ " RESET,
-YELLOW " J |)'( | ` F`.'/ " CYAN " _ " RESET,
-YELLOW " -<| F __ .-< " CYAN " (_) " RESET,
-YELLOW " | / .-'" CYAN "." YELLOW " `. /" CYAN "-. " YELLOW "L___ " RESET,
-YELLOW " J \\ < " CYAN "\\ " YELLOW " | |" GREY " O" CYAN "\\" YELLOW "|.-' " CYAN " _ " RESET,
-YELLOW " _J \\ .- \\" CYAN "/" GREY " O " CYAN "|" YELLOW" | \\ |F " CYAN " (_) " RESET,
-YELLOW " '-F -<_. \\ .-' `-' L__ " RESET,
-YELLOW "__J _ _. >-' )" RED "._." YELLOW " |-' " RESET,
-YELLOW " `-|.' /_. " RED "\\_|" YELLOW " F " RESET,
-YELLOW " /.- . _.< " RESET,
-YELLOW " /' /.' .' `\\ " RESET,
-YELLOW " /L /' |/ _.-'-\\ " RESET,
-YELLOW " /'J ___.---'\\| " RESET,
-YELLOW " |\\ .--' V | `. ` " RESET,
-YELLOW " |/`. `-. `._) " RESET,
-YELLOW " / .-.\\ " RESET,
-YELLOW " \\ ( `\\ " RESET,
-YELLOW " `.\\ " RESET
-};
-
-char *LOGO_SMALL[] = {
-YELLOW " _____ " RESET,
-YELLOW " \\- -/ " RESET,
-YELLOW " \\_/ \\ " RESET,
-YELLOW " | " RESET "O O" YELLOW" | " RESET,
-YELLOW " |_ < ) 3 ) " RESET,
-YELLOW " / \\ / " RESET,
-YELLOW " /-_____-\\ " RESET,
-YELLOW " " RESET,
-YELLOW " " RESET,
-YELLOW " " RESET,
-YELLOW " " RESET
-};
+void getOS();
#endif
+#endif