aboutsummaryrefslogtreecommitdiff
path: root/wiki/Configuration:-Named-Workspaces.md
diff options
context:
space:
mode:
authorSuyashtnt <suyashtnt@gmail.com>2024-07-08 15:14:01 +0200
committerIvan Molodetskikh <yalterz@gmail.com>2024-07-08 17:42:09 +0300
commit3be6e38af3c788be3d32ff006c72ad0b1787a879 (patch)
treee8a1362454f1c57f4869cb4a50f1ce275e43bdf9 /wiki/Configuration:-Named-Workspaces.md
parentf2290a43d9af3f272f5bb8d57c350b0896d0cd27 (diff)
downloadniri-3be6e38af3c788be3d32ff006c72ad0b1787a879.tar.gz
niri-3be6e38af3c788be3d32ff006c72ad0b1787a879.tar.bz2
niri-3be6e38af3c788be3d32ff006c72ad0b1787a879.zip
wiki: update wiki kdl snippets
Signed-off-by: Suyashtnt <suyashtnt@gmail.com>
Diffstat (limited to 'wiki/Configuration:-Named-Workspaces.md')
-rw-r--r--wiki/Configuration:-Named-Workspaces.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiki/Configuration:-Named-Workspaces.md b/wiki/Configuration:-Named-Workspaces.md
index 4d0ed471..1b63282e 100644
--- a/wiki/Configuration:-Named-Workspaces.md
+++ b/wiki/Configuration:-Named-Workspaces.md
@@ -4,7 +4,7 @@
You can declare named workspaces at the top level of the config:
-```
+```kdl
workspace "browser"
workspace "chat" {
@@ -18,7 +18,7 @@ Otherwise, they behave like any other workspace: you can move them around, move
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"