<?xml version="1.0"?>
<wayfire>
	<plugin name="vswitch">
		<_short>Viewport Switcher</_short>
		<_long>A plugin to switch workspaces in a grid.</_long>
		<category>Desktop</category>
		<option name="binding_left" type="activator">
			<_short>Left</_short>
			<_long>Switches to workspace left with the specified activator.</_long>
			<default>&lt;super&gt; &lt;alt&gt; KEY_LEFT</default>
		</option>
		<option name="binding_right" type="activator">
			<_short>Right</_short>
			<_long>Switches to workspace right with the specified activator.</_long>
			<default>&lt;super&gt; &lt;alt&gt; KEY_RIGHT</default>
		</option>
		<option name="binding_up" type="activator">
			<_short>Up</_short>
			<_long>Switches to workspace up with the specified activator.</_long>
			<default>&lt;super&gt; &lt;alt&gt; KEY_UP</default>
		</option>
		<option name="binding_down" type="activator">
			<_short>Down</_short>
			<_long>Switches to workspace down with the specified activator.</_long>
			<default>&lt;super&gt; &lt;alt&gt; KEY_DOWN</default>
		</option>
		<option name="binding_last" type="activator">
			<_short>Last</_short>
			<_long>Switches to the last active workspace with the specified activator.</_long>
			<default></default>
		</option>
		<option name="with_win_left" type="activator">
			<_short>Left with window</_short>
			<_long>Switches to workspace left with the focused window with the specified activator.</_long>
			<default>&lt;super&gt; &lt;alt&gt; &lt;shift&gt; KEY_LEFT</default>
		</option>
		<option name="with_win_right" type="activator">
			<_short>Right with window</_short>
			<_long>Switches to workspace right with the focused window with the specified activator.</_long>
			<default>&lt;super&gt; &lt;alt&gt; &lt;shift&gt; KEY_RIGHT</default>
		</option>
		<option name="with_win_up" type="activator">
			<_short>Up with window</_short>
			<_long>Switches to workspace up with the focused window with the specified activator.</_long>
			<default>&lt;super&gt; &lt;alt&gt; &lt;shift&gt; KEY_UP</default>
		</option>
		<option name="with_win_down" type="activator">
			<_short>Down with window</_short>
			<_long>Switches to workspace down with the focused window with the specified activator.</_long>
			<default></default>
		</option>
		<option name="with_win_last" type="activator">
			<_short>Last with window</_short>
			<_long>Switches to the last active workspace with the focused window with the specified activator.</_long>
			<default></default>
		</option>
		<option name="send_win_left" type="activator">
			<_short>Send window to the left</_short>
			<_long>Send the focused window to the workspace on the left.</_long>
			<default></default>
		</option>
		<option name="send_win_right" type="activator">
			<_short>Send window to the right</_short>
			<_long>Send the focused window to the workspace on the right.</_long>
			<default></default>
		</option>
		<option name="send_win_up" type="activator">
			<_short>Send window above</_short>
			<_long>Send the focused window to the workspace above.</_long>
			<default></default>
		</option>
		<option name="send_win_down" type="activator">
			<_short>Send window below</_short>
			<_long>Send the focused window to the workspace below.</_long>
			<default></default>
		</option>
		<option name="send_win_last" type="activator">
			<_short>Send window to last</_short>
			<_long>Send the focused window to the last active workspace with the specified activator.</_long>
			<default></default>
		</option>

		<option name="workspace_bindings" type="dynamic-list" type-hint="dict">
			<_short>Go-To-Workspace bindings</_short>
			<_long>Go-To-Workspace bindings</_long>
			<entry prefix="binding_" type="activator">
				<_short>Binding for workspace N</_short>
				<_long>Sets the binding to go to workspace N.</_long>
			</entry>
		</option>

		<option name="workspace_bindings_win" type="dynamic-list" type-hint="dict">
			<_short>Go-To-Workspace with window bindings</_short>
			<_long>Go-To-Workspace with window bindings</_long>
			<entry prefix="with_win_" type="activator">
				<_short>Binding for workspace N</_short>
				<_long>Sets the binding to go to workspace N with currently focused window.</_long>
			</entry>
		</option>

		<option name="bindings_win" type="dynamic-list" type-hint="dict">
			<_short>Go-To-Workspace with window bindings</_short>
			<_long>Go-To-Workspace with window bindings</_long>
			<entry prefix="send_win_" type="activator">
				<_short>Move window to workspace N</_short>
				<_long>Sets the binding to move focused window to workspace N.</_long>
			</entry>
		</option>

		<option name="duration" type="animation">
			<_short>Duration</_short>
			<_long>Sets the duration of the workspace switching animation in milliseconds.</_long>
			<default>300</default>
		</option>
		<option name="gap" type="int">
			<_short>Gap size</_short>
			<_long>Sets the gap between workspaces when animating the transition between them.</_long>
			<default>20</default>
		</option>
		<option name="background" type="color">
			<_short>Background color</_short>
			<_long>Sets the background color of gaps.</_long>
			<default>0.1 0.1 0.1 1.0</default>
		</option>
		<option name="wraparound" type="bool">
			<_short>Wraparound</_short>
			<_long>Whether to wrap around when at the edge of the workspace grid.</_long>
			<default>false</default>
		</option>
	</plugin>
</wayfire>
