config: add ‘notify’ to possible values for ‘bell’ in foot.ini

When `bell=notify`, foot will trigger a desktop notification when it
receives a BEL in an unfocused window.
This commit is contained in:
Daniel Eklöf 2020-12-10 18:22:48 +01:00
parent 1d8410b7ae
commit 15d20af2a2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 45 additions and 17 deletions

View file

@ -72,7 +72,11 @@ struct config {
unsigned pad_y;
bool bold_in_bright;
bool bell_is_urgent;
enum {
BELL_ACTION_NONE,
BELL_ACTION_URGENT,
BELL_ACTION_NOTIFY,
} bell_action;
enum { STARTUP_WINDOWED, STARTUP_MAXIMIZED, STARTUP_FULLSCREEN } startup_mode;