import { Gtk } from "astal/gtk4";
import Notifd from "gi://AstalNotifd";
import { fileExists, isIcon } from "./notifd";
export const Icon = (notification: Notifd.Notification) => {
const icon =
notification.image || notification.appIcon || notification.desktopEntry;
if (!icon) return null;
if (fileExists(icon))
return (
);
else if (isIcon(icon))
return (
);
};