1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-24 16:33:16 +01:00

Add options to enable terminal bell on certain events

Some terminals can mark the terminal window as urgent on bell.
This is useful for window managers that provide a shortcut to jump to an
urgent client.
This commit is contained in:
Marvin Ewald
2015-11-01 19:53:31 +01:00
parent 2ec180789b
commit d3effa26b5
5 changed files with 50 additions and 14 deletions

View File

@@ -37,6 +37,12 @@ struct user_settings {
int autolog; /* boolean */
int alerts; /* boolean */
/* boolean (is set to NT_BEEP or 0 after loading) */
int beep_on_message;
int beep_on_filetrans;
int beep_on_filetrans_accept;
int beep_on_invite;
int timestamps; /* boolean */
char timestamp_format[TIME_STR_SIZE];
char log_timestamp_format[TIME_STR_SIZE];