summaryrefslogtreecommitdiffhomepage
path: root/config.def.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-02-16 10:26:49 +0100
committerbakkeby <[email protected]>2021-02-16 10:26:49 +0100
commitf5bbd9b4c3b049bb6a74d906e144c1a2e8284337 (patch)
tree90bf223611af938a9552ec5921d1b44e3554548d /config.def.h
parent009b84cbdc0495807c054564d45c66bda601dd3f (diff)
downloaddwm-flexipatch-f5bbd9b4c3b049bb6a74d906e144c1a2e8284337.tar.gz
dwm-flexipatch-f5bbd9b4c3b049bb6a74d906e144c1a2e8284337.zip
riodraw: upgrading patch to include rio-spawning of windows
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index ecd9036..4f914eb 100644
--- a/config.def.h
+++ b/config.def.h
@@ -53,7 +53,12 @@ static int floatposgrid_x = 5; /* float grid columns */
static int floatposgrid_y = 5; /* float grid rows */
#endif // FLOATPOS_PATCH
#if RIODRAW_PATCH
-static const char slopstyle[] = "-t 0 -c 0.92,0.85,0.69,0.3"; /* do NOT define -f (format) here */
+static const char slopspawnstyle[] = "-t 0 -c 0.92,0.85,0.69,0.3 -o"; /* do NOT define -f (format) here */
+static const char slopresizestyle[] = "-t 0 -c 0.92,0.85,0.69,0.3"; /* do NOT define -f (format) here */
+static const int riodraw_borders = 0; /* 0 or 1, indicates whether the area drawn using slop includes the window borders */
+#if SWALLOW_PATCH
+static const int riodraw_matchpid = 1; /* 0 or 1, indicates whether to match the PID of the client that was spawned with riospawn */
+#endif // SWALLOW_PATCH
#endif // RIODRAW_PATCH
#if BAR_STATUSPADDING_PATCH
static const int horizpadbar = 2; /* horizontal padding for statusbar */
@@ -757,6 +762,11 @@ static Key keys[] = {
#endif // KEYMODES_PATCH
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
+ #if RIODRAW_PATCH
+ { MODKEY|ControlMask, XK_p, riospawnsync, {.v = dmenucmd } },
+ { MODKEY|ControlMask, XK_Return, riospawn, {.v = termcmd } },
+ { MODKEY, XK_s, rioresize, {0} },
+ #endif // RIODRAW_PATCH
{ MODKEY, XK_b, togglebar, {0} },
#if FOCUSMASTER_PATCH
{ MODKEY|ControlMask, XK_space, focusmaster, {0} },
@@ -777,9 +787,6 @@ static Key keys[] = {
#if SWAPFOCUS_PATCH && PERTAG_PATCH
{ MODKEY, XK_s, swapfocus, {.i = -1 } },
#endif // SWAPFOCUS_PATCH
- #if RIODRAW_PATCH
- { MODKEY|ControlMask, XK_s, riodraw, {0} },
- #endif // RIODRAW_PATCH
#if SWITCHCOL_PATCH
{ MODKEY, XK_v, switchcol, {0} },
#endif // SWITCHCOL_PATCH