From c223892a57b29ae56431fc585b8cec503f3206c7 Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Fri, 27 Jan 2023 23:18:44 +0000 Subject: [PATCH] docs(workspaces): update for hyprland/new ordering option --- docs/modules/Workspaces.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/modules/Workspaces.md b/docs/modules/Workspaces.md index 67ffd74..b58295f 100644 --- a/docs/modules/Workspaces.md +++ b/docs/modules/Workspaces.md @@ -1,6 +1,6 @@ -> ⚠ **This module is currently only supported on Sway** +> ⚠ **This module is currently only supported on Sway and Hyprland** -Shows all current Sway workspaces. Clicking a workspace changes focus to it. +Shows all current workspaces. Clicking a workspace changes focus to it. ![Screenshot showing workspaces widget using custom icons with browser workspace focused](https://user-images.githubusercontent.com/5057870/184540156-26cfe4ec-ab8d-4e0f-a883-8b641025366b.png) @@ -8,10 +8,11 @@ Shows all current Sway workspaces. Clicking a workspace changes focus to it. > Type: `workspaces` -| Name | Type | Default | Description | -|----------------|-----------------------|---------|----------------------------------------------------------------------------------------------------------------------| -| `name_map` | `Map` | `{}` | A map of actual workspace names to their display labels. Workspaces use their actual name if not present in the map. | -| `all_monitors` | `boolean` | `false` | Whether to display workspaces from all monitors. When `false`, only shows workspaces on the current monitor. | +| Name | Type | Default | Description | +|----------------|---------------------------|----------------|----------------------------------------------------------------------------------------------------------------------| +| `name_map` | `Map` | `{}` | A map of actual workspace names to their display labels. Workspaces use their actual name if not present in the map. | +| `all_monitors` | `boolean` | `false` | Whether to display workspaces from all monitors. When `false`, only shows workspaces on the current monitor. | +| `sort` | `added` or `alphanumeric` | `alphanumeric` | The method used for sorting workspaces. `added` always appends to the end, `alphanumeric` sorts by number/name. |
JSON