nixos-configs/devices/binto/config/ags/js/notifications/main.js
matt1432 a609bdc61b
All checks were successful
Discord / discord commits (push) Has been skipped
fix(ags notif): make first notif appear
2023-12-28 23:20:03 -05:00

26 lines
743 B
JavaScript

import { Window } from 'resource:///com/github/Aylur/ags/widget.js';
import NotifCenterWidget from 'file:///home/matt/.nix/devices/wim/config/ags/js/notifications/center.js';
import PopUpsWidget from 'file:///home/matt/.nix/devices/wim/config/ags/js/notifications/popup.js';
import PopupWindow from 'file:///home/matt/.nix/devices/wim/config/ags/js/misc/popup.js';
export const NotifPopups = () => Window({
name: 'notifications',
anchor: ['bottom', 'left'],
monitor: 1,
child: PopUpsWidget(),
});
export const NotifCenter = () => PopupWindow({
name: 'notification-center',
anchor: ['bottom', 'right'],
margins: [0, 187, 0, 0],
transition: 'slide_up',
monitor: 1,
child: NotifCenterWidget(),
});