Blame


1 f26f1205 2022-02-09 op /*
2 f26f1205 2022-02-09 op * Copyright (c) 2021 Omar Polo <op@omarpolo.com>
3 f26f1205 2022-02-09 op *
4 f26f1205 2022-02-09 op * Permission to use, copy, modify, and distribute this software for any
5 f26f1205 2022-02-09 op * purpose with or without fee is hereby granted, provided that the above
6 f26f1205 2022-02-09 op * copyright notice and this permission notice appear in all copies.
7 f26f1205 2022-02-09 op *
8 f26f1205 2022-02-09 op * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 f26f1205 2022-02-09 op * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 f26f1205 2022-02-09 op * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 f26f1205 2022-02-09 op * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 f26f1205 2022-02-09 op * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 f26f1205 2022-02-09 op * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 f26f1205 2022-02-09 op * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 f26f1205 2022-02-09 op */
16 f26f1205 2022-02-09 op
17 f26f1205 2022-02-09 op #ifndef DEFAULTS_H
18 f26f1205 2022-02-09 op #define DEFAULTS_H
19 f26f1205 2022-02-09 op
20 f26f1205 2022-02-09 op extern char *download_path;
21 f26f1205 2022-02-09 op extern char *new_tab_url;
22 f26f1205 2022-02-09 op
23 f26f1205 2022-02-09 op extern int autosave;
24 f26f1205 2022-02-09 op extern int dont_wrap_pre;
25 f26f1205 2022-02-09 op extern int emojify_link;
26 f26f1205 2022-02-09 op extern int enable_colors;
27 f26f1205 2022-02-09 op extern int fill_column;
28 f26f1205 2022-02-09 op extern int fringe_ignore_offset;
29 f26f1205 2022-02-09 op extern int hide_pre_blocks;
30 f26f1205 2022-02-09 op extern int hide_pre_closing_line;
31 f26f1205 2022-02-09 op extern int hide_pre_context;
32 f26f1205 2022-02-09 op extern int max_killed_tabs;
33 f26f1205 2022-02-09 op extern int olivetti_mode;
34 f26f1205 2022-02-09 op extern int set_title;
35 f26f1205 2022-02-09 op extern int tab_bar_show;
36 f26f1205 2022-02-09 op
37 f26f1205 2022-02-09 op extern struct vline fringe;
38 f26f1205 2022-02-09 op
39 f26f1205 2022-02-09 op struct lineprefix {
40 f26f1205 2022-02-09 op const char *prfx1;
41 f26f1205 2022-02-09 op const char *prfx2;
42 f26f1205 2022-02-09 op };
43 f26f1205 2022-02-09 op extern struct lineprefix line_prefixes[];
44 f26f1205 2022-02-09 op
45 f26f1205 2022-02-09 op struct line_face {
46 f26f1205 2022-02-09 op int prfx_pair, pair, trail_pair;
47 f26f1205 2022-02-09 op int prfx_bg, bg, trail_bg;
48 f26f1205 2022-02-09 op int prfx_fg, fg, trail_fg;
49 f26f1205 2022-02-09 op int prfx_attr, attr, trail_attr;
50 f26f1205 2022-02-09 op
51 f26f1205 2022-02-09 op int prefix, text, trail;
52 f26f1205 2022-02-09 op };
53 f26f1205 2022-02-09 op extern struct line_face line_faces[];
54 f26f1205 2022-02-09 op
55 f26f1205 2022-02-09 op struct tab_face {
56 f26f1205 2022-02-09 op int bg_attr, bg_bg, bg_fg;
57 f26f1205 2022-02-09 op int t_attr, t_bg, t_fg;
58 f26f1205 2022-02-09 op int c_attr, c_bg, c_fg;
59 f26f1205 2022-02-09 op
60 f26f1205 2022-02-09 op int background, tab, current;
61 f26f1205 2022-02-09 op };
62 f26f1205 2022-02-09 op extern struct tab_face tab_face;
63 f26f1205 2022-02-09 op
64 f26f1205 2022-02-09 op struct body_face {
65 f26f1205 2022-02-09 op int lbg, lfg;
66 f26f1205 2022-02-09 op int bg, fg;
67 f26f1205 2022-02-09 op int rbg, rfg;
68 f26f1205 2022-02-09 op
69 f26f1205 2022-02-09 op int left, body, right;
70 f26f1205 2022-02-09 op };
71 f26f1205 2022-02-09 op extern struct body_face body_face;
72 f26f1205 2022-02-09 op
73 f26f1205 2022-02-09 op struct download_face {
74 f26f1205 2022-02-09 op int bg, fg, attr;
75 f26f1205 2022-02-09 op int background;
76 f26f1205 2022-02-09 op };
77 f26f1205 2022-02-09 op extern struct download_face download_face;
78 f26f1205 2022-02-09 op
79 f26f1205 2022-02-09 op struct modeline_face {
80 f26f1205 2022-02-09 op int bg, fg, attr;
81 f26f1205 2022-02-09 op int background;
82 f26f1205 2022-02-09 op };
83 f26f1205 2022-02-09 op extern struct modeline_face modeline_face;
84 f26f1205 2022-02-09 op
85 f26f1205 2022-02-09 op struct minibuffer_face {
86 f26f1205 2022-02-09 op int bg, fg, attr;
87 f26f1205 2022-02-09 op int background;
88 f26f1205 2022-02-09 op };
89 f26f1205 2022-02-09 op extern struct minibuffer_face minibuffer_face;
90 f26f1205 2022-02-09 op
91 f26f1205 2022-02-09 op #endif