From ce9bb69859e5816dcfd83f7d783fab1a1e5d1b60 Mon Sep 17 00:00:00 2001 From: Milarin Date: Tue, 19 Mar 2024 19:20:24 +0100 Subject: [PATCH] added new events introduced in Hyprland versions from v0.36.0 to v0.37.1 --- model_event.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/model_event.go b/model_event.go index a73c73a..73e7ea9 100644 --- a/model_event.go +++ b/model_event.go @@ -31,8 +31,10 @@ const ( EventTypeActiveWindowV2 EventType = "activewindowv2" EventTypeKeyboardFocus EventType = "keyboardfocus" EventTypeMoveWorkspace EventType = "moveworkspace" + EventTypeMoveWorkspaceV2 EventType = "moveworkspacev2" EventTypeFocusedMon EventType = "focusedmon" EventTypeMoveWindow EventType = "movewindow" + EventTypeMoveWindowV2 EventType = "movewindowv2" EventTypeOpenLayer EventType = "openlayer" EventTypeCloseLayer EventType = "closelayer" EventTypeOpenWindow EventType = "openwindow" @@ -40,12 +42,16 @@ const ( EventTypeUrgent EventType = "urgent" EventTypeMinimize EventType = "minimize" EventTypeMonitorAdded EventType = "monitoradded" + EventTypeMonitorAddedV2 EventType = "monitoraddedv2" EventTypeMonitorRemoved EventType = "monitorremoved" EventTypeCreateWorkspace EventType = "createworkspace" + EventTypeCreateWorkspaceV2 EventType = "createworkspacev2" EventTypeDestroyWorkspace EventType = "destroyworkspace" + EventTypeDestroyWorkspaceV2 EventType = "destroyworkspacev2" EventTypeFullscreen EventType = "fullscreen" EventTypeChangeFloatingMode EventType = "changefloatingmode" EventTypeWorkspace EventType = "workspace" + EventTypeWorkspaceV2 EventType = "workspacev2" EventTypeSubmap EventType = "submap" EventTypeMouseMove EventType = "mousemove" EventTypeMouseButton EventType = "mousebutton"