From 3eddc34482d1e372822b72267800ec77b9934d68 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sat, 18 Jun 2022 08:07:15 -0400 Subject: [PATCH] Replace Self Restart with Restart Sig - Disable self restart patch - Enable restart sig patch again - Replace "Ferdi" window rule with "Ferdium" --- README.org | 6 +++--- config.def.h | 2 +- patches.def.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index 8541cab..c4c0a95 100644 --- a/README.org +++ b/README.org @@ -2507,7 +2507,7 @@ Additionally dwm can quit cleanly by using kill -TERM dwmpid. https://dwm.suckless.org/patches/restartsig/ #+BEGIN_SRC c :tangle patches.def.h -#define RESTARTSIG_PATCH 0 +#define RESTARTSIG_PATCH 1 #+END_SRC *** Rio Draw @@ -2626,7 +2626,7 @@ Allows restarting dwm without the dependency of an external script. https://dwm.suckless.org/patches/selfrestart/ #+BEGIN_SRC c :tangle patches.def.h -#define SELFRESTART_PATCH 1 +#define SELFRESTART_PATCH 0 #+END_SRC *** Send Monitor Keep Focus @@ -3989,7 +3989,7 @@ static const Rule rules[] = { RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) RULE(.title = "Picture in picture", .isfloating = 1) - RULE(.class = "Ferdi", .tags = 1 << 0) + RULE(.class = "Ferdium", .tags = 1 << 0) RULE(.class = "Signal", .tags = 1 << 0) RULE(.class = "discord", .tags = 1 << 0) RULE(.class = "Microsoft Teams - Preview", .tags = 1 << 0) diff --git a/config.def.h b/config.def.h index a108b42..03c20d4 100644 --- a/config.def.h +++ b/config.def.h @@ -410,7 +410,7 @@ static const Rule rules[] = { RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) RULE(.title = "Picture in picture", .isfloating = 1) - RULE(.class = "Ferdi", .tags = 1 << 0) + RULE(.class = "Ferdium", .tags = 1 << 0) RULE(.class = "Signal", .tags = 1 << 0) RULE(.class = "discord", .tags = 1 << 0) RULE(.class = "Microsoft Teams - Preview", .tags = 1 << 0) diff --git a/patches.def.h b/patches.def.h index da7d315..3b1f622 100644 --- a/patches.def.h +++ b/patches.def.h @@ -237,7 +237,7 @@ #define RESIZEPOINT_PATCH 0 -#define RESTARTSIG_PATCH 0 +#define RESTARTSIG_PATCH 1 #define RIODRAW_PATCH 0 @@ -257,7 +257,7 @@ #define SELECTIVEFAKEFULLSCREEN_PATCH 0 -#define SELFRESTART_PATCH 1 +#define SELFRESTART_PATCH 0 #define SENDMON_KEEPFOCUS_PATCH 0