Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 23 additions & 8 deletions metadata/command.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<_long>A plugin to bind key combo (key, button, touch) to execute shell commands.</_long>
<category>General</category>
<option name="bindings" type="dynamic-list" type-hint="dict">
<_short>Regular bindings</_short>
<_long>Regular bindings</_long>
<_short>Regular bindings (deprecated)</_short>
<_long>This option is deprecated, and will be removed in a further release. Please migrate your configuration to use the `commands` option.</_long>
<entry prefix="command_" type="string" name="command">
<_short>Command</_short>
<_long>Sets the command to execute.</_long>
Expand All @@ -19,8 +19,9 @@
</option>

<option name="repeatable_bindings" type="dynamic-list" type-hint="dict">
<_short>Repeatable bindings</_short>
<_long>Bindings which repeat their command if their key or button is held pressed.</_long>
<_short>Repeatable bindings (deprecated)</_short>
<_long>Bindings which repeat their command if their key or button is held pressed.
This option is deprecated, and will be removed in a further release. Please migrate your configuration to use the `commands` option.</_long>
<entry prefix="command_" type="string" name="command">
<_short>Command</_short>
<_long>Sets the command to execute.</_long>
Expand All @@ -33,8 +34,9 @@
</option>

<option name="always_bindings" type="dynamic-list" type-hint="dict">
<_short>Always bindings</_short>
<_long>Sets the bindings which are always available, even when screen is locked.</_long>
<_short>Always bindings (deprecated)</_short>
<_long>Sets the bindings which are always available, even when screen is locked.
This option is deprecated, and will be removed in a further release. Please migrate your configuration to use the `commands` option.</_long>
<entry prefix="command_" type="string" name="command">
<_short>Command</_short>
<_long>Sets the command to execute.</_long>
Expand All @@ -45,9 +47,11 @@
<_long>Sets the triggering activator binding.</_long>
</entry>
</option>

<option name="release_bindings" type="dynamic-list" type-hint="dict">
<_short>Release bindings</_short>
<_long>Sets the bindings which activate on release</_long>
<_short>Release bindings (deprecated)</_short>
<_long>Sets the bindings which activate on release.
This option is deprecated, and will be removed in a further release. Please migrate your configuration to use the `commands` option.</_long>
<entry prefix="command_" type="string" name="command">
<_short>Command</_short>
<_long>Sets the command to execute.</_long>
Expand All @@ -58,5 +62,16 @@
<_long>Sets the triggering activator binding.</_long>
</entry>
</option>

<option name="commands" type="dynamic-list" type-hint="plain">
<_short>Registered commands</_short>
<_long>Command declaration uses the following syntax :
`:selector1, selector2, selectorN : command = activator`
Where a selector is any of `normal`, `always`, `repeat` and `release`.
Whitespaces can be added or removed between each term.</_long>
<entry prefix=":" type="activator" name="binding">
<_short>Binding</_short>
</entry>
</option>
</plugin>
</wayfire>
Loading