X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.h;h=185b3ff0737bc18ba480b35ed9ba1127eb671d1a;hb=b3b7ffce5f1cb1d82aa26df976f0316d89d15d7f;hp=67c854e36e28ad151eae78a18812a9217f0b64f1;hpb=4e6915a16b75c1e79142e15a9b23e761140d4e9b;p=st.git diff --git a/config.h b/config.h index 67c854e..185b3ff 100644 --- a/config.h +++ b/config.h @@ -1,9 +1,9 @@ #define SHELL "/bin/bash" #define TAB 8 -#define FONT "fixed" -#define BORDER 3 -#define LINESPACE 1 /* additional pixel between each line */ +#define FONT "6x13" +#define BOLDFONT FONT"bold" +#define BORDER 2 /* Terminal colors */ static const char *colorname[] = { @@ -31,8 +31,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, };