[Astal] Notifications: Delete not working version

This commit is contained in:
2026-04-23 10:45:03 +02:00
parent 50012b04bc
commit fe14b2c78f
9 changed files with 790 additions and 430 deletions
@@ -2,7 +2,7 @@ import { bind } from "astal";
import { Gtk } from "astal/gtk4";
import Notifd from "gi://AstalNotifd";
import { NotificationIcon } from "./Icon";
import { createTimeoutManager } from "../../../util/notifd";
import { createTimeoutManager, time, urgency } from "../../../util/notifd";
export function NotificationWidget({
notification,
@@ -81,8 +81,8 @@ export function NotificationWidget({
halign={CENTER}
valign={CENTER}
vexpand={true}
child={NotificationIcon(notification)!}
>
{NotificationIcon(notification)}
</box>
<box
vertical