mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
Switch workspace on multiple monitors simultaneously #66
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 @Vernetzt on GitHub (Dec 3, 2021).
Originally assigned to: @LGUG2Z on GitHub.
Probably more of a question/feature request than bug but is it possible to focus/change a workspace on a monitor that the cursor does not currently reside?
komorebi.ahk.
My first thought was that this would do the trick
But this will only change the workspace on monitor 0 or more specifically where the cursor resides.
By setting
focus-follows-mouseandmouse-follows-focustodisableI assumed that would allow for this functionality but it seems I could be wrong.Possibly related to #30 / 2a4e6fa6dac8dc91c18b6939ccdf5408af4a4142?
Windows 11 - 22000.348
komorebi built from master (as of
85fe20ebba)@LGUG2Z commented on GitHub (Dec 3, 2021):
I have just tested this out and for the behaviour I think that you are looking for, it works if
mouse-follows-focusis enabled, but it only works if there is something visible on the monitor that you are trying to change the focused workspace on, so, your example wouldn't work if the current workspace on monitor 1 had no windows, because thefocus-monitorcommand would not move the cursor to monitor 1 and so thefocus-workspacecommand would run on the previously focused monitor.I will look into creating a dedicated focus command that allows users to pass both the monitor index and the workspace index of that monitor, bypassing the cursor position constraint in the individual workspace focus command.
@LGUG2Z commented on GitHub (Dec 3, 2021):
@Vernetzt Please check out this commit and see how that new command works for you:
1ae0a3bf74@Vernetzt commented on GitHub (Dec 3, 2021):
Running
focus-monitor-workspaceseems to work great so far and I haven't run into any unwanted results or errors as of yet.Thanks the quick response and solution. Finding a window manager that suits all of my needs on Windows has been a nearly impossible task so stumbling across this has been a nice surprise. Especially with the possibility of two features I use heavily with my own AHK scripts being looked into. (57 and 34) 42 is also pretty great.
I appreciate the project, thanks!