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