commit 2ba1e666b5467e4d8ee7fc328b30a1ff26cd9c01
Author: Jens Kristoffersson <144891562+MrJensK@users.noreply.github.com>
AuthorDate: Tue Aug 26 19:06:20 2025 +0200
Commit: GitHub <noreply@github.com>
CommitDate: Tue Aug 26 19:06:20 2025 +0200
Update README.md
---
README.md | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/README.md b/README.md
index 29be04c..38098dc 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,18 @@
# sxbar
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.
+
+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.