From dc93f1c1fd7b67e2da5af2ffada732b9ddeb2d6a Mon Sep 17 00:00:00 2001 From: Kent Daleng Date: Sun, 17 Aug 2025 16:05:41 +0200 Subject: github wiki replacement / mkdocs-docs (#2147) * Add wiki based on mkdocs * wording fixes * fix github bg color on narrow * Fix left sidebar section headers being bigger than pages * fix hover accent * fix list rendering on fractional layout * fix videos * fix automatic full links * remove redundant commented css * improve dark mode contrast * update pygments for better child node coloring * update logo * remove blank lines * add systemd language hint --------- Co-authored-by: Ivan Molodetskikh --- wiki/Configuration:-Named-Workspaces.md | 47 --------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 wiki/Configuration:-Named-Workspaces.md (limited to 'wiki/Configuration:-Named-Workspaces.md') diff --git a/wiki/Configuration:-Named-Workspaces.md b/wiki/Configuration:-Named-Workspaces.md deleted file mode 100644 index 8e87967c..00000000 --- a/wiki/Configuration:-Named-Workspaces.md +++ /dev/null @@ -1,47 +0,0 @@ -### Overview - -Since: 0.1.6 - -You can declare named workspaces at the top level of the config: - -```kdl -workspace "browser" - -workspace "chat" { - open-on-output "Some Company CoolMonitor 1234" -} -``` - -Contrary to normal dynamic workspaces, named workspaces always exist, even when they have no windows. -Otherwise, they behave like any other workspace: you can move them around, move to a different monitor, and so on. - -Actions like `focus-workspace` or `move-column-to-workspace` can refer to workspaces by name. -Also, you can use an `open-on-workspace` window rule to make a window open on a specific named workspace: - -```kdl -// Declare a workspace named "chat" that opens on the "DP-2" output. -workspace "chat" { - open-on-output "DP-2" -} - -// Open Fractal on the "chat" workspace, if it runs at niri startup. -window-rule { - match at-startup=true app-id=r#"^org\.gnome\.Fractal$"# - open-on-workspace "chat" -} -``` - -Named workspaces initially appear in the order they are declared in the config file. -When editing the config while niri is running, newly declared named workspaces will appear at the very top of a monitor. - -If you delete some named workspace from the config, the workspace will become normal (unnamed), and if there are no windows on it, it will be removed (as any other normal workspace). -There's no way to give a name to an already existing workspace, but you can simply move windows that you want to a new, empty named workspace. - -Since: 0.1.9 `open-on-output` can now use monitor manufacturer, model, and serial. -Before, it could only use the connector name. - -Since: 25.01 You can use `set-workspace-name` and `unset-workspace-name` actions to change workspace names dynamically. - -Since: 25.02 Named workspaces no longer update/forget their original output when opening a new window on them (unnamed workspaces will keep doing that). -This means that named workspaces "stick" to their original output in more cases, reflecting their more permanent nature. -Explicitly moving a named workspace to a different monitor will still update its original output. -- cgit