commit 11340f6f25763c0e9a47f41ef04510bdbf2592f6
parent 1e6061a94db267071b35531f9c604ace386b3a6e
Author: Jacob R. Edwards <n/a>
Date: Mon, 7 Feb 2022 20:57:29 -0800
Split dwm patch into two files
Move config.h hunk to monocount-option-config.diff from
monocount-option.diff.
Diffstat:
2 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/local/src/src/fork/dwm/patches/monocount-option-config.diff b/local/src/src/fork/dwm/patches/monocount-option-config.diff
@@ -0,0 +1,15 @@
+Author: Jacob R. Edwards
+Date: 2022-02-07
+
+Add monocount option to config.h.
+
+--- config.h.orig Mon Feb 7 20:42:05 2022
++++ config.h Mon Feb 7 20:42:58 2022
+@@ -38,6 +38,7 @@ static const int resizehints = 0; /* 1 means respect s
+ static const float mfact = 0.6; /* factor of master area size [0.05..0.95] */
+ static const int nmaster = 1; /* number of clients in master area */
+ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
++static const int monocount = 1; /* 1 will override the monocle label with number of clients */
+
+ static const Layout layouts[] = {
+ /* symbol, arrange function */
diff --git a/local/src/src/fork/dwm/patches/monocount-option.diff b/local/src/src/fork/dwm/patches/monocount-option.diff
@@ -14,18 +14,6 @@ diff -up dwm-6.3.orig/config.def.h dwm-6.3/config.def.h
static const Layout layouts[] = {
/* symbol arrange function */
-diff -up dwm-6.3.orig/config.h dwm-6.3/config.h
---- config.h.orig Mon Feb 7 16:10:11 2022
-+++ config.h Mon Feb 7 16:10:39 2022
-@@ -38,6 +38,7 @@ static const int resizehints = 0; /* 1 means respect s
- static const float mfact = 0.6; /* factor of master area size [0.05..0.95] */
- static const int nmaster = 1; /* number of clients in master area */
- static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
-+static const int monocount = 1; /* 1 will override the monocle label with number of clients */
-
- static const Layout layouts[] = {
- /* symbol, arrange function */
-
diff -up dwm-6.3.orig/dwm.c dwm-6.3/dwm.c
--- dwm-6.3.orig/dwm.c Mon Feb 7 15:54:31 2022
+++ dwm-6.3/dwm.c Mon Feb 7 15:59:21 2022