-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathwinshadows.xml
118 lines (118 loc) · 4.76 KB
/
winshadows.xml
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
110
111
112
113
114
115
116
117
118
<?xml version="1.0"?>
<wayfire>
<plugin name="winshadows">
<_short>Window Shadows</_short>
<_long>Server Side Shadows for windows on Wayfire</_long>
<category>Effects</category>
<option name="enabled_views" type="string">
<_short>Decoration enabled for specified window types</_short>
<_long>Enables window shadows for windows matching the specified criteria.</_long>
<default>type is "toplevel" & floating is true</default>
</option>
<option name="include_undecorated_views" type="bool">
<_short>Include windows that have their own decoration</_short>
<_long>Enables window shadows on windows that do not request server side decoration.</_long>
<default>false</default>
</option>
<option name="clip_shadow_inside" type="bool">
<_short>Clip to window rectangle</_short>
<_long>Do not draw inside the window rectangle. May look bad on rounded corners.</_long>
<default>true</default>
</option>
<group>
<_short>Shadow</_short>
<option name="shadow_color" type="color">
<_short>Shadow color</_short>
<_long>Color of the window shadow.</_long>
<default>#00000070</default>
</option>
<option name="shadow_radius" type="int">
<_short>Shadow radius</_short>
<_long>Sets the shadow radius in pixels.</_long>
<default>40</default>
</option>
<option name="vertical_offset" type="int">
<_short>Vertical offset</_short>
<_long>Number of pixels to shift the shadow by in vertical direction.</_long>
<default>5</default>
</option>
<option name="horizontal_offset" type="int">
<_short>Horizontal offset</_short>
<_long>Number of pixels to shift the shadow by in horizontal direction.</_long>
<default>0</default>
</option>
<option name="light_type" type="string">
<_short>Light type</_short>
<_long>Change the shape of the simulated light source. Square is the simplest shader, might be slightly faster.</_long>
<default>gaussian</default>
<desc>
<value>gaussian</value>
<_name>Gaussian</_name>
</desc>
<desc>
<value>circular</value>
<_name>Circular</_name>
</desc>
<desc>
<value>square</value>
<_name>Square</_name>
</desc>
</option>
<option name="overscale" type="double">
<_short>Overscale</_short>
<_long>Percentage to scale up the shadow rectangle, corresponding to a closer lamp. Also useful to increase contrast around the window a bit.</_long>
<default>1.0</default>
<precision>0.5</precision>
</option>
</group>
<group>
<_short>Glow</_short>
<_long>Make windows edges emit light when focused</_long>
<option name="glow_enabled" type="bool">
<_short>Focus glow</_short>
<_long>Show a glow effect around the focused window.</_long>
<default>false</default>
</option>
<option name="glow_intensity" type="double">
<_short>Glow intensity</_short>
<_long>Intensity of light emitted by the edges of the window (multiplies alpha of glow color). 0 to disable glow.</_long>
<default>0.6</default>
<min>0</min>
<precision>0.1</precision>
</option>
<option name="glow_color" type="color">
<_short>Glow color</_short>
<_long>Color of the glow of the focused window. Combine with a bright focus color for the window border decoration.</_long>
<default>#1C71D8FF</default>
</option>
<option name="glow_spread" type="double">
<_short>Glow spread</_short>
<_long>Corresponds to elevation of the window relative to the background. Higher elevation means that the light reaches a larger area more evenly but less intense.</_long>
<default>10</default>
</option>
<subgroup>
<_short>Advanced</_short>
<option name="glow_radius_limit" type="int">
<_short>Glow render distance limit</_short>
<_long>Size of area around window where glow is rendered, 0 to disable glow. Set this as small as possible, but without visibly clipping the glow effect into a rectangle. Depends on intensity, elevation and threshold (could be computed automatically).</_long>
<default>100</default>
</option>
<option name="glow_threshold" type="double">
<_short>Minimum light cutoff</_short>
<_long>Hide light below this threshold to avoid light spreading out too far. 0 is most realistic light spread, but increase slightly if the is lit area is too large.</_long>
<default>0.03</default>
<precision>0.005</precision>
<max>0.2</max>
</option>
<option name="glow_emissivity" type="double">
<_short>Glow blend factor</_short>
<_long>Controls the blending of the focus glow, 0 is normal blending, 1 is additive. Set to 0 for shadows and between 0 and 1 for glow effects.</_long>
<default>1.0</default>
<min>0.0</min>
<max>1.0</max>
<precision>0.1</precision>
</option>
</subgroup>
</group>
</plugin>
</wayfire>