spkp

Stacking wayland compositor
git clone git://git.z3bra.org/spkp.git
Log | Files | Refs

config.def.h (672B)


      1 float background[4] = { 1, 1, 0.9, 1 };
      2 
      3 float bordercolor[4] = { 0.6, 0.6, 0.6, 0.7 };
      4 float activecolor[4] = { 0.2, 0.2, 0.2, 0.7 };
      5 float drawcolor[4] = { 1, 0.2, 0.2, 0.7 };
      6 
      7 int bordersize = 6;
      8 
      9 #define LOGO WLR_MODIFIER_LOGO
     10 #define ALT WLR_MODIFIER_ALT
     11 #define CTRL WLR_MODIFIER_CTRL
     12 #define SHFT WLR_MODIFIER_SHIFT
     13 
     14 struct key keys[] = {
     15 	{ LOGO     , XKB_KEY_Escape, kb_terminate, {0     } },
     16 	{ ALT      , XKB_KEY_Tab   , kb_alttab   , {.i = 0} },
     17 	{ ALT|SHFT , XKB_KEY_Tab   , kb_alttab   , {.i = 1} },
     18 	{ LOGO     , XKB_KEY_Return, kb_exec     , {.v = "alacritty"} },
     19 	{ LOGO     , XKB_KEY_d     , kb_desktop  , {0     } },
     20 };
     21 
     22 xkb_mod_mask_t mousemod = LOGO;