Remix.run Logo
nolist_policy 2 days ago

Slightly off topic: Does anyone know a window manager where you can map virtual desktops to real monitors? E.g. When I'm on the move I cycle through my virtual desktops on my laptop screen, but when connecting a monitor I want to cycle between my virtual desktops independently on either screen. While both screens share the same set of virtual desktops.

wink 5 hours ago | parent | next [-]

Not sure I understand, but maybe check out https://github.com/tmfink/i3-wk-switch for i3/sway, maybe it does what you want (as I understood it)

mplanchard 2 days ago | parent | prev [-]

If I'm understanding the ask, I think niri has this. Workspaces for each output are independent, and switching between them only affects the focused output.

noplacelikehome 2 days ago | parent | next [-]

Niri can even do one better: if you configure a keybind for the move-workspace-to-monitor-next or -prev actions you can move entire spaces between monitors, with wrap around. You can do the same for a column of windows (by default an individual window, but you can stack windows such that only one is visible in a group or that they're all visible in rows). I'll usually split my chat/monitoring spaces from my active development ones so I can passively refer back to them whilst working on an active task.

Niri offers a wonderful workflow; it really is an excellent piece of software.

nolist_policy 2 days ago | parent | prev [-]

Seems almost like what I want. It's a bit smarter too, I guess I'll give it a try:

> Each monitor contains an independent set of workspaces arranged vertically. [...] You can move a workspace to a different monitor [...]

> When you disconnect a monitor, its workspaces will automatically move to a different monitor. But, they will also "remember" their original monitor, so when you reconnect it, the workspaces will automatically move back to it.

https://niri-wm.github.io/niri/Workspaces.html#overview