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:
@@ -629,9 +629,9 @@ Singleton {
|
|||||||
if (pendingScreenshotPath && data.path === pendingScreenshotPath) {
|
if (pendingScreenshotPath && data.path === pendingScreenshotPath) {
|
||||||
const editor = Quickshell.env("DMS_SCREENSHOT_EDITOR");
|
const editor = Quickshell.env("DMS_SCREENSHOT_EDITOR");
|
||||||
let command;
|
let command;
|
||||||
if (editor === "satty") {
|
if (editor === "satty" || !editor) {
|
||||||
command = ["satty", "-f", data.path];
|
command = ["satty", "-f", data.path];
|
||||||
} else if (editor === "swappy" || !editor) {
|
} else if (editor === "swappy") {
|
||||||
command = ["swappy", "-f", data.path];
|
command = ["swappy", "-f", data.path];
|
||||||
} else {
|
} else {
|
||||||
// Custom command with %path% placeholder
|
// Custom command with %path% placeholder
|
||||||
|
|||||||
Reference in New Issue
Block a user