diff --git a/quickshell/Services/NiriService.qml b/quickshell/Services/NiriService.qml index 0f2c0505..03068296 100644 --- a/quickshell/Services/NiriService.qml +++ b/quickshell/Services/NiriService.qml @@ -629,9 +629,9 @@ Singleton { if (pendingScreenshotPath && data.path === pendingScreenshotPath) { const editor = Quickshell.env("DMS_SCREENSHOT_EDITOR"); let command; - if (editor === "satty") { + if (editor === "satty" || !editor) { command = ["satty", "-f", data.path]; - } else if (editor === "swappy" || !editor) { + } else if (editor === "swappy") { command = ["swappy", "-f", data.path]; } else { // Custom command with %path% placeholder