From 5890ba2dddd9080da1765d18d6944438ef4cd4a2 Mon Sep 17 00:00:00 2001 From: Nickolaj Jepsen Date: Mon, 25 Aug 2025 08:07:11 +0200 Subject: [PATCH] fix: autoclose satty after copy --- legacy_modules/desktop/screenshot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy_modules/desktop/screenshot.nix b/legacy_modules/desktop/screenshot.nix index e5ce3ab..3871059 100644 --- a/legacy_modules/desktop/screenshot.nix +++ b/legacy_modules/desktop/screenshot.nix @@ -5,7 +5,7 @@ }: let screenshotPkg = pkgs.writeShellScriptBin "screenshot" '' AREA=$(${lib.getExe pkgs.slurp} -d) - ${lib.getExe pkgs.grim} -t ppm -g "$AREA" - | ${lib.getExe pkgs.satty} -f - --initial-tool=arrow --copy-command=${pkgs.wl-clipboard}/bin/wl-copy --action-on-enter="save-to-clipboard" --disable-notifications + ${lib.getExe pkgs.grim} -t ppm -g "$AREA" - | ${lib.getExe pkgs.satty} -f - --initial-tool=arrow --early-exit --copy-command=${pkgs.wl-clipboard}/bin/wl-copy --action-on-enter="save-to-clipboard" --disable-notifications ''; in { environment.systemPackages = [