summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-26 15:02:36 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-26 15:02:36 +1100
commit0f8e6cf1c33a5d0efb70a9fcc211c7bfbf2073f4 (patch)
treefca591145ab10492543a3b6d2ff3ed697595c77d /src/widgets
parentconfig: show sidebar on startup (diff)
downloadcaelestia-shell-0f8e6cf1c33a5d0efb70a9fcc211c7bfbf2073f4.tar.gz
caelestia-shell-0f8e6cf1c33a5d0efb70a9fcc211c7bfbf2073f4.tar.bz2
caelestia-shell-0f8e6cf1c33a5d0efb70a9fcc211c7bfbf2073f4.zip
notification: body tooltip for dashboard
Diffstat (limited to 'src/widgets')
-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>