Merge branch 't/testsuite'
[paraslash.git] / ggo / gui.m4
1 include(header.m4)
2 define(CURRENT_PROGRAM,para_gui)
3 define(DEFAULT_CONFIG_FILE,~/.paraslash/gui.conf)
4
5 <qu>
6 #########################
7 section "General options"
8 #########################
9 </qu>
10
11 include(config_file.m4)
12 include(loglevel.m4)
13
14 <qu>
15 option "timeout" t
16 #~~~~~~~~~~~~~~~~~
17 "set timeout"
18 int typestr = "milliseconds"
19 default = "30"
20 optional
21
22 option "theme" T
23 #~~~~~~~~~~~~~~~
24 "select startup theme"
25 string typestr = "name"
26 optional
27 details = "
28         If this option is not given the default theme is used.
29         If the given name is not a valid theme name, the list of
30         available themes is printed and the program terminates.
31 "
32
33 option "stat_cmd" s
34 #~~~~~~~~~~~~~~~~~~
35 "command to read status items from"
36 string typestr = "command"
37 default = "para_audioc -- stat -p"
38 optional
39 details = "
40         In order to run para_gui on a host on which no para_audiod
41         is running (hence the default command does not work), the
42         command
43
44                 para_client -- stat -p
45
46         may be used. This command prints less information though.
47         In particular, no timing information about the current audio
48         file is printed.
49 "
50
51 #---------------------------------
52 section "Mapping keys to commands"
53 #---------------------------------
54
55 option "key_map" k
56 #~~~~~~~~~~~~~~~~~
57 "Map key k to command c using mode m."
58
59 string typestr = "k:m:c"
60 optional
61 multiple
62 details = "
63         Mode may be d, x or p for display, external and paraslash
64         commands, respectively. Of course, this option may be given
65         multiple times, one for each key mapping.
66 "
67 </qu>