This commit is contained in:
Biel Sala 2021-06-22 19:47:39 +02:00
commit d0bc2bd356
5 changed files with 36 additions and 27 deletions

View File

@ -13,6 +13,7 @@ Displaying package count currently only works with Pacman
Example:
![example output](logos/example.png)
![example 2](logos/example2.png)
Available Logos

24
color.h
View File

@ -1,11 +1,19 @@
//here are the colors defined, to allow for multicolor logos
#define BLACK "\033[1;30m"
#define RED "\033[1;31m"
#define GREEN "\033[1;32m"
#define YELLOW "\033[1;33m"
#define BLUE "\033[1;34m"
#define MAGENTA "\033[1;35m"
#define CYAN "\033[1;36m"
#define WHITE "\033[1;37m"
#define BLACK "\e[1;30m"
#define RED "\e[1;31m"
#define GREEN "\e[1;32m"
#define YELLOW "\e[1;33m"
#define BLUE "\e[1;34m"
#define MAGENTA "\e[1;35m"
#define CYAN "\e[1;36m"
#define WHITE "\e[1;37m"
#define GREY "\e[1;90m"
#define BRIGHT_RED "\e[1;91m"
#define BRIGHT_GREEN "\e[1;92m"
#define BRIGHT_YELLOW "\e[1;93m"
#define BRIGHT_BLUE "\e[1;94m"
#define BRIGHT_MAGENTA "\e[1;95m"
#define BRIGHT_CYAN "\e[1;96m"
#define CLOSE "\033[0m"

View File

@ -7,9 +7,9 @@
#define ROWS 17
char *logo[] = {
" /:-------------:\ ",
" /:-------------:\\ ",
" :-------------------:: ",
" :-----------"WHITE"/shhOHbmp"BLUE"---:\ ",
" :-----------"WHITE"/shhOHbmp"BLUE"---:\\ ",
" /-----------"WHITE"omMMMNNNMMD"CLOSE" "BLUE"---: ",
" :-----------"WHITE"sMMMMNMNMP."CLOSE" "BLUE"---: ",
" :-----------"WHITE":MMMdP"BLUE"------- ---\\",

View File

@ -1,22 +1,22 @@
#include "../color.h"
#define COLOR WHITE
#define COLOR RED
#define ROWS 15
char *logo[] = {
"``` "RED"`"CLOSE" ",
" ` `.....---..."RED"....--.``` -/ "CLOSE"",
" +o .--` "RED"/y:` +."CLOSE"",
" yo`:. "RED":o `+- "CLOSE"",
" y/ "RED"-/` -o/ "CLOSE"",
" .- "RED"::/sy+:. "CLOSE"",
" / "RED"`-- / "CLOSE"",
" `: "RED":`"CLOSE"",
" `: "RED":`"CLOSE"",
" / "RED"/ "CLOSE"",
" .- "RED"-. "CLOSE"",
" -- "RED"-. "CLOSE"",
" `:` "RED"`:` "CLOSE"",
" "RED".-- `--. "CLOSE"",
" "RED".---.....----. "CLOSE"",
WHITE"``` "RED"`"CLOSE" ",
WHITE" ` `.....---..."RED"....--.``` -/ "CLOSE"",
WHITE" +o .--` "RED"/y:` +."CLOSE"",
WHITE" yo`:. "RED":o `+- "CLOSE"",
WHITE" y/ "RED"-/` -o/ "CLOSE"",
WHITE" .- "RED"::/sy+:. "CLOSE"",
WHITE" / "RED"`-- / "CLOSE"",
WHITE" `: "RED":`"CLOSE"",
WHITE" `: "RED":`"CLOSE"",
WHITE" / "RED"/ "CLOSE"",
WHITE" .- "RED"-. "CLOSE"",
WHITE" -- "RED"-. "CLOSE"",
WHITE" `:` "RED"`:` "CLOSE"",
WHITE" "RED".-- `--. "CLOSE"",
WHITE" "RED".---.....----. "CLOSE"",
" ",
};
//IMPORTANT: Always make the lines the same length. There shouldn't be any extra spaces, as they are added later on by the programm itself

View File

@ -1,5 +1,5 @@
#include "../color.h"
#define COLOR "\e[1;90m"
#define COLOR GREY
#define NAMECOLOR WHITE
#define ROWS 16
char *logo[] = {