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:
Nikos Tsipinakis 2018-04-02 14:36:34 +03:00
parent d6ef1c24c5
commit f8538c9a45

View File

@ -112,37 +112,15 @@ rule_t default_rules[] = {
.timeout = -1,
.urgency = -1,
.markup = MARKUP_NULL,
.history_ignore = 1,
.match_transient = 1,
.history_ignore = -1,
.match_transient = -1,
.set_transient = -1,
.new_icon = NULL,
.fg = NULL,
.bg = NULL,
.format = 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: */