se

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

config.h (1491B)


      1 /*
      2  * ***THIS FILE IS NOT MADE FOR CUSTOMISATION, FOR CUSTOMISATION USE config.c***
      3  *
      4  * Unless you are adding new shared globals or heavily modifying the program,
      5  * this file just expands global symbols that the rest of the files
      6  * rely on to configure themselves.
      7  *
      8  * this file can also be used for reference if you are unsure what
      9  * variables you might be missing from your own config.
     10  */
     11 
     12 #ifndef CONFIG_H_
     13 #define CONFIG_H_
     14 
     15 #include "se.h"
     16 #include "x.h"
     17 #include "extension.h"
     18 
     19 extern struct glyph default_attributes;
     20 extern unsigned int alternate_bg_bright;
     21 extern unsigned int alternate_bg_dark;
     22 extern unsigned int cursor_fg;
     23 extern unsigned int cursor_bg;
     24 extern unsigned int mouse_line_bg;
     25 extern unsigned int selection_bg;
     26 extern unsigned int highlight_color;
     27 extern unsigned int path_color;
     28 extern unsigned int error_color;
     29 extern unsigned int warning_color;
     30 extern unsigned int ok_color;
     31 
     32 extern int border_px;
     33 extern float cw_scale;
     34 extern float ch_scale;
     35 extern char* fontconfig;
     36 extern const char* const colors[];
     37 extern struct glyph default_attributes;
     38 extern unsigned int cursor_fg;
     39 extern unsigned int cursor_bg;
     40 extern unsigned int cursor_thickness;
     41 extern unsigned int cursor_shape;
     42 extern unsigned int default_cols;
     43 extern unsigned int default_rows;
     44 
     45 extern unsigned int tabspaces;
     46 extern unsigned int default_indent_len; // 0 means tab
     47 extern int wrap_buffer;
     48 
     49 // see extension.h and extension.c
     50 extern struct extension_meta* extensions;
     51 
     52 #endif // CONFIG_H_