From 0f8e6cf1c33a5d0efb70a9fcc211c7bfbf2073f4 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 26 Mar 2025 15:02:36 +1100 Subject: notification: body tooltip for dashboard --- src/widgets/notification.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/widgets/notification.tsx') 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)} /> )} -- cgit v1.2.3-freya