Adding xkb patch as per request #111

This commit is contained in:
bakkeby
2021-04-07 15:35:56 +02:00
parent 0c88a49e27
commit ac737f9dfc
8 changed files with 193 additions and 1 deletions

View File

@@ -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