Skip to content

Commit

Permalink
docs: document on-created-empty workspace rule (#375)
Browse files Browse the repository at this point in the history
the new workspace rule is being introduced in hyprwm/Hyprland#3559
  • Loading branch information
Syndelis authored and fufexan committed Dec 12, 2023
1 parent f1c6ef3 commit 69b87cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pages/Configuring/Workspace-Rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ 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
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
```

0 comments on commit 69b87cb

Please sign in to comment.