Enable the use of flash as visual bell

With this patch we can configure flash in the bell section. The colors
section allow now to configure the color and translucency of the
flash.
This commit is contained in:
Raimund Sacherer 2023-10-07 19:37:04 +02:00 committed by Daniel Eklöf
parent c50b1f9900
commit 8273962372
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
8 changed files with 60 additions and 2 deletions

View file

@ -160,6 +160,7 @@ struct config {
struct {
bool urgent;
bool notify;
bool flash;
struct config_spawn_template command;
bool command_focused;
} bell;
@ -202,6 +203,8 @@ struct config {
struct {
uint32_t fg;
uint32_t bg;
uint32_t flash;
uint32_t flash_alpha;
uint32_t table[256];
uint16_t alpha;
uint32_t selection_fg;