summaryrefslogtreecommitdiffhomepage
path: root/config.def.h
diff options
context:
space:
mode:
authormatt <[email protected]>2021-01-02 01:26:21 +0100
committermatt <[email protected]>2021-01-02 01:26:21 +0100
commit5fd83cb76b4203581fe4dcb382f9e11bec7ad65e (patch)
tree2edfb0da571b85ca4c8ad9348723cb5321e38830 /config.def.h
parent44ea8f5cce5ec12649e928cacc3d47cd2fec9a8e (diff)
downloaddwm-flexipatch-5fd83cb76b4203581fe4dcb382f9e11bec7ad65e.tar.gz
dwm-flexipatch-5fd83cb76b4203581fe4dcb382f9e11bec7ad65e.zip
added the layoutmenu patch
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 4382560..f471573 100644
--- a/config.def.h
+++ b/config.def.h
@@ -297,6 +297,10 @@ static char *statuscolors[][ColCount] = {
};
#endif // BAR_POWERLINE_STATUS_PATCH
+#if BAR_LAYOUTMENU_PATCH
+static const char *layoutmenu_cmd = "layoutmenu.sh";
+#endif
+
#if COOL_AUTOSTART_PATCH
static const char *const autostart[] = {
"st", NULL,
@@ -1134,8 +1138,12 @@ static Button buttons[] = {
{ ClkButton, 0, Button1, spawn, {.v = dmenucmd } },
#endif // BAR_STATUSBUTTON_PATCH
{ ClkLtSymbol, 0, Button1, setlayout, {0} },
+ #if BAR_LAYOUTMENU_PATCH
+ { ClkLtSymbol, 0, Button3, layoutmenu, {0} },
+ #else
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
- #if BAR_WINTITLEACTIONS_PATCH
+ #endif // BAR_LAYOUTMENU_PATCH
+ #if BAR_WINTITLEACTIONS_PATCH
{ ClkWinTitle, 0, Button1, togglewin, {0} },
{ ClkWinTitle, 0, Button3, showhideclient, {0} },
#endif // BAR_WINTITLEACTIONS_PATCH