commit 96a766a0afe713998b53c98ed9d2287b06c003ca
Author: Jens Kristoffersson <144891562+MrJensK@users.noreply.github.com>
AuthorDate: Tue Aug 26 19:07:19 2025 +0200
Commit: GitHub <noreply@github.com>
CommitDate: Tue Aug 26 19:07:19 2025 +0200
Update README.md
---
README.md | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 38098dc..bb97a11 100644
--- a/README.md
+++ b/README.md
@@ -3,16 +3,20 @@ The simple, yet powerful, status bar for Xorg.
#FORK
-Improved Multi-Monitor Workspace Box Handling
-This fork enhances sxbar so that workspace boxes on each monitor only show windows actually present on that monitor—just like dwmbar.
+## Improved Multi-Monitor Workspace Box Handling
-Changes
-Per-monitor window counting:
-Workspace boxes now only count windows located on the current monitor, instead of showing all windows across all screens.
-New helper function:
-Added window_on_monitor(Window win, int monitor_index) to determine if a window belongs to a specific monitor.
-Workspace box logic update:
-The workspace box drawing code now uses this function to filter windows per monitor.
-Result
-Each sxbar instance displays accurate workspace status for its own screen.
-Workspace boxes are now more informative and reflect the actual window layout on each monitor.
+This patch enhances **sxbar** so that workspace boxes on each monitor only show windows actually present on that monitor—just like dwmbar.
+
+### Changes
+
+- **Per-monitor window counting:**
+ Workspace boxes now only count windows located on the current monitor, instead of showing all windows across all screens.
+- **New helper function:**
+ Added `window_on_monitor(Window win, int monitor_index)` to determine if a window belongs to a specific monitor.
+- **Workspace box logic update:**
+ The workspace box drawing code now uses this function to filter windows per monitor.
+
+### Result
+
+- Each sxbar instance displays accurate workspace status for its own screen.
+- Workspace boxes are now more informative and reflect the actual window layout on each monitor.