config.h (1510B)
1 #define NOT_DWL 2 #include "../dwl/device.h" 3 4 // use ipc functionality 5 static bool ipc = true; 6 // initially hide all bars 7 static bool hidden = false; 8 // initially draw all bars at the bottom 9 static bool bottom = false; 10 // hide vacant tags 11 static bool hide_vacant = true; 12 // vertical pixel padding above and below text 13 static uint32_t vertical_padding = 1; 14 // allow in-line color commands in status text 15 static bool status_commands = true; 16 // center title text 17 static bool center_title = false; 18 // use title space as status text element 19 static bool custom_title = false; 20 // scale 21 static uint32_t buffer_scale = 1; 22 // font 23 static char *fontstr = DEVICE_FONT; 24 // tag names 25 static char *tags_names[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; 26 27 /* NOTE(jake): 16bit colours are the same as 8bit, just need to be doubled */ 28 #define COLOR(r, g, b) { .red = 0x##r##r, .green = 0x##g##g, .blue = 0x##b##b, .alpha = 0xffff } 29 30 #define FG COLOR(e4, e4, e4) 31 #define BG COLOR(18, 18, 18) 32 33 #define BLUE COLOR(34, 65, A4) 34 #define RED COLOR(a4, 00, 00) 35 36 static pixman_color_t active_fg_color = FG; 37 static pixman_color_t active_bg_color = BLUE; 38 39 static pixman_color_t occupied_fg_color = FG; 40 static pixman_color_t occupied_bg_color = BG; 41 42 static pixman_color_t inactive_fg_color = FG; 43 static pixman_color_t inactive_bg_color = BG; 44 45 static pixman_color_t urgent_fg_color = RED; 46 static pixman_color_t urgent_bg_color = BG; 47 48 static pixman_color_t middle_bg_color = BG; 49 static pixman_color_t middle_bg_color_selected = BLUE;