riodraw: upgrading patch to include rio-spawning of windows
This commit is contained in:
15
config.def.h
15
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
|
||||
|
Reference in New Issue
Block a user