X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=fade.ggo;h=f467c1996ac9cfd68487a475cc67e34a8819a6b0;hp=c57267da6bec471ae598d4948c422dac56f1adfd;hb=c4ecbd8f75be7847f7332dd64f11a0ba54233891;hpb=2ed89c59f0efcd0a2763f47c7d3455663241e623 diff --git a/fade.ggo b/fade.ggo index c57267da..f467c199 100644 --- a/fade.ggo +++ b/fade.ggo @@ -1,27 +1,154 @@ section "general options" -option "mode" o "{sleep|fade|snooze}" string default="sleep" no -option "config_file" c "(default='~/.paraslash/fade.conf')" string typestr="filename" no -option "mixer_device" m "mixer device file" string typestr="device" default="/dev/mixer" no +######################### + +option "mode" o +#~~~~~~~~~~~~~~ + +"{sleep|fade|snooze}" + string default="sleep" + optional + +option "config_file" c +#~~~~~~~~~~~~~~~~~~~~~ + "(default='~/.paraslash/fade.conf')" + string typestr="filename" + optional + +option "mixer_device" m +#~~~~~~~~~~~~~~~~~~~~~~ + "mixer device file" + string typestr="device" + default="/dev/mixer" + optional section "sleep options (only relevant in sleep mode)" -option "sleep_ivol" - "set initial volume before doing anything else" int typestr="volume" default="60" no -option "fa_stream" - "fall asleep stream. Change to this stream right after setting the volume" string typestr="streamname" default="fa" no -option "fa_fade" - "fall asleep fading time, no fading if set to 0" int typestr="seconds" default="1800" no -option "fa_vol" - "volume to fade to" int typestr="volume" default="20" no -option "sleep_stream" - "change to this stream after fading, stop playing if unset" string typestr="streamname" default="sleep" no -option "wake_hour" H "(0-23)" int default="8" no -option "wake_min" M "(0-59)" int default="0" no -option "wake_stream" - "changed to on waketime" string typestr="streamname" default="wake" no -option "wake_fade" - "no fading in if set to 0" int typestr="seconds" default="1200" no -option "wake_vol" - "vol to fade to at waketime" int typestr="volume" default="80" no +##################################################### + +option "sleep_ivol" - +#~~~~~~~~~~~~~~~~~~~~ + "set initial volume before doing anything else" + int typestr="volume" + default="60" + optional + +option "fa_stream" - +#~~~~~~~~~~~~~~~~~~~ + "fall asleep stream. Change to this stream +right after setting the volume" + + string typestr="streamname" + default="fa" + optional + +option "fa_fade" - +#~~~~~~~~~~~~~~~~~ + "fall asleep fading time, no fading if set +to 0" + int typestr="seconds" + default="1800" + optional + +option "fa_vol" - +#~~~~~~~~~~~~~~~~ + "volume to fade to" + int typestr="volume" + default="20" + optional + +option "sleep_stream" - +#~~~~~~~~~~~~~~~~~~~~~~ + "change to this stream after fading, stop +playing if unset" + string typestr="streamname" + default="sleep" + optional + +option "wake_hour" H +#~~~~~~~~~~~~~~~~~~~ + "(0-23)" + int typestr="hour" + default="8" + optional + +option "wake_min" M +#~~~~~~~~~~~~~~~~~~ +"(0-59)" + int typestr="seconds" + default="0" + optional + +option "wake_stream" - +#~~~~~~~~~~~~~~~~~~~~~ + "change to this stream on waketime" + string typestr="streamname" + default="wake" + optional + +option "wake_fade" - +#~~~~~~~~~~~~~~~~~~~ + "no fading in if set to 0" + int typestr="seconds" + default="1200" + optional + +option "wake_vol" - +#~~~~~~~~~~~~~~~~~~ + "vol to fade to at waketime" + int typestr="volume" + default="80" + optional section "snooze options" -option "snooze_out_fade" - "fade out time" int typestr="seconds" default="30" no -option "snooze_out_vol" - "vol to fade to before snooze" int typestr="volume" default="20" no -option "snooze_time" - "delay" int typestr="seconds" default="600" no -option "snooze_in_fade" - "fade in time" int typestr="seconds" default="180" no -option "snooze_in_vol" - "vol to fade to after snooze" int typestr="volume" default="80" no +######################## + +option "snooze_out_fade" - +#~~~~~~~~~~~~~~~~~~~~~~~~~ + "fade out time" + int typestr="seconds" + default="30" + optional + +option "snooze_out_vol" - +#~~~~~~~~~~~~~~~~~~~~~~~~ + "vol to fade to before snooze" + int typestr="volume" + default="20" + optional + +option "snooze_time" - +#~~~~~~~~~~~~~~~~~~~~~ + "delay" + int typestr="seconds" + default="600" + optional + +option "snooze_in_fade" - +#~~~~~~~~~~~~~~~~~~~~~~~~ + "fade in time" + int typestr="seconds" + default="180" + optional + +option "snooze_in_vol" - +#~~~~~~~~~~~~~~~~~~~~~~~ + "vol to fade to after snooze" + int typestr="volume" + default="80" + optional section "fade options" -option "fade_vol" f "volume to fade to" int typestr="volume" default="50" no -option "fade_time" t "time to fade in" int typestr="seconds" default="5" no +###################### + +option "fade_vol" f +#~~~~~~~~~~~~~~~~~~ + "volume to fade to" + int typestr="volume" + default="50" + optional + +option "fade_time" t +#~~~~~~~~~~~~~~~~~~~ + "time to fade in" + int typestr="seconds" + default="5" + optional