From 8b1bdd7ee1ebcdbb3713ffbad4abd3bd2fb533bb Mon Sep 17 00:00:00 2001 From: Alexis Jhon Gaspar Date: Sat, 21 Oct 2023 00:42:29 +0800 Subject: [PATCH] Bug fixing dwm and tabbed --- dwm-flexipatch/config.def.h | 4 ++-- st-flexipatch/patches.def.h | 2 +- tabbed-flexipatch/config.def.h | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dwm-flexipatch/config.def.h b/dwm-flexipatch/config.def.h index 6334402..a51bc3d 100644 --- a/dwm-flexipatch/config.def.h +++ b/dwm-flexipatch/config.def.h @@ -947,7 +947,7 @@ static const Key keys[] = { /* slock must be installed */ { Mod4Mask, XK_l, spawn, SHCMD("slock") }, /* suckless-utils keymaps */ - { Mod4Mask, XK_t, spawn, SHCMD("tabbed -c -r 2 st -w ''") }, + { Mod4Mask, XK_t, spawn, SHCMD("tabbed -r 2 st -w ''") }, { Mod4Mask, XK_i, spawn, SHCMD("firefox") }, { Mod4Mask, XK_e, spawn, SHCMD("st -T broot broot") }, { Mod4Mask|ShiftMask, XK_e, spawn, SHCMD("st -T sfm sfm") }, @@ -1412,7 +1412,7 @@ static const Button buttons[] = { { ClkButton, 0, Button2, spawn, {.v = dmenucmd } /* launch dmenu instead if middle-clicked*/ }, { ClkButton, 0, Button3, spawn, SHCMD("jgmenu_run apps | jgmenu --simple --at-pointer") /* launch jgmenu on right click */ }, { ClkButton2, 0, Button1, spawn, {.v = termcmd } }, - { ClkButton2, 0, Button3, spawn, SHCMD("printf ' New tabbed session, tabbed -c -r 2 st -w \"\"\n New dvtm session, st -T dvtm abduco -c dvtm dvtm-status\n' | jgmenu --simple --at-pointer") }, + { ClkButton2, 0, Button3, spawn, SHCMD("printf ' New tabbed session, tabbed -r 2 st -w \"\"\n New dvtm session, st -T dvtm abduco -c dvtm dvtm-status\n' | jgmenu --simple --at-pointer") }, { ClkButton3, 0, Button1, spawn, SHCMD("firefox") }, { ClkButton3, 0, Button3, spawn, SHCMD("printf ' New Window, firefox\n󱀣 New Private Window, firefox -private-window\n' | jgmenu --simple --at-pointer") }, { ClkButton4, 0, Button1, spawn, SHCMD("st -T ncmpcpp ncmpcpp") }, diff --git a/st-flexipatch/patches.def.h b/st-flexipatch/patches.def.h index 7e8fd09..d367b05 100644 --- a/st-flexipatch/patches.def.h +++ b/st-flexipatch/patches.def.h @@ -322,7 +322,7 @@ * The behavior is similar to Plan 9 where applications can take over windows. * URL TBC */ -#define ST_EMBEDDER_PATCH 1 +#define ST_EMBEDDER_PATCH 0 /* Use inverted defaultbg/fg for selection when bg/fg are the same. * https://st.suckless.org/patches/spoiler/ diff --git a/tabbed-flexipatch/config.def.h b/tabbed-flexipatch/config.def.h index 4b08796..5500d97 100644 --- a/tabbed-flexipatch/config.def.h +++ b/tabbed-flexipatch/config.def.h @@ -210,6 +210,7 @@ static Bool npisrelative = False; } \ } + #if XRESOURCES_PATCH /* * Xresources preferences to load at startup