summaryrefslogtreecommitdiff
path: root/mousetrails.xml.in
blob: a1c62b8e13f8f4cacef3df9aa2019850733ffc6f (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
101
102
103
104
105
106
107
108
109
<?xml version="1.0"?>
<compiz>
	<plugin name="mousetrails" useBcop="true">
		<_short>Mouse Trails</_short>
		<_long>Adds trails that follow the mouse pointer</_long>
		<category>Accessibility</category>
		<deps>
			<relation type="after">
				<plugin>cube</plugin>
			</relation>
			<requirement>
				<plugin>mousepoll</plugin>
			</requirement>
		</deps>
		<display>
			<group>
				<_short>Trail Toggle</_short>
				<option name="initiate" type="key">
					<_short>Initiate</_short>
				    <_long>Toggle the mouse pointer trail.</_long>
					<default>&lt;Super&gt;t</default>
				</option>
			</group>
		</display>
		<screen>
			<group>
				<_short>Trail Options</_short>
				<option name="num_particles" type="int">
					<_short>Trail Length</_short>
					<_long>Length of the mouse trail (in trail elements)</_long>
					<default>20</default>
					<min>1</min>
					<max>50</max>
				</option>
				<option name="alpha" type="float">
					<_short>Initial Opacity</_short>
					<_long>Initial opacity of the trails elements before fading out.</_long>
					<default>0.5</default>
					<min>0.1</min>
					<max>1.0</max>
					<precision>0.1</precision>
				</option>
				<option name="slowdown" type="float">
					<_short>Fade Rate</_short>
					<_long>The rate that trail elements fade out.</_long>
					<default>5</default>
					<min>1</min>
					<max>10</max>
				</option>
				<option name="threshold" type="int">
					<_short>Threshold</_short>
					<_long>If the cursor has moved less than this distance (in pixels) from the last mouse position check, it's initial opacity will be lowered proportionally to the distance moved.  This helps prevent precision operations like text selecting from being blurred over with trails.</_long>
					<default>50</default>
					<min>1</min>
					<max>200</max>
				</option>
				<option name="skip" type="int">
					<_short>Distance</_short>
					<_long>The distance between cursor trail elements (in X cursor position checks)</_long>
					<default>4</default>
					<min>1</min>
					<max>10</max>
				</option>
				<option name="size" type="int">
					<_short>Size</_short>
					<_long>The size of the cursor elements in the trail.</_long>
					<default>10</default>
					<min>1</min>
					<max>10</max>
				</option>
				<!--<option name="life" type="float">
					<_short>Trail Life</_short>
					<_long>Trail life.</_long>
					<default>0.4</default>
					<min>0.1</min>
					<max>1</max>
					<precision>0.1</precision>
				</option>-->
				<option name="color" type="color">
					<_short>Trail Color</_short>
					<_long>Trail color.</_long>
					<default>
					<red>0xffff</red>
					<green>0xffff</green>
					<blue>0xffff</blue>
					<alpha>0xffff</alpha>
					</default>
				</option>
				<option name="random" type="bool">
					<_short>Randomly Colored Trails</_short>
					<_long>Have random colors for the trails.</_long>
					<default>false</default>
				</option>
				<option name="colorrate" type="int">
					<_short>Color Change Rate</_short>
					<_long>Rate that the random colors change.</_long>
					<default>10</default>
					<min>2</min>
					<max>100</max>
				</option>
				<!--<option name="mousepoll" type="bool">
					<_short>Use Mousepoll Plugin</_short>
					<_long>Use mousepoll plugin instead of XQueryPointer</_long>
					<default>false</default>
				</option>-->
			    </group>
		</screen>
	</plugin>
</compiz>