summaryrefslogtreecommitdiff
path: root/metadata/trailfocus.xml
blob: aea714f1fb1b1c346d595e460a6c92c0c779ad0a (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
<?xml version="1.0"?>
<compiz>
  <plugin name="trailfocus" useBcop="true">
    <short>Trailfocus</short>
    <long>Adjust the opacity, saturation and brightness of windows based on when they last had focus.</long>
	<category>Effects</category>
	<deps>
		<relation type="after">
			<plugin>fade</plugin>
		</relation>
	</deps>
    <screen>
      <group>
        <short>Behaviour</short>
        <option name="window_match" type="match">
          <short>Window Types</short>
          <long>Window types that should be handled by Trailfocus</long>
          <default>(type=toolbar | type=utility | type=dialog | type=normal) &amp; !(state=skiptaskbar | state=skippager)</default>
        </option>
        <option name="windows_count" type="int">
          <short>Number of Windows to Track</short>
          <long>Number of windows Trailfocus will keep track of. Windows that had focus this amount of windows ago or more will be considered completly unfocused.</long>
          <default>5</default>
          <min>1</min>
          <max>150</max>
        </option>
        <option name="windows_start" type="int">
          <short>Window to Start Fading</short>
          <long>This defines when Trailfocus will start fading windows. This lets you set up trailfocus to treat the N first Windows as fully focused.</long>
          <default>2</default>
          <min>1</min>
          <max>20</max>
        </option>
      </group>
      <group>
        <short>Appearance</short>
        <subgroup>
          <short>Opacity</short>
          <option name="max_opacity" type="int">
            <short>Opacity Level of Focused Windows</short>
            <long>Opacity of the currently focused window. Windows will get opacity levels between the focused and minimum.</long>
            <default>100</default>
            <min>1</min>
            <max>100</max>
          </option>
          <option name="min_opacity" type="int">
            <short>Opacity Level of Unfocused Windows</short>
            <long>Opacity of the least focused window. Windows will get opacity levels between the focused and minimum.</long>
            <default>70</default>
            <min>1</min>
            <max>100</max>
          </option>
        </subgroup>
        <subgroup>
          <short>Brightness</short>
          <option name="max_brightness" type="int">
            <short>Brightness Level of Focused Windows</short>
            <long>Brightness of the currently focused window. Windows will get opacity levels between the focused and minimum.</long>
            <default>100</default>
            <min>1</min>
            <max>100</max>
          </option>
          <option name="min_brightness" type="int">
            <short>Brightness Level of Unfocused Windows</short>
            <long>Brightness of the least focused window. Windows will get opacity levels between the focused and minimum.</long>
            <default>100</default>
            <min>1</min>
            <max>100</max>
          </option>
        </subgroup>
        <subgroup>
          <short>Saturation</short>
          <option name="max_saturation" type="int">
            <short>Saturation Level of Focused Windows</short>
            <long>Saturation of the currently focused window. Windows will get opacity levels between the focused and minimum.</long>
            <default>100</default>
            <min>1</min>
            <max>100</max>
          </option>
          <option name="min_saturation" type="int">
            <short>Saturation Level of Unfocused Windows</short>
            <long>Saturation of the least focused window. Windows will get opacity levels between the focused and minimum.</long>
            <default>100</default>
            <min>1</min>
            <max>100</max>
          </option>
        </subgroup>
      </group>
    </screen>
  </plugin>
</compiz>