1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

niri: allow using satty as the editor

This commit is contained in:
bbedward
2025-11-04 17:43:23 -05:00
parent 528e8bf92e
commit 60a791442e

View File

@@ -550,8 +550,10 @@ Singleton {
return
if (pendingScreenshotPath && data.path === pendingScreenshotPath) {
const editor = Quickshell.env("DMS_SCREENSHOT_EDITOR")
const command = editor === "satty" ? ["satty", "-f", data.path] : ["swappy", "-f", data.path]
Quickshell.execDetached({
command: ["swappy", "-f", data.path]
command: command
})
pendingScreenshotPath = ""
}