summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/config.h b/config.h
index a860986..b47e954 100644
--- a/config.h
+++ b/config.h
@@ -73,6 +73,25 @@ static unsigned int cursorthickness = 2;
73 */ 73 */
74static int bellvolume = 0; 74static int bellvolume = 0;
75 75
76/* visual-bell timeout in ms (0 to disable visual-bell) */
77static int vbelltimeout = 150;
78
79/* choose predefined visual-bell cells to inverse, or define your own logic */
80#define VBCELL x==0 || x==right || y==0 || y==bottom /* border */
81// #define VBCELL 1 /* all cells - whole screen */
82// #define VBCELL y==bottom && x>right-2 /* bottom-right */
83
84static int vbellmode = 1;
85/* vbellmode: 0: invert cells. 1: draw a circle with these parameters:
86 * - base and outline colors (colorname index - see below)
87 * - radius: relative to window width, or if negative: relative to cell-width
88 * - position: relative to window width/height (0 and 1 are at the edges) */
89static int vbellcolor = 3;
90static int vbellcolor_outline = 1;
91static float vbellradius = 0.03;
92static float vbellx = 0.5;
93static float vbelly = 0.5;
94
76/* default TERM value */ 95/* default TERM value */
77char *termname = "st-256color"; 96char *termname = "st-256color";
78 97