X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.h;h=aee8057c74b658310517436537493fcaa2e0a6b5;hb=10e49a0505a250fc78c41842d93eb2a0abaf4c93;hp=7da58480b095133a9c7c2f37303faf34f0946728;hpb=f2dff29a16ef0eb1a0b680cdd753471ba406e4f5;p=st.git diff --git a/config.h b/config.h index 7da5848..aee8057 100644 --- a/config.h +++ b/config.h @@ -1,20 +1,27 @@ -#define SHELL "/bin/bash" #define TAB 8 -#define FONT "fixed" -#define BORDER 3 -#define LINESPACE 0 /* additional pixel between each line */ +#define FONT "6x13" +#define BOLDFONT FONT"bold" +#define BORDER 2 /* Terminal colors */ static const char *colorname[] = { "black", - "red", - "green", - "yellow", - "blue", - "magenta", - "cyan", - "white", + "#CC0000", + "#4E9A06", + "#C4A000", + "#3465A4", + "#75507B", + "#06989A", + "#888a85", + "#555753", + "#EF2929", + "#8AE234", + "#FCE94F", + "#729FCF", + "#AD7FA8", + "#34E2E2", + "#EEEEEC" }; /* Default colors (colorname index) */ @@ -31,8 +38,40 @@ static Key key[] = { { XK_End, "\033[4~" }, { XK_Prior, "\033[5~" }, { XK_Next, "\033[6~" }, - { XK_Left, "\033[D" }, - { XK_Right, "\033[C" }, - { XK_Up, "\033[A" }, - { XK_Down, "\033[B" }, +}; + +static char gfx[] = { + ['}'] = 'f', + ['.'] = 'v', + [','] = '<', + ['+'] = '>', + ['-'] = '^', + ['h'] = '#', + ['~'] = 'o', + ['a'] = ':', + ['f'] = '\\', + ['`'] = '+', + ['z'] = '>', + ['{'] = '*', + ['q'] = '-', + ['i'] = '#', + ['n'] = '+', + ['y'] = '<', + ['m'] = '+', + ['j'] = '+', + ['|'] = '!', + ['g'] = '#', + ['o'] = '~', + ['p'] = '-', + ['r'] = '-', + ['s'] = '_', + ['0'] = '#', + ['w'] = '+', + ['u'] = '+', + ['t'] = '+', + ['v'] = '+', + ['l'] = '+', + ['k'] = '+', + ['x'] = '|', + [255] = 0, };