diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-03-26 15:02:36 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-03-26 15:02:36 +1100 |
| commit | 0f8e6cf1c33a5d0efb70a9fcc211c7bfbf2073f4 (patch) | |
| tree | fca591145ab10492543a3b6d2ff3ed697595c77d /src | |
| parent | config: show sidebar on startup (diff) | |
| download | caelestia-shell-0f8e6cf1c33a5d0efb70a9fcc211c7bfbf2073f4.tar.gz caelestia-shell-0f8e6cf1c33a5d0efb70a9fcc211c7bfbf2073f4.tar.bz2 caelestia-shell-0f8e6cf1c33a5d0efb70a9fcc211c7bfbf2073f4.zip | |
notification: body tooltip for dashboard
Diffstat (limited to 'src')
| -rw-r--r-- | src/widgets/notification.tsx | 2 |
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> |