From 2c74bdd2b8f1443e4cfa90c26948ff554a46e623 Mon Sep 17 00:00:00 2001
From: Luca Bilke <bilke@tralios.de>
Date: Tue, 14 May 2024 10:25:15 +0200
Subject: [PATCH 1/4] switch back to firefox

---
 config.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.h b/config.h
index 24bc1f1..473d673 100644
--- a/config.h
+++ b/config.h
@@ -5,9 +5,9 @@
 #define TERM_FLAG_EXEC "-e"
 #define TERM_FLAG_CLASS "-c"
 
-#define BROWSER "brave-browser"
-#define BROWSER_FLAG_INCOG "--incognito"
-#define BROWSER_FLAG_1 "--enable-blink-features=MiddleClickAutoscroll"
+#define BROWSER "firefox"
+#define BROWSER_FLAG_INCOG "--private-window"
+#define BROWSER_FLAG_1 "--disable-pinch"
 
 #define STATUSBAR "dwmblocks"
 

From abb030933cb8e517467c2911b3bca37b2d5c8273 Mon Sep 17 00:00:00 2001
From: Luca Bilke <bilke@tralios.de>
Date: Wed, 15 May 2024 17:22:27 +0200
Subject: [PATCH 2/4] add clipmenu binding

---
 config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.h b/config.h
index 3152f16..872dcdc 100644
--- a/config.h
+++ b/config.h
@@ -206,7 +206,7 @@ static const Key keys[] = {
     // { MODKEY | ShiftMask,  XK_F3,              spawn,              {.v = (const char *[]){NULL}} },
     { MODKEY,              XK_F4,              spawn,              SHCMD("$HOME/.local/libexec/dwm/togcompositor") },
     // { MODKEY | ShiftMask,  XK_F4,              spawn,              {.v = (const char *[]){NULL}} },
-    // { MODKEY,              XK_F5,              spawn,              {.v = (const char *[]){NULL}} },
+    { MODKEY,              XK_F5,              spawn,              {.v = (const char *[]){"clipmenu", NULL}} },
     // { MODKEY | ShiftMask,  XK_F5,              spawn,              {.v = (const char *[]){NULL}} },
     // { MODKEY,              XK_F6,              spawn,              {.v = (const char *[]){NULL}} },
     // { MODKEY | ShiftMask,  XK_F6,              spawn,              {.v = (const char *[]){NULL}} },

From 44156ba49fac3f6a4bba6f459e5423536f8c258c Mon Sep 17 00:00:00 2001
From: Luca Bilke <bilke@tralios.de>
Date: Wed, 15 May 2024 17:57:25 +0200
Subject: [PATCH 3/4] add floatrule for dragon

---
 config.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config.h b/config.h
index 872dcdc..58a9790 100644
--- a/config.h
+++ b/config.h
@@ -141,6 +141,7 @@ static const Rule rules[] = {
     RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1)
     RULE(.wintype = WTYPE "SPLASH", .isfloating = 1)
     RULE(.role = "pop-up", .isfloating = 1)
+    RULE(.class = "Dragon-drop", .isfloating = 1, .iscentered = 1)
     RULE(.class = "St", .isfloating = 0)
     RULE(.class = "mpv", .isfloating = 0)
     RULE(.class = "Ferdium", .monitor = 1, .tags = 1 << 0)

From da353dc48ab1dae3ac9696dfdc6e44ccccbcc998 Mon Sep 17 00:00:00 2001
From: Luca Bilke <bilke@tralios.de>
Date: Fri, 17 May 2024 13:47:17 +0200
Subject: [PATCH 4/4] disable toggle patches, switch to attachbottom

---
 patches.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/patches.h b/patches.h
index fab496d..4b63e4d 100644
--- a/patches.h
+++ b/patches.h
@@ -466,7 +466,7 @@
  * This patch takes precedence over ATTACHBELOW_PATCH.
  * https://dwm.suckless.org/patches/attachaside/
  */
-#define ATTACHASIDE_PATCH 1
+#define ATTACHASIDE_PATCH 0
 
 /* This patch adds new clients below the selected client.
  * This patch takes precedence over ATTACHBOTTOM_PATCH.
@@ -477,7 +477,7 @@
 /* This patch adds new clients at the bottom of the stack.
  * https://dwm.suckless.org/patches/attachbottom/
  */
-#define ATTACHBOTTOM_PATCH 0
+#define ATTACHBOTTOM_PATCH 1
 
 /* This patch will make dwm run "~/.local/share/dwm/autostart_blocking.sh" and
  * "~/.local/share/dwm/autostart.sh &" before entering the handler loop. One or
@@ -521,7 +521,7 @@
  * adding wintype as a client rule filter, hence this no longer works out of the box. This
  * patch restores previous behaviour with the center patch.
  */
-#define CENTER_TRANSIENT_WINDOWS_PATCH 1
+#define CENTER_TRANSIENT_WINDOWS_PATCH 0
 
 /* As above, except that the transient window is centered within the position of the parent
  * window, rather than at the center of the screen. This takes precedence over the above patch.
@@ -1304,7 +1304,7 @@
  * https://github.com/bakkeby/patches/wiki/togglelayout
  */
 
-#define TOGGLELAYOUT_PATCH 1
+#define TOGGLELAYOUT_PATCH 0
 
 /* Minor patch that lets you use the same keyboard shortcut to toggle to the previous tag if the
  * designated tag is already active.
@@ -1317,7 +1317,7 @@
  * https://www.reddit.com/r/suckless/comments/ik27vd/key_toggle_between_next_and_previous_tag_dwm/
  * https://github.com/bakkeby/patches/wiki/toggletag
  */
-#define TOGGLETAG_PATCH 1
+#define TOGGLETAG_PATCH 0
 
 /* Lets you transfer the currently focused client between the master and stack area
  * while increasing or decreasing the master area (nmaster) accordingly.