Sway: Add extra sound before editing screenshot.

This commit is contained in:
Dmitry Voronin 2024-11-16 00:03:45 +03:00
parent a1375fc782
commit 374d2ba648
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -139,16 +139,17 @@ in {
${notifyEnd} ${notifyEnd}
${picPrepFile} ${picPrepFile}
${screenshot} ${picFull} | ${picToFile} | ${picToBuffer} || exit ${screenshot} ${picFull} | ${picToFile} | ${picToBuffer}
${picRefLatestFile} ${picRefLatestFile}
''); '');
SelectScreenshot = pkgs.writeShellScriptBin "SelectScreenshot" (util.trimTabs '' SelectScreenshot = pkgs.writeShellScriptBin "SelectScreenshot" (util.trimTabs ''
${getSelection} ${getSelection}
${notifyEnd} ${notifyStart}
${picPrepFile} ${picPrepFile}
${screenshot} ${picSelected} | ${picEdit} | ${picToFile} | ${picToBuffer} || exit ${screenshot} ${picSelected} | ${picEdit} | ${picToFile} | ${picToBuffer}
${notifyEnd}
${picRefLatestFile} ${picRefLatestFile}
''); '');
in '' in ''