forked from Shinonome/dots-hyprland
re-add notif force dismissal (#215)
This commit is contained in:
@@ -435,17 +435,17 @@ export default ({
|
||||
})
|
||||
widget.add(notificationBox);
|
||||
wholeThing.child.children = [widget];
|
||||
// if (isPopup) Utils.timeout(popupTimeout, () => {
|
||||
// if (wholeThing) {
|
||||
// wholeThing.revealChild = false;
|
||||
// Utils.timeout(200, () => {
|
||||
// if (wholeThing) {
|
||||
// wholeThing.destroy();
|
||||
// wholeThing = null;
|
||||
// }
|
||||
// command();
|
||||
// }, wholeThing);
|
||||
// }
|
||||
// })
|
||||
if (isPopup) Utils.timeout(popupTimeout, () => {
|
||||
if (wholeThing) {
|
||||
wholeThing.revealChild = false;
|
||||
Utils.timeout(200, () => {
|
||||
if (wholeThing) {
|
||||
wholeThing.destroy();
|
||||
wholeThing = null;
|
||||
}
|
||||
command();
|
||||
}, wholeThing);
|
||||
}
|
||||
})
|
||||
return wholeThing;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user