Replies: 1 comment 1 reply
-
Another way that comes to mind is making named workspaces per monitor (i.e. mon1-1, mon1-2, mon1-3, ..., mon2-1, mon2-2, mon2-3), then writing a script that uses niri IPC to check which monitor is currently focused, and picks the right workspace to switch to. Either way, it's gonna be hacky because you're working around niri's dynamic workspace system. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I thought someone would have asked about this before, but I couldn't find it, so I'm starting this discussion.
While it is currently possible to have something akin to non-dynamic workspaces (named workspaces), they don't seem to work all that well when using more than one monitor. The reason is rather obvious: They're named, so they're unique, which means that they can only be assigned to a single monitor.
Currently, I am using named workspaces, which means that, when I press, for instance, Mod+1, shortcut which is defined as (note that "1" is a named workspace):
I am automatically moved to the monitor assigned to the workspace with the name "1". However, my objective is to have each monitor have a workspace named "1", and depending on which monitor is currently in focus, the workspace "1" that I go to changes.
I see two ways of going about this:
However, since I couldn't find a way to do either, I am asking here.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions