update niri

This commit is contained in:
2025-11-30 14:21:09 +01:00
parent a6608b1d81
commit 9f469589b4
12 changed files with 475 additions and 472 deletions

View File

@@ -172,9 +172,9 @@ Singleton {
Logger.error("Niri", "Error parsing window opened/changed event:", e);
}
}
if (event.windowClosed) {
if (event.WindowClosed) {
try {
const closedId = event.windowClosed.id;
const closedId = event.WindowClosed.id;
if (closedId && (root.windows && root.windows[closedId])) {
delete root.windows[closedId];
if (root.focusedWindowId === closedId) {

View File

@@ -10,7 +10,8 @@ Singleton {
if (!path || typeof path !== "string")
return ;
Quickshell.execDetached(["~/.local/scripts/screenshot-script", "edit", path]);
console.log("Screenshot captured at path:", path);
Quickshell.execDetached(["screenshot-script", "edit", path]);
}
}