sxalert

Simple notification system for X
git clone git://mcdim.xyz/sxalert.git
Log | Files | Refs | README | LICENSE

config.h (631B)


      1 /* sxalert - simple notification program for X
      2  *
      3  * Copyright (C) 2023, 2026 Michail Konstantinos Dimopoulos
      4  * License: GPL-3.0-or-later (see LICENSE)
      5  */
      6 
      7 #include "sxalert.h"
      8 
      9 /* configure values below */
     10 static const struct alert default_alert = {
     11 	.duration 	= 5000, /* ms */
     12 	
     13 	/* default appearance */
     14 	
     15 	.text_color	= "dfe3e3",
     16 	.bg_color	= "1a1616",
     17 	.border_color	= "dfe3e3",
     18 
     19 	.border_width	= 1,
     20 	.text_x_padding = 15,
     21 
     22 	.min_width	= 300, 
     23 	.max_width	= 1000,
     24 
     25 	.x_offset	= 20, /* pixels from right */
     26 	.y_offset	= 40, /* pixels from top */
     27 
     28 	.font		= "DejaVu Sans Mono:size=13:antialias=true",
     29 	.text_height 	= 10,
     30 };