54 lines
1.7 KiB
C
54 lines
1.7 KiB
C
/* beastie - configuration, edit and recompile */
|
|
|
|
/* colors */
|
|
#define COLOR_RESET "\033[0m"
|
|
#define COLOR_BOLD "\033[1m"
|
|
#define COLOR_ART "\033[1;31m" /* bold red - art */
|
|
#define COLOR_USER "\033[1;34m" /* bold blue - user@host */
|
|
#define COLOR_LABEL "\033[1;35m" /* bold magenta - info labels */
|
|
|
|
/* modules to display, in order - comment out or reorder to taste */
|
|
static const enum module modules[] = {
|
|
MOD_USERATHOST,
|
|
MOD_SEP,
|
|
MOD_OS,
|
|
MOD_KERNEL,
|
|
MOD_CPU,
|
|
MOD_UPTIME,
|
|
MOD_MEM,
|
|
MOD_SHELL,
|
|
MOD_TERM,
|
|
MOD_WM,
|
|
MOD_DISK,
|
|
MOD_PKGS,
|
|
MOD_RES,
|
|
MOD_SEP,
|
|
/* MOD_COLORS, */
|
|
};
|
|
|
|
/* ascii art - ART_W must equal the visual width of the longest line */
|
|
#define ART_W 38
|
|
static const char *ART[] = {
|
|
" %@ ",
|
|
" %# @## ",
|
|
" %#@ @%%%%%%@%%##@ ",
|
|
" @%%##@%%%%%@######%## ",
|
|
" %%%###%%%%# @@ @# ",
|
|
" %%%%%%%%## @ @#@ ",
|
|
" @%%%%%## @@#@@# ",
|
|
" %%%%#### @@##### ",
|
|
" %%%%%%#####%##@## *: ",
|
|
" @%%%#@######%#@ : :@ ",
|
|
" %%%%%%###@ @# @:@ @: ",
|
|
" %%###### %#@ ",
|
|
" @%%@##@###@%%##@ ",
|
|
" %%%##%####@%@@ ",
|
|
" @%%%%%%%%%@ ",
|
|
" @%@::%@@%##@ ",
|
|
" @%:@%%%####@ ",
|
|
" @%%%@@%@:@%:# ",
|
|
" @%%%%%@ @+ :-:@@:::@@@ ",
|
|
" %##@@ %::::::# . @ ",
|
|
"%%@ %@ @ @ ",
|
|
" @@%#### ",
|
|
};
|