notification: body tooltip for dashboard
This commit is contained in:
parent
9963f16976
commit
0f8e6cf1c3
1 changed files with 2 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue