From c014bc0518596de19662b6e5d8f64322d92aa0bf Mon Sep 17 00:00:00 2001 From: Brenno Lemos Date: Sun, 22 Oct 2023 19:10:47 -0300 Subject: [PATCH] docs: document on-created-empty workspace rule (#375) the new workspace rule is being introduced in hyprwm/Hyprland#3559 --- pages/Configuring/Workspace-Rules.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/Configuring/Workspace-Rules.md b/pages/Configuring/Workspace-Rules.md index 58a1447..ac0b618 100644 --- a/pages/Configuring/Workspace-Rules.md +++ b/pages/Configuring/Workspace-Rules.md @@ -33,6 +33,7 @@ workspace=DP-1,3,rounding:false,bordersize:0 | rounding:[b] | Whether to draw rounded windows or not | bool | | decorate:[b] | Whether to draw window decorations or not | bool | | persistent:[b] | Keep this workspace alive even if empty and inactive | bool | +| on-created-empty:[c] | A command to be executed once a workspace is created empty (i.e. not created by moving a window to it). See the [command syntax](../Dispatchers#executing-with-rules) | string ### Example Rules ```ini @@ -40,4 +41,6 @@ workspace = 3, rounding:false, decorate:false workspace = name:coding, rounding:false, decorate:false, gapsin:0, gapsout:0, border:false, decorate:false, monitor:DP-1 workspace = 8,bordersize:8 workspace = name:Hello, monitor:DP-1, default:true +workspace = 5, on-created-empty:[float] firefox +workspace = special:scratchpad, on-created-empty:foot ```