mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[FEAT]: ability to swap focused WS on one monitor with visible WS on other monitor #445
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?
Originally created by @edgimar on GitHub (Aug 14, 2024).
In issue #88, the question was brought up as to whether Komorebi is able to replicate xmonad-like behavior. The
move-workspace-to-monitorcommand was introduced to address this, but it does not handle the use-case of wanting to swap focused workspaces. For example, let's assume we have the following:The behavior I would like to see is a command that results in the following:
(or maybe an additional command parameter to affect which monitor is focused in the end)
Is this currently possible in any easy way? If not, would it be possible to add something like a
swap-workspace-with-monitorcommand?@LeoCalbi commented on GitHub (Oct 21, 2024):
Hi,
I managed to achieve something similar to what you're describing with this workaround:
This allows the swap only if necessary and focused the target workspace in the source monitor.
Hopefully it's somewhat useful, let me know if you manage to find a better way.