This commit is contained in:
2025-08-16 18:54:38 -05:00
parent e33b53e459
commit 1a0a5ced12
122 changed files with 4326 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
const notifications = await Service.import("notifications")
// we don't need dunst or any other notification daemon
// because the Notifications module is a notification daemon itself
export default function Notification() {
const popups = notifications.bind("popups")
return Widget.EventBox({
class_name: "notificationbutton",
visible: true,
on_primary_click: () => {},
child: Widget.Icon({
icon: "preferences-system-notifications-symbolic",
}),
})
}
// Widget.Label({
// label: popups.as(p => p[0]?.summary || ""),
// }),