From 03d2a3fd390b265eade6cd2356933bb61afac160 Mon Sep 17 00:00:00 2001 From: Tulip Blossom Date: Sun, 29 Mar 2026 22:32:15 -0300 Subject: [PATCH] chore(niri): use satty screenshot tool as default (#2105) Swappy seems to not be quite as well maintained as satty, latest commit (https://github.com/jtheoof/swappy/commit/ff7d641b8c0d461b8a90448a5893e4aa3a0533b1) is a translation, before that the latest commit was in august 2025. Latest release is also from Aug 27 2025. Satty however has had commits quite recently and releases as well. - https://github.com/Satty-org/Satty/commit/590253c8bba01f5c559808dd432cbb80bc4bd7c8 - This was from yesterday - https://github.com/Satty-org/Satty/releases/tag/v0.20.1 - Febuary 6th Signed-off-by: Tulip Blossom --- quickshell/Services/NiriService.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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