21 lines
469 B
TypeScript
21 lines
469 B
TypeScript
/*
|
|
* dotfiles - handler.ts
|
|
*
|
|
* Created by Janis Hutz 03/21/2025, Licensed under the GPL V3 License
|
|
* https://janishutz.com, development@janishutz.com
|
|
*
|
|
*
|
|
*/
|
|
|
|
// Handle incoming notifications and keep a list that can be consumed by
|
|
// other parts of the astal setup
|
|
|
|
import Notifd from "gi://AstalNotifd";
|
|
const notifd = Notifd.get_default();
|
|
const notifications: Notifd.Notification[] = [];
|
|
|
|
notifd.connect( 'notified', ( _, id ) => {
|
|
|
|
} );
|
|
|