[PR #1244] [MERGED] Notify monitor events to subscribers #1271

Closed
opened 2026-01-05 14:54:42 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/1244
Author: @alex-ds13
Created: 1/24/2025
Status: Merged
Merged: 1/24/2025
Merged by: @LGUG2Z

Base: masterHead: feat/notify-monitor-events-to-subscribers


📝 Commits (2)

  • 587afd1 feat(wm): notify subscribers of monitor events
  • 0d08989 feat(bar): update bar on display connection change

📊 Changes

6 files changed (+82 additions, -19 deletions)

View changed files

📝 komorebi-bar/src/bar.rs (+37 -0)
📝 komorebi-bar/src/komorebi.rs (+1 -0)
📝 komorebi-client/src/lib.rs (+1 -0)
📝 komorebi/src/lib.rs (+2 -0)
📝 komorebi/src/monitor_reconciliator/hidden.rs (+7 -7)
📝 komorebi/src/monitor_reconciliator/mod.rs (+34 -12)

📄 Description

This PR allows notifying the subscribers of any monitor events like display connection change or work area change. It also makes use of these new monitor notifications on the komorebi-bar to update the bar when the displays connections changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/LGUG2Z/komorebi/pull/1244 **Author:** [@alex-ds13](https://github.com/alex-ds13) **Created:** 1/24/2025 **Status:** ✅ Merged **Merged:** 1/24/2025 **Merged by:** [@LGUG2Z](https://github.com/LGUG2Z) **Base:** `master` ← **Head:** `feat/notify-monitor-events-to-subscribers` --- ### 📝 Commits (2) - [`587afd1`](https://github.com/LGUG2Z/komorebi/commit/587afd1ba167649482127f3e9bf6b8a26fb55a9c) feat(wm): notify subscribers of monitor events - [`0d08989`](https://github.com/LGUG2Z/komorebi/commit/0d08989fcd90456b2df36a44708413c21a7b8805) feat(bar): update bar on display connection change ### 📊 Changes **6 files changed** (+82 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `komorebi-bar/src/bar.rs` (+37 -0) 📝 `komorebi-bar/src/komorebi.rs` (+1 -0) 📝 `komorebi-client/src/lib.rs` (+1 -0) 📝 `komorebi/src/lib.rs` (+2 -0) 📝 `komorebi/src/monitor_reconciliator/hidden.rs` (+7 -7) 📝 `komorebi/src/monitor_reconciliator/mod.rs` (+34 -12) </details> ### 📄 Description This PR allows notifying the subscribers of any monitor events like display connection change or work area change. It also makes use of these new monitor notifications on the komorebi-bar to update the bar when the displays connections changes. <!-- Please follow the Conventional Commits specification. If you need to update your PR with changes from `master`, please run `git rebase master`. By opening this PR, you confirm that you have read and understood this project's `CONTRIBUTING.md`. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-01-05 14:54:42 +01:00
adam closed this issue 2026-01-05 14:54:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#1271