Introduction
Introduction Statistics Contact Development Disclaimer Help
[dwm][patch] statusallmons - Update to 6.5 - sites - public wiki contents of su…
git clone git://git.suckless.org/sites
Log
Files
Refs
---
commit 6560e758809f4ba42a2dac35d7e74ed5ceea6cb5
parent 27e83c3b4eef48136b72c6a4ced5e628fef09706
Author: Bang Lee <[email protected]>
Date: Thu, 22 May 2025 14:12:51 -0700
[dwm][patch] statusallmons - Update to 6.5
Diffstat:
A dwm.suckless.org/patches/statusall… | 38 +++++++++++++++++++++++++++…
M dwm.suckless.org/patches/statusall… | 2 ++
2 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/dwm.suckless.org/patches/statusallmons/dwm-statusallmons-6.5.diff …
@@ -0,0 +1,38 @@
+From 8b5466b921242f0c83376c525d4a20b100a405f8 Mon Sep 17 00:00:00 2001
+From: Bang Lee <[email protected]>
+Date: Thu, 22 May 2025 14:05:36 -0700
+Subject: [PATCH] statusbar on all monitors
+
+---
+ dwm.c | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/dwm.c b/dwm.c
+index 2829160..725e68b 100644
+--- a/dwm.c
++++ b/dwm.c
+@@ -707,7 +707,7 @@ drawbar(Monitor *m)
+ return;
+
+ /* draw status first so it can be overdrawn by tags later */
+- if (m == selmon) { /* status is only drawn on selected monitor */
++ if (m == selmon || 1) { /* status is only drawn on selected monitor */
+ drw_setscheme(drw, scheme[SchemeNorm]);
+ tw = TEXTW(stext) - lrpad + 2; /* 2px right padding */
+ drw_text(drw, m->ww - tw, 0, tw, bh, 0, stext, 0);
+@@ -2006,9 +2006,11 @@ updatesizehints(Client *c)
+ void
+ updatestatus(void)
+ {
++ Monitor* m;
+ if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
+ strcpy(stext, "dwm-"VERSION);
+- drawbar(selmon);
++ for(m = mons; m; m = m->next)
++ drawbar(selmon);
+ }
+
+ void
+--
+2.49.0
+
diff --git a/dwm.suckless.org/patches/statusallmons/index.md b/dwm.suckless.org…
@@ -7,6 +7,7 @@ This patch draws and updates the statusbar on all monitors.
Download
--------
+* [dwm-statusallmons-6.5.diff](dwm-statusallmons-6.5.diff)
* [dwm-statusallmons-6.2.diff](dwm-statusallmons-6.2.diff)
* [dwm-statusallmons-20160731-56a31dc.diff](dwm-statusallmons-20160731-56a31dc…
* [dwm-6.1-statusallmons.diff](dwm-6.1-statusallmons.diff) (1026b) (20140209)
@@ -18,3 +19,4 @@ Author
* Pascal Wittmann - <[email protected]>
* Updated by Jan Christoph Ebersbach - <[email protected]>
* Updated to 6.2 by Tuxway Suckless - <[email protected]>
+* Updated to 6.5 by Bang Lee - <[email protected]>
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.