mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
Concept for intel scheme color
This commit is contained in:
18
concept.c
Normal file
18
concept.c
Normal file
@@ -0,0 +1,18 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#define BLACK1 "\x1b[30;1m"
|
||||
#define BLACK2 "30;1m"
|
||||
#define BLUE "\x1b[36;1m"
|
||||
|
||||
|
||||
#define BACK_WHITE "\x1b[47;"
|
||||
#define RED "\x1b[31;1m"
|
||||
#define GREEN "\x1b[32;1m"
|
||||
#define RESET "\x1b[0m"
|
||||
|
||||
int main(int argc, char const *argv[]) {
|
||||
printf(BACK_WHITE BLACK2"%s"BLUE"%s\n","Name: ", "Intel Xeon E5 ");
|
||||
printf(BLACK1"%s"BLUE"%s\n","N.Cores: ", "16 ");
|
||||
printf(BLACK1"%s"BLUE"%s\n","Frecuency: ", "2.2GHz ");
|
||||
printf(RESET);
|
||||
}
|
||||
Reference in New Issue
Block a user