From 2d6b6c309ac573cfeb134b2856924ab6b05b2578 Mon Sep 17 00:00:00 2001 From: George Sladkovsky Date: Fri, 24 Jan 2025 23:46:24 +0100 Subject: [PATCH] docs(widget/glazewm): fixed labels default values docs(widget/glazewm): fixed a typo in workspaces docs docs(widget/glazewm): Added wiki sidebar links --- docs/_Sidebar.md | 4 +++- docs/widgets/(Widget)-GlazeWM-Workspaces.md | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/_Sidebar.md b/docs/_Sidebar.md index b200d6d..cce6b6d 100644 --- a/docs/_Sidebar.md +++ b/docs/_Sidebar.md @@ -14,6 +14,8 @@ - [Clock](./(Widget)-Clock) - [Custom](./(Widget)-Custom) - [Github](./(Widget)-Github) + - [GlazeWM Workspaces](./(Widget)-GlazeWM-Workspaces) + - [GlazeWM Tiling Direction](./(Widget)-GlazeWM-Tiling-Direction) - [Home](./(Widget)-Home) - [Disk](./(Widget)-Disk) - [Language](./(Widget)-Language) @@ -35,4 +37,4 @@ - [Windows-Desktops](./(Widget)-Windows-Desktops) - [Komorebi Workspaces](./(Widget)-Komorebi-Workspaces) - [Komorebi Layout](./(Widget)-Komorebi-Layout) -- [Writing Widget](./Writing-Widget) \ No newline at end of file +- [Writing Widget](./Writing-Widget) diff --git a/docs/widgets/(Widget)-GlazeWM-Workspaces.md b/docs/widgets/(Widget)-GlazeWM-Workspaces.md index c220e1f..daa515a 100644 --- a/docs/widgets/(Widget)-GlazeWM-Workspaces.md +++ b/docs/widgets/(Widget)-GlazeWM-Workspaces.md @@ -2,8 +2,8 @@ | Option | Type | Default | Description | |-------------------------|---------|-------------------------|----------------------------------------------------------| | `offline_label` | string | `'GlazeWM Offline'` | The label to display when GlazeWM is offline. | -| `populated_label` | string | `'{index}'` | Optional label for populated workspaces. | -| `empty_label` | string | `'{index}'` | Optional label for empty workspaces. | +| `populated_label` | string | `'{name}'` | Optional label for populated workspaces. | +| `empty_label` | string | `'{name}'` | Optional label for empty workspaces. | | `hide_empty_workspaces` | boolean | `true` | Whether to hide empty workspaces. | | `hide_if_offline` | boolean | `false` | Whether to hide workspaces widget if GlazeWM is offline. | | `glazewm_server_uri` | string | `'ws://localhost:6123'` | Optional GlazeWM server uri. | @@ -23,8 +23,8 @@ glazewm_workspaces: # However, you can customize populated and empty labels here using {name} and {display_name} placeholders if needed. # {name} will be replaced with workspace name (index) from GlazeWM. # {display_name} will be replaced with workspace display_name from GlazeWM. - - # populated_label: "{name} {display_name} \uebb4"e + + # populated_label: "{name} {display_name} \uebb4" # empty_label: "{name} {display_name} \uebb5" ```