summaryrefslogtreecommitdiff
path: root/src/widgets/notification.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/notification.tsx')
-rw-r--r--src/widgets/notification.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/notification.tsx b/src/widgets/notification.tsx
index 368b99b..b2a10be 100644
--- a/src/widgets/notification.tsx
+++ b/src/widgets/notification.tsx
@@ -1,4 +1,5 @@
import { desktopEntrySubs } from "@/utils/icons";
+import { setupCustomTooltip } from "@/utils/widgets";
import { bind, GLib, register, timeout, Variable } from "astal";
import { Astal, Gtk, Widget } from "astal/gtk3";
import { notifpopups as config } from "config";
@@ -113,6 +114,7 @@ export default class Notification extends Widget.Box {
wrap
lines={compact ? 1 : -1}
truncate={compact}
+ setup={self => compact && !popup && setupCustomTooltip(self, notification.body)}
/>
)}
</box>