prepare for multiple home-manager configs

This commit is contained in:
2025-01-16 10:43:56 -06:00
parent ee5e3ae9b0
commit 945e3765e8
65 changed files with 59 additions and 36 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 || ""),
// }),