Repository navigation
Expand file tree
/
Copy pathconfig.h
More file actions
44 lines (36 loc) · 1.51 KB
/
Copy pathconfig.h
File metadata and controls
44 lines (36 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* config.h - compile-time configuration. Edit and rebuild. */
#ifndef HTERM_CONFIG_H
#define HTERM_CONFIG_H
/* Font: a fontconfig pattern — a family ("Iosevka Nerd Font Mono", "DejaVu
* Sans Mono"), or "" for the system monospace font. fc-match resolves it
* and its bold, italic and bold-italic faces at startup; a style the
* family lacks is synthesized. A path to a TTF file works too (all
* styles synthesized). */
#define FONT "Iosevka Nerd Font Mono"
#define FONT_SIZE 22
/* Points added/removed per Ctrl+plus / Ctrl+minus zoom step. */
#define FONT_SIZE_STEP 2
/* Initial window size in cells. */
#define INIT_COLS 100
#define INIT_ROWS 30
/* Scrollback history, in lines (main screen only). */
#define HISTORY_LINES 2000
/* Lines scrolled per mouse wheel tick. */
#define WHEEL_LINES 3
/* Colors, 0xRRGGBB. */
#define COLOR_FG 0xa9b1d6
#define COLOR_BG 0x24283b
#define COLOR_CURSOR 0xffffa0
/* ANSI palette: colors 0-7, then their bright variants 8-15. */
#define PALETTE \
{ \
0x32344a, 0xf7768e, 0x9ece6a, 0xe0af68, 0x7aa2f7, 0xad8ee6, \
0x449dab, 0x9699a8, 0x444b6a, 0xff7a93, 0xb9f27c, 0xff9e64, \
0x7da6ff, 0xbb9af7, 0x0db9d7, 0xacb0d0, \
}
/* Cursor. */
enum { CURSOR_BLOCK, CURSOR_UNDERLINE, CURSOR_BEAM };
#define CURSOR_SHAPE CURSOR_BLOCK
#define CURSOR_BLINK true
#define BLINK_MS 300
#endif