shezdy / hyprsplit

hyprland plugin for separate sets of workspaces on each monitor
BSD 3-Clause "New" or "Revised" License
123 stars 8 forks source link

Compatibility with hy3:movetoworkspace #32

Closed outfoxxed closed 1 month ago

outfoxxed commented 1 month ago

Had an issue https://github.com/outfoxxed/hy3/issues/144 opened on hy3 requesting compatibility.

I don't use hyprsplit personally, but I assume split:movetoworkspace doesn't do anything special except selecting a different internal workspace than hyprland would.

Do you think you could provide a function we could dlsym to get a PHLWORKSPACE from a name? e.g. APICALL EXPORT PHLWORKSPACE getHyprsplitWorkspace(std::string_view name); (apicall and export from the plugin api headers)