aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-11 18:44:32 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-11 18:44:32 +0000
commit934466bc84c007a3935f57079df1036c132c3393 (patch)
tree34d9ab652f1c24399f098aafc5b80ad4de9e6016 /config.h
parentMerge branch 'remove-deprecated-things' (diff)
parentconfig: add ‘notify’ to possible values for ‘bell’ in foot.ini (diff)
Merge branch 'osc777-notify'
Closes #224
Diffstat (limited to 'config.h')
-rw-r--r--config.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/config.h b/config.h
index e69e5376..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;
@@ -164,6 +168,11 @@ struct config {
bool hold_at_exit;
struct {
+ char *raw_cmd;
+ char **argv;
+ } notify;
+
+ struct {
enum fcft_scaling_filter fcft_filter;
bool allow_overflowing_double_width_glyphs;
bool render_timer_osd;