From 1dd97eb564a37f2d4450b9f430ff30060721852d Mon Sep 17 00:00:00 2001 From: Alexis Jhon Gaspar Date: Sat, 7 Oct 2023 18:42:04 +0800 Subject: [PATCH] Switch back to renamed_scratchpads --- dwm-flexipatch/config.def.h | 2 +- dwm-flexipatch/patches.def.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dwm-flexipatch/config.def.h b/dwm-flexipatch/config.def.h index c06164c..8469716 100644 --- a/dwm-flexipatch/config.def.h +++ b/dwm-flexipatch/config.def.h @@ -414,7 +414,7 @@ static const char *const autostart[] = { #endif // COOL_AUTOSTART_PATCH #if RENAMED_SCRATCHPADS_PATCH -static const char *scratchpadcmd[] = {"s", "st", "-n", "spterm", NULL}; +static const char *scratchpadcmd[] = {"s", "st", "-n", "spterm", "-g", "120x34", NULL}; #elif SCRATCHPADS_PATCH const char *spcmd1[] = {"st", "-n", "spterm", "-g", "120x34", NULL }; static Sp scratchpads[] = { diff --git a/dwm-flexipatch/patches.def.h b/dwm-flexipatch/patches.def.h index 8c28af7..badce61 100644 --- a/dwm-flexipatch/patches.def.h +++ b/dwm-flexipatch/patches.def.h @@ -914,11 +914,11 @@ * * https://github.com/bakkeby/patches/wiki/renamedscratchpads */ -#define RENAMED_SCRATCHPADS_PATCH 0 +#define RENAMED_SCRATCHPADS_PATCH 1 /* Renamed scratchpads option to auto-hide scratchpads when moving to a different tag. * This behaviour is similar to that of the (multiple) scratchpads patch. */ -#define RENAMED_SCRATCHPADS_AUTO_HIDE_PATCH 9 +#define RENAMED_SCRATCHPADS_AUTO_HIDE_PATCH 0 /* Shifts all clients per tag to leftmost unoccupied tags. * @@ -987,10 +987,10 @@ * https://lists.suckless.org/hackers/2004/17205.html * https://dwm.suckless.org/patches/scratchpads/ */ -#define SCRATCHPADS_PATCH 1 +#define SCRATCHPADS_PATCH 0 /* Minor alteration of the above allowing clients to keep their size and position when shown */ -#define SCRATCHPADS_KEEP_POSITION_AND_SIZE_PATCH 1 +#define SCRATCHPADS_KEEP_POSITION_AND_SIZE_PATCH 0 /* This alternative patch enables a scratchpad feature in dwm similar to the scratchpad * feature in i3wm.