summaryrefslogtreecommitdiff
path: root/snap.xml.in
blob: 95a54dabc1cf4bcffec2594bdcd070c5160189c0 (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>