aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorRaimund Sacherer <rsachere@redhat.com>2023-10-07 17:37:04 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-10-10 06:12:48 +0000
commit827396237253d3c784c7455a9f3f2c26a8128c51 (patch)
tree5684b9466768fb1908153180cc08d2f4c5f28b24 /config.h
parentrender: more fine-grained wayland surface damage tracking (diff)
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.
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 4d2838c4..3c5b3df7 100644
--- a/config.h
+++ b/config.h
@@ -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;