mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-09-18 07:41:25 +02:00
feat(bar): update bar on display connection change
Use the new `MonitorNotification` to reapply the config and recalculate the position on `MonitorNotification::DisplayConnectionChange`.
This commit is contained in:
@@ -505,6 +505,7 @@ impl KomorebiNotificationState {
|
||||
) {
|
||||
match notification.event {
|
||||
NotificationEvent::WindowManager(_) => {}
|
||||
NotificationEvent::Monitor(_) => {}
|
||||
NotificationEvent::Socket(message) => match message {
|
||||
SocketMessage::ReloadStaticConfiguration(path) => {
|
||||
if let Ok(config) = komorebi_client::StaticConfig::read(&path) {
|
||||
|
||||
Reference in New Issue
Block a user