YaLTeR / niri

A scrollable-tiling Wayland compositor.
https://matrix.to/#/#niri:matrix.org
GNU General Public License v3.0
2.82k stars 79 forks source link

Named workspaces affect numbered workspaces positioning #495

Closed phonetic112 closed 4 days ago

phonetic112 commented 4 days ago

If I create a named workspace:

workspace "mail"

The "mail" workspace replaces the first workspace with it. So switching to workspace 1 would switch to the named workspace (and, if there are already windows on workspace 1, they get moved to workspace 2). I expected named workspaces and numbered ones to be separate, so you could just focus them (Mod+Z { focus-workspace "special"; })

System Information

YaLTeR commented 4 days ago

Hey, there are no "numbered" workspaces. It's always by index (first, second, ...) or by name addressing. The by index addressing is more of a workaround for people used to static workspaces; it wouldn't make sense to have other numbered workspaces with niri's dynamic workspace system.

YaLTeR commented 4 days ago

The "mail" workspace replaces the first workspace with it.

Named workspaces are initially placed at the beginning, but you're free to move them around.

Mod+Z { focus-workspace "special"; }

This should work.