aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-10 17:22:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-10 17:22:48 +0000
commit15d20af2a24664b09604f1ec5f121c38f1500c32 (patch)
tree34d9ab652f1c24399f098aafc5b80ad4de9e6016 /config.h
parentnotify: don’t emit notification when we’re focused (diff)
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.
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 5 insertions, 1 deletions
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;