From f8538c9a459ec8274b0b14cd3055ac8ba10d6f5c Mon Sep 17 00:00:00 2001 From: Nikos Tsipinakis Date: Mon, 2 Apr 2018 14:36:34 +0300 Subject: [PATCH] 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 --- config.h | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/config.h b/config.h index ec85694..fc6a42b 100644 --- a/config.h +++ b/config.h @@ -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: */