1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 19:56:45 +02:00

add setting to disable terminal alerts

This commit is contained in:
Jfreegman
2014-04-11 21:47:09 -04:00
parent e384f87a04
commit 766ae685c2
4 changed files with 15 additions and 2 deletions

View File

@ -20,11 +20,12 @@
*
*/
#define NUM_SETTINGS 5
#define NUM_SETTINGS 6
/* holds user setting values */
struct user_settings {
int autolog; /* boolean */
int alerts; /* boolean */
int time; /* 12 or 24 */
int colour_theme; /* boolean (0 for default toxic colours) */
long int audio_in_dev;
@ -38,6 +39,9 @@ enum {
TIME_24 = 24,
TIME_12 = 12,
ALERTS_DISABLED = 1,
ALERTS_ENABLED = 0,
NATIVE_COLS = 1,
DFLT_COLS = 0,
};