summaryrefslogtreecommitdiff
path: root/metadata/snap.xml
blob: 002edd7efe39b9a16be4eb8f90537b3e716e0e29 (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
<?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>
    <rule type="after">decoration</rule>
    <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>string</type>
          <default>
            <value>Shift</value>
          </default>
          <allowed>
            <value>Shift</value>
            <value>Alt</value>
            <value>Control</value>
            <value>Meta</value>
          </allowed>
        </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>string</type>
          <default>
            <value>Edge resistance</value>
          </default>
          <allowed>
            <value>Edge resistance</value>
            <value>Edge attraction</value>
          </allowed>
        </option>
        <option name="edges_categories" type="list">
          <short>Edges</short>
          <long>Snap to 'Screen Edges', 'Windows Edges' or 'Both'.</long>
          <type>string</type>
          <default>
            <value>Screen edges</value>
          </default>
          <allowed>
            <value>Screen edges</value>
            <value>Window edges</value>
          </allowed>
        </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>