update niri
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user