mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1244] [MERGED] Notify monitor events to subscribers #1271
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:feat/notify-monitor-events-to-subscribers📝 Commits (2)
587afd1feat(wm): notify subscribers of monitor events0d08989feat(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.