[wiki] [sites] Removed the 'statusmon' patch, as it is redundant, since the 'statusallmons' and 'mainmon' patches exist || Théo Ertzscheid

From: <git_AT_suckless.org>
Date: Wed, 01 Jun 2022 20:54:58 +0200

commit ca2377967c11da02fbe55db7d9023c80d543b417
Author: Théo Ertzscheid <theoertzscheid_AT_tutanota.com>
Date: Wed Jun 1 20:53:54 2022 +0200

    Removed the 'statusmon' patch, as it is redundant, since the 'statusallmons' and 'mainmon'
    patches exist

diff --git a/dwm.suckless.org/patches/statusmon/dwm-statusmon-6.2.diff b/dwm.suckless.org/patches/statusmon/dwm-statusmon-6.2.diff
deleted file mode 100644
index ad1ac714..00000000
--- a/dwm.suckless.org/patches/statusmon/dwm-statusmon-6.2.diff
+++ /dev/null
_AT_@ -1,23 +0,0 @@
-diff '--color=auto' -up dwm-6.2/config.def.h dwm-6.2.mod/config.def.h
---- dwm-6.2/config.def.h 2019-02-02 13:55:28.000000000 +0100
-+++ dwm-6.2.mod/config.def.h 2022-01-03 20:26:11.471155370 +0100
-_AT_@ -5,6 +5,7 @@ static const unsigned int borderpx = 1;
- static const unsigned int snap = 32; /* snap pixel */
- static const int showbar = 1; /* 0 means no bar */
- static const int topbar = 1; /* 0 means bottom bar */
-+static const int statusmon = 0; /* monitor to draw status on */
- static const char *fonts[] = { "monospace:size=10" };
- static const char dmenufont[] = "monospace:size=10";
- static const char col_gray1[] = "#222222";
-diff '--color=auto' -up dwm-6.2/dwm.c dwm-6.2.mod/dwm.c
---- dwm-6.2/dwm.c 2019-02-02 13:55:28.000000000 +0100
-+++ dwm-6.2.mod/dwm.c 2022-01-03 20:25:13.845842063 +0100
-_AT_@ -702,7 +702,7 @@ drawbar(Monitor *m)
- Client *c;
-
- /* draw status first so it can be overdrawn by tags later */
-- if (m == selmon) { /* status is only drawn on selected monitor */
-+ if (m->num == statusmon) { /* status is only drawn on one monitor, configured by statusmon variable*/
- drw_setscheme(drw, scheme[SchemeNorm]);
- sw = TEXTW(stext) - lrpad + 2; /* 2px right padding */
- drw_text(drw, m->ww - sw, 0, sw, bh, 0, stext, 0);
diff --git a/dwm.suckless.org/patches/statusmon/index.md b/dwm.suckless.org/patches/statusmon/index.md
deleted file mode 100644
index 8b5d73e8..00000000
--- a/dwm.suckless.org/patches/statusmon/index.md
+++ /dev/null
_AT_@ -1,17 +0,0 @@
-statusmon
-========
-
-Description
------------
-This patch changes the default behavior of drawing the status on whichever
-monitor is currently selected to always drawing it on a certain monitor,
-configured via the `statusmon` variable in config.h
-
-
-Download
---------
-* [dwm-statusmon-6.2.diff](dwm-statusmon-6.2.diff)(2022-01-03)
-
-Author
-------
-* Théo Ertzscheid - <theoertzscheid_AT_tutanota.com>
Received on Wed Jun 01 2022 - 20:54:58 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 01 2022 - 21:00:39 CEST