mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-21 08:01:39 +01:00
This commit migrates the code needed from komorebi to implement basic workspace support. The FocusWorkspaceNumber, MoveContainerToWorkspaceNumber and SendContainerToWorkspaceNumber SocketMessage variants have been implemented in process_command, and the commands to emit those SocketMessage variants have been added to komorebic. I took a stab at improving the code for hiding the windows by moving them as off-screen as possible by taking inspiration of Aerospace's approach of trying to leave only 1px of them visible. Right now this always looks to put the hidden windows off-screen on the left side of the screen.