summaryrefslogtreecommitdiff
path: root/metadata/snap.xml
blob: e7412829b881e3a3beb401625427af72c535e3cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0"?>
<compiz>
  <plugin name="snap" useBcop="true">
    <short>Snapping Windows</short>
    <long>Enables windows edges resistance</long>
	<category>Window Management</category>
	<feature>edgeresistance</feature>
	<deps>
		<relation type="after">
			<plugin>decoration</plugin>
		</relation>
	</deps>
    <display>
      <group>
        <short>Bindings</short>
        <option name="avoid_snap" type="list">
          <short>Avoid Snap Modifier</short>
          <long>Use this bindings to avoid snapping.</long>
		  <type>int</type>
		  <min>0</min>
		  <max>3</max>
          <default>
            <value>0</value>
		  </default>
		  <desc>
			  <value>0</value>
			  <name>Shift</name>
		  </desc>
		  <desc>
			  <value>1</value>
			  <name>Alt</name>
		  </desc>
		  <desc>
			  <value>2</value>
			  <name>Control</name>
		  </desc>
		  <desc>
			  <value>3</value>
			  <name>Meta</name>
		  </desc>
        </option>
      </group>
    </display>
    <screen>
      <group>
        <short>Behaviour</short>
        <option name="snap_type" type="list">
          <short>Snap Type</short>
          <long>Choose 'Resistance', 'Attraction' or 'Full Mode'.</long>
		  <type>int</type>
		  <min>0</min>
		  <max>1</max>
          <default>
            <value>0</value>
		  </default>
		  <desc>
			  <value>0</value>
			  <name>Edge resistance</name>
		  </desc>
		  <desc>
			  <value>1</value>
			  <name>Edge attraction</name>
		  </desc>
        </option>
        <option name="edges_categories" type="list">
          <short>Edges</short>
          <long>Snap to 'Screen Edges', 'Windows Edges' or 'Both'.</long>
		  <type>int</type>
		  <min>0</min>
		  <max>1</max>
          <default>
            <value>0</value>
		  </default>
		  <desc>
			  <value>0</value>
			  <name>Screen edges</name>
		  </desc>
		  <desc>
			  <value>1</value>
			  <name>Window edges</name>
		  </desc>
        </option>
        <option name="resistance_distance" type="int">
          <short>Edge Resistance Distance</short>
          <long>The distance until edge resistance takes place.</long>
          <default>30</default>
          <min>1</min>
          <max>100</max>
        </option>
        <option name="attraction_distance" type="int">
          <short>Edge Attraction Distance</short>
          <long>The distance until edge attraction takes place.</long>
          <default>20</default>
          <min>1</min>
          <max>100</max>
        </option>
      </group>
    </screen>
  </plugin>
</compiz>