summaryrefslogtreecommitdiffstats
path: root/hacks/config/deco.xml
blob: b5347cf1699328f8322c308c1ae0253939156bd2 (plain) (blame)
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
<?xml version="1.0" encoding="ISO-8859-1"?>

<screensaver name="deco" _label="Deco">

  <command arg="-root"/>

  <video href="https://www.youtube.com/watch?v=kfdDTv07Nhw"/>

  <number id="delay" type="slider" arg="-delay %"
          _label="Duration" _low-label="1 second" _high-label="1 minute"
          low="1" high="60" default="5"/>

  <number id="ncolors" type="slider" arg="-ncolors %"
            _label="Number of colors" _low-label="Two" _high-label="Many"
            low="1" high="255" default="64"/>

  <hgroup>
   <vgroup>
    <number id="minwidth" type="spinbutton" arg="-min-width %"
              _label="Minimum width" low="1" high="100" default="20"/>

    <number id="minheight" type="spinbutton" arg="-min-height %"
              _label="Minimum height" low="1" high="100" default="20"/>

    <number id="maxdepth" type="spinbutton" arg="-max-depth %"
              _label="Maximum depth" low="1" high="40" default="12"/>
   </vgroup>
   <vgroup>
    <boolean id="smooth-colors" _label="Smooth colors" arg-set="-smooth-colors"/>
    <boolean id="golden-ratio" _label="Golden ratio" arg-set="-golden-ratio"/>
    <boolean id="mondrian" _label="Mondrian" arg-set="-mondrian"/>
    <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
   </vgroup>
  </hgroup>

  <xscreensaver-updater />

  <_description>
Subdivides and colors rectangles randomly, for a Mondrian-esque effect.

https://en.wikipedia.org/wiki/Piet_Mondrian#Paris_1919.E2.80.931938

Written by Jamie Zawinski and Michael Bayne; 1997.
  </_description>
</screensaver>