From 374d2ba648d851bdd62c44a5d2209e38e072eaae Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 16 Nov 2024 00:03:45 +0300 Subject: [PATCH] Sway: Add extra sound before editing screenshot. --- home/config/sway/module/Screenshot.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/home/config/sway/module/Screenshot.nix b/home/config/sway/module/Screenshot.nix index effc66d3..d7f67e59 100644 --- a/home/config/sway/module/Screenshot.nix +++ b/home/config/sway/module/Screenshot.nix @@ -139,16 +139,17 @@ in { ${notifyEnd} ${picPrepFile} - ${screenshot} ${picFull} | ${picToFile} | ${picToBuffer} || exit + ${screenshot} ${picFull} | ${picToFile} | ${picToBuffer} ${picRefLatestFile} ''); SelectScreenshot = pkgs.writeShellScriptBin "SelectScreenshot" (util.trimTabs '' ${getSelection} - ${notifyEnd} + ${notifyStart} ${picPrepFile} - ${screenshot} ${picSelected} | ${picEdit} | ${picToFile} | ${picToBuffer} || exit + ${screenshot} ${picSelected} | ${picEdit} | ${picToFile} | ${picToBuffer} + ${notifyEnd} ${picRefLatestFile} ''); in ''