From 15d20af2a24664b09604f1ec5f121c38f1500c32 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 10 Dec 2020 18:22:48 +0100 Subject: config: add ‘notify’ to possible values for ‘bell’ in foot.ini MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When `bell=notify`, foot will trigger a desktop notification when it receives a BEL in an unfocused window. --- config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config.h') diff --git a/config.h b/config.h index 0a089912..9e5e8b4e 100644 --- a/config.h +++ b/config.h @@ -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; -- cgit v1.3