Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 782f63d8f858b1c14df38aaf623438d7ea2f75e1 Mon Sep 17 00:00:00 2001 |From: mihirlad55 |Date: Mon, 10 Aug 2020 01:39:35 +0000 |Subject: [PATCH] Add support for managing external status bars | |This patch allows dwm to manage other status bars such as |polybar/lemonbar without them needing to set override-redirect. For |all intents and purposes, DWM treats this bar as if it were its own |and as a result helps the status bar and DWM live in harmony. | |This has a few advantages |* The bar does not block fullscreen windows |* DWM makes room for the status bar, so windows do not overlap the bar |* The bar can be hidden/killed and DWM will not keep an unsightly gap | where the bar was |* DWM receives EnterNotify events when your cursor enters the bar | |To use another status bar, set usealtbar to 1 in your config.h and set |altbarclass to the class name (can be found using xprop) to the class |name of your status bar. Also make sure that if your status bar will |be displayed on top, topbar is set to 1 in your config, and if it will |be displayed on bottom, topbar is set to 0. This patch does not |support bars that are not docked at the top or at the bottom of your |monitor. | |The patch is developed at https://github.com/mihirlad55/dwm-anybar |--- | config.def.h | 3 ++ | dwm.c | 114 ++++++++++++++++++++++++++++++++++++++++++++------- | 2 files changed, 103 insertions(+), 14 deletions(-) | |diff --git a/config.def.h b/config.def.h |index 1c0b587..d0d60aa 100644 |--- a/config.def.h |+++ b/config.def.h -------------------------- Patching file config.def.h using Plan A... Hunk #1 succeeded at 5. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/dwm.c b/dwm.c |index 9fd0286..f149ab4 100644 |--- a/dwm.c |+++ b/dwm.c -------------------------- Patching file dwm.c using Plan A... Hunk #1 succeeded at 47. Hunk #2 succeeded at 116. Hunk #3 succeeded at 179. Hunk #4 succeeded at 208. Hunk #5 succeeded at 218. Hunk #6 succeeded at 233. Hunk #7 succeeded at 509. Hunk #8 succeeded at 574. Hunk #9 succeeded at 645. Hunk #10 succeeded at 656. Hunk #11 succeeded at 706. Hunk #12 succeeded at 1090. Hunk #13 succeeded at 1129. Hunk #14 succeeded at 1427. Hunk #15 succeeded at 1582. Hunk #16 succeeded at 1631. Hunk #17 succeeded at 1690. Hunk #18 succeeded at 1748. Hunk #19 succeeded at 1831. Hunk #20 succeeded at 1858. Hunk #21 succeeded at 1893. Hunk #22 succeeded at 2141. Hmm... Ignoring the trailing garbage. done