From b77bff35a126c5452a4cce02941e64e2e085db6d Mon Sep 17 00:00:00 2001 From: jfreegman Date: Sat, 5 Dec 2020 20:43:21 -0500 Subject: [PATCH] Add config man entries for colour scheme options --- doc/toxic.conf.5 | 34 +++++++++++++++++++++++++++------- doc/toxic.conf.5.asc | 12 ++++++++++++ misc/toxic.conf.example | 22 +++++++++++----------- 3 files changed, 50 insertions(+), 18 deletions(-) diff --git a/doc/toxic.conf.5 b/doc/toxic.conf.5 index 5b29b6e..f2fe877 100644 --- a/doc/toxic.conf.5 +++ b/doc/toxic.conf.5 @@ -2,12 +2,12 @@ .\" Title: toxic.conf .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 2020-05-07 +.\" Date: 2020-11-18 .\" Manual: Toxic Manual .\" Source: toxic __VERSION__ .\" Language: English .\" -.TH "TOXIC\&.CONF" "5" "2020\-05\-07" "toxic __VERSION__" "Toxic Manual" +.TH "TOXIC\&.CONF" "5" "2020\-11\-18" "toxic __VERSION__" "Toxic Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -93,6 +93,26 @@ Enable or disable acoustic alerts on events\&. true or false Select between native terminal colors and toxic color theme\&. true or false .RE .PP +\fBcolor_bar_bg\fR +.RS 4 +set background color of chat status bars\&. (black, white, red, green, blue, cyan, yellow, magenta) +.RE +.PP +\fBcolor_bar_fg\fR +.RS 4 +set foreground (text) color of chat status bars\&. (black, white, red, green, blue, cyan, yellow, magenta) +.RE +.PP +\fBcolor_bar_accent\fR +.RS 4 +set foreground accent color of chat status bars\&. (black, white, red, green, blue, cyan, yellow, magenta) +.RE +.PP +\fBcolor_bar_notify\fR +.RS 4 +set foreground notify (and typing) color in chat status bar\&. (black, white, red, green, blue, cyan, yellow, magenta) +.RE +.PP \fBautolog\fR .RS 4 Enable or disable autologging\&. true or false @@ -222,11 +242,6 @@ Audio output device\&. Integer value\&. Number corresponds to Voice Activity Detection threshold\&. Float value\&. Recommended values are 1\&.0\-40\&.0 .RE .PP -\fBpush_to_talk\fR -.RS 4 -Enable/Disable Push\-To\-Talk for conference audio chats (active key is F2)\&. true or false -.RE -.PP \fBconference_audio_channels\fR .RS 4 Number of channels for conference audio broadcast\&. Integer value\&. 1 (mono) or 2 (stereo) @@ -236,6 +251,11 @@ Number of channels for conference audio broadcast\&. Integer value\&. 1 (mono) o .RS 4 Number of channels for 1\-on\-1 audio broadcast\&. Integer value\&. 1 (mono) or 2 (stereo) .RE +.PP +\fBpush_to_talk\fR +.RS 4 +Enable/Disable Push\-To\-Talk for conference audio chats (active key is F2)\&. true or false +.RE .RE .PP \fBtox\fR diff --git a/doc/toxic.conf.5.asc b/doc/toxic.conf.5.asc index a1df5e4..ee9b806 100644 --- a/doc/toxic.conf.5.asc +++ b/doc/toxic.conf.5.asc @@ -60,6 +60,18 @@ OPTIONS *native_colors*;; Select between native terminal colors and toxic color theme. true or false + *color_bar_bg*;; + set background color of chat status bars. (black, white, red, green, blue, cyan, yellow, magenta) + + *color_bar_fg*;; + set foreground (text) color of chat status bars. (black, white, red, green, blue, cyan, yellow, magenta) + + *color_bar_accent*;; + set foreground accent color of chat status bars. (black, white, red, green, blue, cyan, yellow, magenta) + + *color_bar_notify*;; + set foreground notify (and typing) color in chat status bar. (black, white, red, green, blue, cyan, yellow, magenta) + *autolog*;; Enable or disable autologging. true or false diff --git a/misc/toxic.conf.example b/misc/toxic.conf.example index fbd0d4c..aa81b64 100644 --- a/misc/toxic.conf.example +++ b/misc/toxic.conf.example @@ -9,31 +9,31 @@ ui = { alerts=true; // Output a bell when receiving a message (see manpage) - bell_on_message=true + bell_on_message=true; // Output a bell when receiving a filetransfer (see manpage) - bell_on_filetrans=true + bell_on_filetrans=true; // Don't output a bell when a filetransfer was accepted (see manpage) - bell_on_filetrans_accept=false + bell_on_filetrans_accept=false; // Output a bell when receiving a group/call invite (see manpage) - bell_on_invite=true + bell_on_invite=true; // true to use native terminal colours, false to use toxic default colour theme native_colors=false; // set background color of chat status bars (black, white, red, green, blue, cyan, yellow, magenta) - color_bar_bg = "blue"; + color_bar_bg="blue"; // set foreground (text) color of chat status bars (black, white, red, green, blue, cyan, yellow, magenta) - color_bar_fg = "white"; + color_bar_fg="white"; // set foreground accent color of chat status bars (black, white, red, green, blue, cyan, yellow, magenta) - color_bar_accent = "cyan"; + color_bar_accent="cyan"; // set foreground notify (and typing) color in chat status bar (black, white, red, green, blue, cyan, yellow, magenta) - color_bar_notify = "yellow"; + color_bar_notify="yellow"; // true to enable autologging, false to disable autolog=false; @@ -68,10 +68,10 @@ ui = { // time in milliseconds to display a notification notification_timeout=6000; - // Indicator for display when someone connects or joins a group. + // Indicator for display when someone connects or joins a group line_join="-->"; - // Indicator for display when someone disconnects or leaves a group. + // Indicator for display when someone disconnects or leaves a group line_quit="<--"; // Indicator for alert messages. @@ -143,6 +143,6 @@ keys = { half_page_up="Ctrl+F"; half_page_down="Ctrl+V"; page_bottom="Ctrl+H"; - toggle_peerlist="Ctrl+b"; + toggle_peerlist="Ctrl+B"; toggle_paste_mode="Ctrl+T"; };