1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 17:03:25 +01:00
toxic/misc/toxic.conf.example

128 lines
3.7 KiB
Plaintext
Raw Normal View History

2014-07-29 02:28:10 +02:00
// SAMPLE TOXIC CONFIGURATION
// USES LIBCONFIG-ACCEPTED SYNTAX
ui = {
// true to enable timestamps, false to disable
timestamps=true;
// true to enable acoustic alerts on messages, false to disable
alerts=true;
// Output a bell when receiving a message (see manpage)
bell_on_message=true
2016-07-17 19:16:46 +02:00
// Output a bell when receiving a filetransfer (see manpage)
bell_on_filetrans=true
2016-07-17 19:16:46 +02:00
// Don't output a bell when a filetransfer was accepted (see manpage)
bell_on_filetrans_accept=false
2016-07-17 19:16:46 +02:00
// Output a bell when receiving a group/call invite (see manpage)
bell_on_invite=true
2016-07-17 19:16:46 +02:00
// true to use native terminal colours, false to use toxic default colour theme
native_colors=false;
2014-07-29 02:28:10 +02:00
// true to enable autologging, false to disable
autolog=false;
2014-07-29 02:28:10 +02:00
// 24 or 12 hour time
time_format=24;
// Timestamp format string according to date/strftime format. Overrides time_format setting
timestamp_format="%H:%M:%S";
// true to show you when others are typing a message in 1-on-1 chats
show_typing_other=true;
// true to show others when you're typing a message in 1-on-1 chats
show_typing_self=true;
2014-09-19 07:06:18 +02:00
// true to show the welcome message on startup
show_welcome_msg=true;
// true to show friend connection change messages on the home screen
show_connection_msg=true;
// How often in days to update the DHT nodes list. (0 to disable updates)
nodeslist_update_freq=7;
// How often in seconds to auto-save the Tox data file. (0 to disable periodic auto-saves)
autosave_freq=600;
2014-07-29 02:28:10 +02:00
// maximum lines for chat window history
history_size=700;
// time in milliseconds to display a notification
notification_timeout=3000;
// Indicator for display when someone connects or joins a group.
line_join="-->";
// Indicator for display when someone disconnects or leaves a group.
line_quit="<--";
// Indicator for alert messages.
line_alert="-!-";
// Indicator for normal messages.
line_normal="---";
// true to change status based on screen/tmux attach/detach, false to disable
mplex_away=true;
// Status message to use when status set to away due to screen/tmux detach
mplex_away_note="Away from keyboard, be back soon!"
2014-07-29 02:28:10 +02:00
};
audio = {
// preferred audio input device; numbers correspond to /lsdev in
input_device=2;
// preferred audio output device; numbers correspond to /lsdev out
output_device=0;
2014-07-29 02:28:10 +02:00
// default VAD treshold; float (recommended values are around 40)
VAD_treshold=40.0;
};
tox = {
2014-08-27 05:21:32 +02:00
// Path for downloaded files
// download_path="/home/USERNAME/Downloads/";
2015-10-21 04:47:11 +02:00
// Path for your avatar (file must be a .png and cannot exceed 64 KiB)
// avatar_path="/home/USERNAME/Pictures/youravatar.png";
// Path for scripts that should be run on startup
// autorun_path="/home/USERNAME/toxic_scripts/";
2014-08-27 05:21:32 +02:00
// Path for chatlogs
// chatlogs_path="/home/USERNAME/toxic_chatlogs/";
2014-07-29 02:28:10 +02:00
};
// To disable a sound set the path to "silent"
sounds = {
2014-10-01 06:53:45 +02:00
error="__DATADIR__/sounds/ToxicError.wav";
user_log_in="__DATADIR__/sounds/ToxicContactOnline.wav";
user_log_out="__DATADIR__/sounds/ToxicContactOffline.wav";
2014-10-20 10:55:06 +02:00
call_incoming="__DATADIR__/sounds/ToxicIncomingCall.wav";
call_outgoing="__DATADIR__/sounds/ToxicOutgoingCall.wav";
2014-10-01 06:53:45 +02:00
generic_message="__DATADIR__/sounds/ToxicRecvMessage.wav";
transfer_pending="__DATADIR__/sounds/ToxicTransferStart.wav";
transfer_completed="__DATADIR__/sounds/ToxicTransferComplete.wav";
};
// Currently supported: Ctrl modified keys, Tab, PAGEUP and PAGEDOWN (case insensitive)
// Note: Ctrl+M does not work
2014-07-28 23:47:33 +02:00
keys = {
2014-08-20 12:40:32 +02:00
next_tab="Ctrl+P";
prev_tab="Ctrl+O";
scroll_line_up="PAGEUP";
scroll_line_down="PAGEDOWN";
half_page_up="Ctrl+F";
half_page_down="Ctrl+V";
page_bottom="Ctrl+H";
toggle_peerlist="Ctrl+b";
toggle_paste_mode="Ctrl+T";
};