Remove hardcoded rule to ignore transient notifications from history
This rule was added in #343 when trying to decide what to do with transient notifications. This seemed like a good idea at the time but it ended up creating more confusion that necessary. Relevant issues: #310, #508
This commit is contained in:
parent
d6ef1c24c5
commit
f8538c9a45
28
config.h
28
config.h
@ -112,37 +112,15 @@ rule_t default_rules[] = {
|
|||||||
.timeout = -1,
|
.timeout = -1,
|
||||||
.urgency = -1,
|
.urgency = -1,
|
||||||
.markup = MARKUP_NULL,
|
.markup = MARKUP_NULL,
|
||||||
.history_ignore = 1,
|
.history_ignore = -1,
|
||||||
.match_transient = 1,
|
.match_transient = -1,
|
||||||
.set_transient = -1,
|
.set_transient = -1,
|
||||||
.new_icon = NULL,
|
.new_icon = NULL,
|
||||||
.fg = NULL,
|
.fg = NULL,
|
||||||
.bg = NULL,
|
.bg = NULL,
|
||||||
.format = NULL,
|
.format = NULL,
|
||||||
.script = NULL,
|
.script = NULL,
|
||||||
},
|
}
|
||||||
|
|
||||||
/* ignore transient hints in history by default */
|
|
||||||
{
|
|
||||||
.name = "ignore_transient_in_history",
|
|
||||||
.appname = NULL,
|
|
||||||
.summary = NULL,
|
|
||||||
.body = NULL,
|
|
||||||
.icon = NULL,
|
|
||||||
.category = NULL,
|
|
||||||
.msg_urgency = -1,
|
|
||||||
.timeout = -1,
|
|
||||||
.urgency = -1,
|
|
||||||
.markup = MARKUP_NULL,
|
|
||||||
.history_ignore = 1,
|
|
||||||
.match_transient = 1,
|
|
||||||
.set_transient = -1,
|
|
||||||
.new_icon = NULL,
|
|
||||||
.fg = NULL,
|
|
||||||
.bg = NULL,
|
|
||||||
.format = NULL,
|
|
||||||
.script = NULL,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* vim: set tabstop=8 shiftwidth=8 expandtab textwidth=0: */
|
/* vim: set tabstop=8 shiftwidth=8 expandtab textwidth=0: */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user