Compare commits
No commits in common. "e3d67700c66ef179c929db0a72d2824934a9b573" and "7c18f117aac313dccd6c4eb58dcb2dea1296e704" have entirely different histories.
e3d67700c6
...
7c18f117aa
|
@ -41,12 +41,11 @@ static Bool npisrelative = False;
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
#if REPARENT_PATCH
|
|
||||||
/* Modify the following line to match your terminal and software list */
|
/* Modify the following line to match your terminal and software list */
|
||||||
#define OPENTERMSOFT(p) { \
|
#define OPENTERMSOFT(p) { \
|
||||||
.v = (char *[]){ "/bin/sh", "-c", \
|
.v = (char *[]){ "/bin/sh", "-c", \
|
||||||
"term='st' && titlearg='-t' && embedarg='-w' &&" \
|
"term='st' && titlearg='-t' && embedarg='-w' &&" \
|
||||||
"softlist=$(printf '%s\n' \"htop\" \"btm\" \"vim\" \"broot\" \"ncmpcpp\" \"cmatrix\" \"cava\" \"pipes.sh\" \"adelle-theme\" \"xplr\" \"ytfzf\" \"newsboat\" \"sfm\" \"vis\" \"sptlrx\" \"nvim\") &&" \
|
"softlist=$(printf '%s\n' \"htop\" \"btm\" \"vim\" \"broot\" \"ncmpcpp\" \"cmatrix\" \"cava\" \"pipes.sh\" \"adelle-theme\" \"xplr\" \"ytfzf\") &&" \
|
||||||
"printf '%s' \"$softlist\" |" \
|
"printf '%s' \"$softlist\" |" \
|
||||||
"spmenu -l 10 -g 1 -p 'Softwares to run: ' |" \
|
"spmenu -l 10 -g 1 -p 'Softwares to run: ' |" \
|
||||||
"xargs -I {} $term $titlearg \"{}\" $embedarg $1 -e \"{}\"", \
|
"xargs -I {} $term $titlearg \"{}\" $embedarg $1 -e \"{}\"", \
|
||||||
|
@ -231,8 +230,6 @@ static Bool npisrelative = False;
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // REPARENT_PATCH
|
|
||||||
|
|
||||||
#if XRESOURCES_PATCH
|
#if XRESOURCES_PATCH
|
||||||
/*
|
/*
|
||||||
* Xresources preferences to load at startup
|
* Xresources preferences to load at startup
|
||||||
|
@ -240,9 +237,9 @@ static Bool npisrelative = False;
|
||||||
ResourcePref resources[] = {
|
ResourcePref resources[] = {
|
||||||
{ "font", STRING, &font },
|
{ "font", STRING, &font },
|
||||||
{ "color0", STRING, &normbgcolor },
|
{ "color0", STRING, &normbgcolor },
|
||||||
{ "color6", STRING, &normfgcolor },
|
{ "color4", STRING, &normfgcolor },
|
||||||
{ "color6", STRING, &selbgcolor },
|
{ "color4", STRING, &selbgcolor },
|
||||||
{ "color0", STRING, &selfgcolor },
|
{ "color7", STRING, &selfgcolor },
|
||||||
{ "color2", STRING, &urgbgcolor },
|
{ "color2", STRING, &urgbgcolor },
|
||||||
{ "color3", STRING, &urgfgcolor },
|
{ "color3", STRING, &urgfgcolor },
|
||||||
};
|
};
|
||||||
|
@ -308,7 +305,7 @@ static const Key keys[] = {
|
||||||
{ MODKEY|ShiftMask, XK_u, toggle, { .v = (void*) &urgentswitch } },
|
{ MODKEY|ShiftMask, XK_u, toggle, { .v = (void*) &urgentswitch } },
|
||||||
|
|
||||||
{ 0, XK_F11, fullscreen, { 0 } },
|
{ 0, XK_F11, fullscreen, { 0 } },
|
||||||
#if REPARENT_PATCH
|
/* Unique functionality */
|
||||||
{ MODKEY|ShiftMask, XK_m, spawn, OPENTERMSOFT("_TABBED_SELECT_TERMAPP") },
|
{ MODKEY|ShiftMask, XK_m, spawn, OPENTERMSOFT("_TABBED_SELECT_TERMAPP") },
|
||||||
{ MODKEY|ShiftMask, XK_u, spawn, OPENTERM("_TABBED_TERM") },
|
{ MODKEY|ShiftMask, XK_u, spawn, OPENTERM("_TABBED_TERM") },
|
||||||
{ MODKEY|ShiftMask, XK_a, spawn, ATTACHWIN("_TABBED_ATTACH_WIN") },
|
{ MODKEY|ShiftMask, XK_a, spawn, ATTACHWIN("_TABBED_ATTACH_WIN") },
|
||||||
|
@ -320,7 +317,6 @@ static const Key keys[] = {
|
||||||
{ MODKEY|ShiftMask, XK_w, spawn, HIDEWINDOW("_TABBED_HIDE_WINDOW") },
|
{ MODKEY|ShiftMask, XK_w, spawn, HIDEWINDOW("_TABBED_HIDE_WINDOW") },
|
||||||
{ MODKEY|ShiftMask, XK_r, spawn, SHOWHIDDEN("_TABBED_SHOW_HIDDEN") },
|
{ MODKEY|ShiftMask, XK_r, spawn, SHOWHIDDEN("_TABBED_SHOW_HIDDEN") },
|
||||||
{ MODKEY|ShiftMask, XK_q, spawn, SHOWHIDDENALL("_TABBED_SHOW_HIDDEN_ALL") },
|
{ MODKEY|ShiftMask, XK_q, spawn, SHOWHIDDENALL("_TABBED_SHOW_HIDDEN_ALL") },
|
||||||
#endif // REPARENT_PATCH
|
|
||||||
#if HIDETABS_PATCH
|
#if HIDETABS_PATCH
|
||||||
{ MODKEY, XK_Shift_L, showbar, { .i = 1 } },
|
{ MODKEY, XK_Shift_L, showbar, { .i = 1 } },
|
||||||
{ ShiftMask, XK_Control_L, showbar, { .i = 1 } },
|
{ ShiftMask, XK_Control_L, showbar, { .i = 1 } },
|
||||||
|
|
|
@ -77,14 +77,6 @@
|
||||||
*/
|
*/
|
||||||
#define KEYRELEASE_PATCH 0
|
#define KEYRELEASE_PATCH 0
|
||||||
|
|
||||||
/* This patch/plugin enables for reparenting windows in tabbed.
|
|
||||||
* Ported from tabbed-hjc. This is designed only in this build, and is not available
|
|
||||||
* under tabbed-flexipatch from upstream.
|
|
||||||
* https://www.reddit.com/r/suckless/comments/gl5cw6/easiest_way_to_tab_basically_any_program/
|
|
||||||
* https://github.com/huijunchen9260/tabbed-hjc
|
|
||||||
*/
|
|
||||||
#define REPARENT_PATCH 1
|
|
||||||
|
|
||||||
/* This patch allows tabbed colors to be defined via Xresources.
|
/* This patch allows tabbed colors to be defined via Xresources.
|
||||||
* https://tools.suckless.org/tabbed/patches/xresources/
|
* https://tools.suckless.org/tabbed/patches/xresources/
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue