swaync: remove legacy sxmo-specific notification visibility rules
This commit is contained in:
@@ -145,43 +145,6 @@ in
|
||||
scripts = import ./scripts.nix {
|
||||
inherit pkgs;
|
||||
};
|
||||
notification-visibility = {
|
||||
# match incoming notifications and decide if they should be visible.
|
||||
# map of rule-name => { criteria and effect };
|
||||
# keys:
|
||||
# - `state`: "ignored"|"muted"|"transient"|"enabled"
|
||||
# => which visibility to apply to matched notifications
|
||||
# => "ignored" behaves as if the notification was never sent.
|
||||
# => "muted" adds it to the sidebar & sets the notif indicator but doesn't display it on main display
|
||||
# - `override-urgency`: "unset"|"low"|"normal"|"critical"
|
||||
# => which urgency to apply to matched notifs
|
||||
# critera: each key is optional, value is regex; rule applies if *all* specified are matched
|
||||
# - `app-name`: string
|
||||
# - `desktop-entry`: string
|
||||
# - `summary`: string
|
||||
# - `body`: string
|
||||
# - `urgency`: "Low"|"Normal"|"Critical"
|
||||
# - `category`: string
|
||||
#
|
||||
# test rules by using `notify-send` (libnotify)
|
||||
sxmo-extraneous-daemons = {
|
||||
app-name = "notify-send";
|
||||
summary = "(sxmo_hook_lisgd|Autorotate) (Stopped|Started)";
|
||||
state = "ignored";
|
||||
};
|
||||
sxmo-extraneous-warnings = {
|
||||
app-name = "notify-send";
|
||||
# "Modem crashed! 30s recovery.": happens on sxmo_hook_postwake.sh (i.e. unlock)
|
||||
summary = "^Modem crashed.*$";
|
||||
state = "ignored";
|
||||
};
|
||||
sxmo-timer = {
|
||||
# force timer announcements to bypass DND
|
||||
app-name = "notify-send";
|
||||
summary = "^Done with .*$";
|
||||
override-urgency = "critical";
|
||||
};
|
||||
};
|
||||
widgets = [
|
||||
# what to show in the notification center (and in which order).
|
||||
# these are configurable further via `widget-config`.
|
||||
|
Reference in New Issue
Block a user