From a87ed3b20459a9f067718e0212306008f2dfdaef Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Wed, 22 Nov 2023 21:28:00 +0100 Subject: Use different code path for Lomiri notifications --- src/warn-notification.vala | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/warn-notification.vala') diff --git a/src/warn-notification.vala b/src/warn-notification.vala index 203758e..ae19571 100644 --- a/src/warn-notification.vala +++ b/src/warn-notification.vala @@ -33,6 +33,11 @@ public class IndicatorSound.WarnNotification: Notification _("Volume"), _("Allow volume above safe level?\nHigh volume can damage your hearing."), "audio-volume-high"); + + n.set_hint ("x-lomiri-non-shaped-icon", "true"); + n.set_hint ("x-lomiri-snap-decisions", "true"); + n.set_hint ("x-lomiri-private-affirmative-tint", "true"); + n.closed.connect ((n) => { n.clear_actions (); }); -- cgit v1.2.3