mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-27 06:46:44 -04:00
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 of the flash and the alpha to apply to. Default values are the values which where currently used for flash, altough I personally like a nice red (eb1313) better.
This commit is contained in:
parent
56d5d4cc21
commit
36ed07788e
7 changed files with 57 additions and 2 deletions
3
config.h
3
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue