mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-23 06:13:25 +01:00
manpage fixes/rm redundant comments & make alerts setting more intuitive
This commit is contained in:
parent
97536d2a72
commit
ebc5cd9285
@ -35,11 +35,11 @@ Enable or disable autologging.
|
||||
Values: 1 to enable, 0 to disable
|
||||
.RE
|
||||
.PP
|
||||
.B disable_alerts
|
||||
.B alerts
|
||||
.RS
|
||||
Enable or disable terminal alerts on messages.
|
||||
Enable or disable terminal alerts on events.
|
||||
.br
|
||||
Values: 0 to enable, 1 to disable
|
||||
Values: 1 to enable, 0 to disable
|
||||
.RE
|
||||
.PP
|
||||
.B history_size
|
||||
@ -51,7 +51,7 @@ Values: <INTEGER> (for example: 700)
|
||||
.PP
|
||||
.B colour_theme
|
||||
.RS
|
||||
Select between toxic colour theme and notive terminal colours.
|
||||
Select between toxic colour theme and native terminal colours.
|
||||
.br
|
||||
Values: 0 for toxic colours, 1 for terminal colours
|
||||
.RE
|
||||
@ -78,38 +78,24 @@ Values: <STRING> (absolute path where to store downloaded files)
|
||||
.RE
|
||||
.RE
|
||||
.SH EXAMPLES
|
||||
This is from __DATADIR__/toxic.conf.exmaple:
|
||||
Default settings from __DATADIR__/toxic.conf.exmaple:
|
||||
.PP
|
||||
# 24 or 12 hour time
|
||||
.br
|
||||
time:24;
|
||||
.br
|
||||
# 1 to enable autologging, 0 to disable
|
||||
timestamps:1;
|
||||
.br
|
||||
autolog:0;
|
||||
.br
|
||||
# 1 to disbale terminal alerts on messages, 0 to enable
|
||||
.br
|
||||
disable_alerts:0;
|
||||
.br
|
||||
# maximum lines for chat window history
|
||||
alerts:1;
|
||||
.br
|
||||
history_size:700;
|
||||
.br
|
||||
# 1 to use native terminal colours, 0 to use toxic default colour theme
|
||||
.br
|
||||
colour_theme:0;
|
||||
.br
|
||||
# preferred audio input device; numbers correspond to /lsdev in
|
||||
.br
|
||||
audio_in_dev:0;
|
||||
.br
|
||||
# preferred audio output device; numbers correspond to /lsdev out
|
||||
.br
|
||||
audio_out_dev:0;
|
||||
.br
|
||||
# preferred path for downloads
|
||||
.br
|
||||
download_path:/home/USERNAME/Downloads/;
|
||||
.SH FILES
|
||||
.IP ~/.config/tox/toxic.conf
|
||||
|
@ -8,7 +8,7 @@ timestamps:1;
|
||||
autolog:0;
|
||||
|
||||
# 1 to disbale terminal alerts on messages, 0 to enable
|
||||
disable_alerts:0;
|
||||
alerts:1;
|
||||
|
||||
# maximum lines for chat window history
|
||||
history_size:700;
|
||||
|
@ -54,7 +54,7 @@ struct {
|
||||
{ "autolog", uset_autolog },
|
||||
{ "time", uset_time },
|
||||
{ "timestamps", uset_timestamps },
|
||||
{ "disable_alerts", uset_alerts },
|
||||
{ "alerts", uset_alerts },
|
||||
{ "colour_theme", uset_colours },
|
||||
{ "history_size", uset_hst_size },
|
||||
{ "download_path", uset_dwnld_path },
|
||||
@ -166,7 +166,7 @@ static void set_default_settings(struct user_settings *s)
|
||||
uset_autolog(s, "0");
|
||||
uset_time(s, "24");
|
||||
uset_timestamps(s, "1");
|
||||
uset_alerts(s, "0");
|
||||
uset_alerts(s, "1");
|
||||
uset_colours(s, "0");
|
||||
uset_hst_size(s, "700");
|
||||
uset_dwnld_path(s, NULL);
|
||||
|
@ -57,8 +57,8 @@ enum {
|
||||
TIMESTAMPS_OFF = 0,
|
||||
TIMESTAMPS_ON = 1,
|
||||
|
||||
ALERTS_DISABLED = 1,
|
||||
ALERTS_ENABLED = 0,
|
||||
ALERTS_DISABLED = 0,
|
||||
ALERTS_ENABLED = 1,
|
||||
|
||||
NATIVE_COLS = 1,
|
||||
DFLT_COLS = 0,
|
||||
|
Loading…
Reference in New Issue
Block a user