Adding xkb patch as per request #111
This commit is contained in:
11
config.def.h
11
config.def.h
@@ -483,6 +483,9 @@ static const BarRule barrules[] = {
|
||||
#elif BAR_STATUS_PATCH
|
||||
{ 'A', 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_status, "status" },
|
||||
#endif // BAR_STATUS2D_PATCH | BAR_STATUSCMD_PATCH
|
||||
#if XKB_PATCH
|
||||
{ 0, 0, BAR_ALIGN_RIGHT, width_xkb, draw_xkb, click_xkb, "xkb" },
|
||||
#endif // XKB_PATCH
|
||||
#if BAR_FLEXWINTITLE_PATCH
|
||||
{ -1, 0, BAR_ALIGN_NONE, width_flexwintitle, draw_flexwintitle, click_flexwintitle, "flexwintitle" },
|
||||
#elif BAR_TABGROUPS_PATCH
|
||||
@@ -660,6 +663,14 @@ static const Layout layouts[] = {
|
||||
};
|
||||
#endif // FLEXTILE_DELUXE_LAYOUT
|
||||
|
||||
#if XKB_PATCH
|
||||
/* xkb frontend */
|
||||
static const char *xkb_layouts[] = {
|
||||
"en",
|
||||
"ru",
|
||||
};
|
||||
#endif // XKB_PATCH
|
||||
|
||||
/* key definitions */
|
||||
#define MODKEY Mod1Mask
|
||||
#if COMBO_PATCH && SWAPTAGS_PATCH && TAGOTHERMONITOR_PATCH
|
||||
|
Reference in New Issue
Block a user