feat: add multi-monitor support

This commit is contained in:
tux
2025-12-29 21:47:59 +05:30
parent f46e52d427
commit b41e5706e1
8 changed files with 44 additions and 17 deletions

View File

@@ -11,7 +11,7 @@ import { Notification } from "./notification";
export const WINDOW_NAME = "notifications";
export const Notifications = (gdkmonitor: Gdk.Monitor) => {
export const Notifications = ({ gdkmonitor }: { gdkmonitor: Gdk.Monitor }) => {
const notifd = AstalNotifd.get_default();
const isDndMode = createBinding(notifd, "dont-disturb");