<?xml version="1.0" encoding="UTF-8"?>
<compiz>
  <plugin name="showdesktop" useBcop="true">
    <_short>Show Desktop</_short>
    <_long>Access the desktop easily by using variable ways to move windows out of view</_long>
    <category>Desktop</category>
    <feature>showdesktop</feature>
    <deps>
	<requirement>
	    <plugin>opengl</plugin>
	</requirement>
	<relation type="after">
	    <plugin>composite</plugin>
	    <plugin>opengl</plugin>
	    <plugin>fade</plugin>
	    <plugin>decor</plugin>
	    <plugin>unityshell</plugin>
	</relation>
    </deps>
    <options>
      <group>
        <_short>General</_short>
        <option name="speed" type="float">
          <_short>Speed</_short>
          <_long>The speed of the window movement.</_long>
          <default>1.2</default>
          <min>0.1</min>
          <max>50.0</max>
          <precision>0.1</precision>
        </option>
        <option name="timestep" type="float">
          <_short>Timestep</_short>
          <_long>The timestep of the window movement.</_long>
          <default>0.1</default>
          <min>0.1</min>
          <max>50.0</max>
          <precision>0.1</precision>
        </option>
        <option name="direction" type="int">
          <_short>Movement Direction</_short>
          <_long>The direction in which the windows move.</_long>
		  <default>10</default>
		  <min>0</min>
		  <max>12</max>
		  <desc>
			  <value>0</value>
			  <_name>Up</_name>
		  </desc>
		  <desc>
			  <value>1</value>
			  <_name>Down</_name>
		  </desc>
		  <desc>
			  <value>2</value>
			  <_name>Left</_name>
		  </desc>
		  <desc>
			  <value>3</value>
			  <_name>Right</_name>
		  </desc>
		  <desc>
			  <value>4</value>
			  <_name>Top Left Corner</_name>
		  </desc>
		  <desc>
			  <value>5</value>
			  <_name>Bottom Left Corner</_name>
		  </desc>
		  <desc>
			  <value>6</value>
			  <_name>Top Right Corner</_name>
		  </desc>
		  <desc>
			  <value>7</value>
			  <_name>Bottom Right Corner</_name>
		  </desc>
		  <desc>
			  <value>8</value>
			  <_name>Up/Down</_name>
		  </desc>
		  <desc>
			  <value>9</value>
			  <_name>Left/Right</_name>
		  </desc>
		  <desc>
			  <value>10</value>
			  <_name>To Corners</_name>
		  </desc>
		  <desc>
			  <value>11</value>
			  <_name>Intelligent Random</_name>
		  </desc>
		  <desc>
			  <value>12</value>
			  <_name>Fully Random</_name>
		  </desc>
        </option>
        <option name="window_match" type="match">
          <_short>Window Types</_short>
          <_long>Window types that should be moved out of sight when entering showdesktop-mode.</_long>
          <default>type=toolbar | type=utility | type=dialog | type=normal</default>
        </option>
      </group>
      <group>
        <_short>Appearance</_short>
        <option name="window_opacity" type="float">
          <_short>Window Opacity</_short>
          <_long>Windows will fade to this opacity when showdesktop'd.</_long>
          <default>0.3</default>
          <min>0.1</min>
          <max>1.0</max>
          <precision>0.01</precision>
        </option>
        <option name="window_part_size" type="int">
          <_short>Window Part Size</_short>
          <_long>The size of the window part that will remain on screen when showdesktop'd (in pixels).</_long>
          <default>20</default>
          <min>0</min>
          <max>300</max>
        </option>
      </group>
    </options>
  </plugin>
</compiz>
