Module: dynamite.widget.spawn
Spawn a client in a reserved spot.
It accept all usual client properties.
Note: this only works with client with a proper implementation of the startup notification protocol. For other client, see client.startup_id for more information about how to make them work.
Info:
- Copyright: 2018 Emmanuel Lepage Vallee
-
Originally authored by: Emmanuel Lepage Vallee <elv1313@gmail.com>
(Full contributors list available on our github project)
Object properties
command | table or string | The command to be executed. | |
delay | number | The delay before spawing the command. | |
init | boolean | If the command has to be executed even if the tag isn't selected. | |
displace | boolean | If the area must be reserved even before the client has been created. | |
timeout | number | The delay before canceling and self destruction. |
Object properties
- command table or string
-
The command to be executed.
Type constraints:
- delay number
-
The delay before spawing the command.
Type constraints:
- number In milliseconds.
- init boolean
- If the command has to be executed even if the tag isn't selected.
- displace boolean
-
If the area must be reserved even before the client has been created.
When set to
true
, this widget will use space even if it is empty. - timeout number
-
The delay before canceling and self destruction.
Type constraints:
- number In milliseconds.