Make para_fade use the new afs.
[paraslash.git] / fade.ggo
1 section "general options"
2 #########################
3
4 option "mode" o
5 #~~~~~~~~~~~~~~
6
7 "{sleep|fade|snooze}"
8 string default="sleep"
9 optional
10
11 option "config_file" c
12 #~~~~~~~~~~~~~~~~~~~~~
13 "(default='~/.paraslash/fade.conf')"
14 string typestr="filename"
15 optional
16
17 option "mixer_device" m
18 #~~~~~~~~~~~~~~~~~~~~~~
19 "mixer device file"
20 string typestr="device"
21 default="/dev/mixer"
22 optional
23
24 section "sleep options (only relevant in sleep mode)"
25 #####################################################
26
27 option "sleep_ivol" -
28 #~~~~~~~~~~~~~~~~~~~~
29 "set initial volume before doing anything else"
30 int typestr="volume"
31 default="60"
32 optional
33
34 option "fa_mode" -
35 #~~~~~~~~~~~~~~~~~~~
36 "fall asleep afs mode. Select this mode
37 right after setting the volume. Example:
38 --fa_mode m:sleep
39 "
40
41 string typestr="afs_mode"
42 default="m:fa"
43 optional
44
45 option "fa_fade" -
46 #~~~~~~~~~~~~~~~~~
47 "fall asleep fading time, no fading if set
48 to 0"
49 int typestr="seconds"
50 default="1800"
51 optional
52
53 option "fa_vol" -
54 #~~~~~~~~~~~~~~~~
55 "volume to fade to"
56 int typestr="volume"
57 default="20"
58 optional
59
60 option "sleep_mode" -
61 #~~~~~~~~~~~~~~~~~~~~~~
62 "change to this afs mode after fading, stop
63 playing if unset."
64 string typestr="afs_mode"
65 default="m:sleep"
66 optional
67
68 option "wake_hour" H
69 #~~~~~~~~~~~~~~~~~~~
70 "(0-23)"
71 int typestr="hour"
72 default="8"
73 optional
74
75 option "wake_min" M
76 #~~~~~~~~~~~~~~~~~~
77 "(0-59)"
78 int typestr="seconds"
79 default="0"
80 optional
81
82 option "wake_mode" -
83 #~~~~~~~~~~~~~~~~~~~~~
84 "change to this afs mode on waketime"
85 string typestr="afs_mode"
86 default="m:wake"
87 optional
88
89 option "wake_fade" -
90 #~~~~~~~~~~~~~~~~~~~
91 "no fading in if set to 0"
92 int typestr="seconds"
93 default="1200"
94 optional
95
96 option "wake_vol" -
97 #~~~~~~~~~~~~~~~~~~
98 "vol to fade to at waketime"
99 int typestr="volume"
100 default="80"
101 optional
102
103 section "snooze options"
104 ########################
105
106 option "snooze_out_fade" -
107 #~~~~~~~~~~~~~~~~~~~~~~~~~
108 "fade out time"
109 int typestr="seconds"
110 default="30"
111 optional
112
113 option "snooze_out_vol" -
114 #~~~~~~~~~~~~~~~~~~~~~~~~
115 "vol to fade to before snooze"
116 int typestr="volume"
117 default="20"
118 optional
119
120 option "snooze_time" -
121 #~~~~~~~~~~~~~~~~~~~~~
122 "delay"
123 int typestr="seconds"
124 default="600"
125 optional
126
127 option "snooze_in_fade" -
128 #~~~~~~~~~~~~~~~~~~~~~~~~
129 "fade in time"
130 int typestr="seconds"
131 default="180"
132 optional
133
134 option "snooze_in_vol" -
135 #~~~~~~~~~~~~~~~~~~~~~~~
136 "vol to fade to after snooze"
137 int typestr="volume"
138 default="80"
139 optional
140
141 section "fade options"
142 ######################
143
144 option "fade_vol" f
145 #~~~~~~~~~~~~~~~~~~
146 "volume to fade to"
147 int typestr="volume"
148 default="50"
149 optional
150
151 option "fade_time" t
152 #~~~~~~~~~~~~~~~~~~~
153 "time to fade in"
154 int typestr="seconds"
155 default="5"
156 optional