diff options
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 19 |
1 files changed, 19 insertions, 0 deletions
| @@ -73,6 +73,25 @@ static unsigned int cursorthickness = 2; | |||
| 73 | */ | 73 | */ |
| 74 | static int bellvolume = 0; | 74 | static int bellvolume = 0; |
| 75 | 75 | ||
| 76 | /* visual-bell timeout in ms (0 to disable visual-bell) */ | ||
| 77 | static 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 | |||
| 84 | static 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) */ | ||
| 89 | static int vbellcolor = 3; | ||
| 90 | static int vbellcolor_outline = 1; | ||
| 91 | static float vbellradius = 0.03; | ||
| 92 | static float vbellx = 0.5; | ||
| 93 | static float vbelly = 0.5; | ||
| 94 | |||
| 76 | /* default TERM value */ | 95 | /* default TERM value */ |
| 77 | char *termname = "st-256color"; | 96 | char *termname = "st-256color"; |
| 78 | 97 | ||
