diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-12-10 17:22:48 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-12-10 17:22:48 +0000 |
| commit | 15d20af2a24664b09604f1ec5f121c38f1500c32 (patch) | |
| tree | 34d9ab652f1c24399f098aafc5b80ad4de9e6016 /config.h | |
| parent | notify: 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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; |
