1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-03 20:32:07 -04:00

chore(niri): use satty screenshot tool as default (#2105)

Swappy seems to not be quite as well maintained as satty, latest commit (ff7d641b8c) 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.
- 590253c8bb - 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

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