summaryrefslogtreecommitdiffhomepage
path: root/config.def.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-04-07 15:35:56 +0200
committerbakkeby <[email protected]>2021-04-07 15:35:56 +0200
commitac737f9dfc427e0713176fc35373cd9410320f19 (patch)
tree8d2c55e04e21cc044dbf435e573884302e09cc07 /config.def.h
parent0c88a49e27fd0888c81aea5dd3eef1c537164a6a (diff)
downloaddwm-flexipatch-ac737f9dfc427e0713176fc35373cd9410320f19.tar.gz
dwm-flexipatch-ac737f9dfc427e0713176fc35373cd9410320f19.zip
Adding xkb patch as per request #111
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 1ac028c..da77ebf 100644
--- a/config.def.h
+++ b/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