summaryrefslogtreecommitdiff
path: root/src/snap.options
blob: 971e23cc002a774da88b1066f9564281d221ce67 (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
<plugin name="snap">
	<display>
		<group name="Bindings">
			<option name="avoid_snap" type="selection">
				<short>Avoid Snap Modifier</short>
				<long>Use this bindings to avoid snapping.</long>
				<value name="Shift" default="true">Shift</value>
				<value name="Alt">Alt</value>
				<value name="Control">Control</value>
				<value name="Meta">Meta</value>
			</option>
		</group>
	</display>
	<screen>
		<group name="Behaviour">
			<option name="snap_type" type="selection">
				<short>Snap Type</short>
				<long>Choose 'Resistance', 'Attraction' or 'Full Mode'.</long>
				<value name="Resistance" default="true">Edge resistance</value>
				<value name="Attraction">Edge attraction</value>
			</option>
			<option name="edges_categories" type="selection">
				<short>Edges</short>
				<long>Snap to 'Screen Edges', 'Windows Edges' or 'Both'.</long>
				<value name="Screen" default="true">Screen edges</value>
				<value name="Windows">Window edges</value>
			</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>