From 967c40e968f0df93d2bfc6194bfd2a37d4c77cbe Mon Sep 17 00:00:00 2001 From: erstarr <253168930+erstarr@users.noreply.github.com> Date: Thu, 30 Apr 2026 20:32:56 +0200 Subject: [PATCH] fix various lua wiki entries (#1441) * Configuring/Advanced and Cool/Environment variables: fix `GDK_BACKEND` env var spelling * Configuring/Basics/Variables: fix broken link to per device input conf * Configuring/Basics/Dispatchers: Add possible values for `action?`` values in various dispatches that have them * fix! --- .../Advanced and Cool/Environment-variables.md | 2 +- content/Configuring/Basics/Dispatchers.md | 10 +++++++--- content/Configuring/Basics/Variables.md | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/content/Configuring/Advanced and Cool/Environment-variables.md b/content/Configuring/Advanced and Cool/Environment-variables.md index 1fc3d12b..ed44df80 100644 --- a/content/Configuring/Advanced and Cool/Environment-variables.md +++ b/content/Configuring/Advanced and Cool/Environment-variables.md @@ -49,7 +49,7 @@ hl.env("GTK_THEME", "Nord") ## Toolkit Backend Variables -- `hl.env("GDK_BACKEND", "wayland;x11;*")` - GTK: Use Wayland if available; if not, try X11 and then any other GDK backend. +- `hl.env("GDK_BACKEND", "wayland,x11,*")` - GTK: Use Wayland if available; if not, try X11 and then any other GDK backend. - `hl.env("QT_QPA_PLATFORM", "wayland;xcb")` - Qt: Use Wayland if available, fall back to X11 if not. - `hl.env("SDL_VIDEODRIVER", "wayland")` - Run SDL2 applications on Wayland. Remove or set to diff --git a/content/Configuring/Basics/Dispatchers.md b/content/Configuring/Basics/Dispatchers.md index c18c455c..da0dee4e 100644 --- a/content/Configuring/Basics/Dispatchers.md +++ b/content/Configuring/Basics/Dispatchers.md @@ -17,6 +17,10 @@ contents are not guaranteed to be stable at all. Their purpose is to be fed into ### Parameter explanation +| Param type | Description | +|---|---| +| `action` | `toggle`(default if no value given), `enable`/`on`, `disable`/`off` | + #### Window A window. Can be: @@ -94,10 +98,10 @@ A monitor. Can be: | `close(window?)` | Close a window. | | `kill(window?)` | Kill a window | | `signal({ signal, window? })` | send a signal to a window process | -| `float({ action?, window? })` | set a window's floating state. "enable", "disable" and "toggle" can be used. | +| `float({ action?, window? })` | set a window's floating state. | | `fullscreen({ mode?, action?, window? })` | set a window's fullscreen state. `mode` can be "maximized" and "fullscreen" | -| `fullscreen_state({ internal, client, action?, window? })` | set a window's fullscreen state with more precision. Action can be "toggle", "set" and "unset" | -| `pseudo({ action?, window? })` | set a window's pseudotiling state | +| `fullscreen_state({ internal, client, action?, window? })` | set a window's fullscreen state with more precision | +| `pseudo({ action?, window? })` | set a window's pseudotiling state. | | `move({ direction })` | move a window in a direction | | `move({ workspace, follow? })` | move a window to a workspace | | `move({ monitor, follow? })` | move a window to a monitor | diff --git a/content/Configuring/Basics/Variables.md b/content/Configuring/Basics/Variables.md index c24d2d47..28843662 100644 --- a/content/Configuring/Basics/Variables.md +++ b/content/Configuring/Basics/Variables.md @@ -288,7 +288,7 @@ _Subcategory `input.tablet.`_ ### Per-device input config -Described [here](../Keywords#per-device-input-configs). +Described [here](../../Advanced-and-Cool/Devices). ### Gestures