1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-07 19:59:14 -04:00

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 <tulilirockz@outlook.com>
This commit is contained in:
Tulip Blossom
2026-03-29 22:32:15 -03:00
committed by GitHub
parent 802b23ed60
commit 03d2a3fd39
+2 -2
View File
@@ -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