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:
@@ -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 = ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user