summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--widget/notifications/Notifications.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/widget/notifications/Notifications.tsx b/widget/notifications/Notifications.tsx
index 6708b96..96d5d03 100644
--- a/widget/notifications/Notifications.tsx
+++ b/widget/notifications/Notifications.tsx
@@ -95,6 +95,8 @@ export default function(gdkmonitor: Gdk.Monitor) {
return <window
// NOTE: is required due to last notification being displayed all the time
visible={bind(notifications).as(v => v.length != 0)}
+ // NOTE: is required to display notifications on top of fullscreen windows on Niri
+ layer={Astal.Layer.OVERLAY}
name={"Notifications"}
cssClasses={["Notifications"]}