Replace Self Restart with Restart Sig

- Disable self restart patch
- Enable restart sig patch again
- Replace "Ferdi" window rule with "Ferdium"
This commit is contained in:
Sravan Balaji
2022-06-18 08:07:15 -04:00
parent e2d61fe154
commit 3eddc34482
3 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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