From 661ee80da004c5f5e725727cc13909fd7f26e69d Mon Sep 17 00:00:00 2001 From: Myned Date: Wed, 11 Sep 2024 18:26:30 -0500 Subject: [PATCH] screenshot: enable freeze Signed-off-by: Myned --- options/custom/scripts/screenshot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/options/custom/scripts/screenshot.sh b/options/custom/scripts/screenshot.sh index 253681d..7370e8c 100644 --- a/options/custom/scripts/screenshot.sh +++ b/options/custom/scripts/screenshot.sh @@ -15,9 +15,9 @@ function round() { # TODO: Use proper flags # TODO: Add clipboard support if [[ "${1-}" == '-e' ]]; then - grimblast save area - | swappy --file - + grimblast --freeze save area - | swappy --file - elif [[ "${1-}" == '-d' ]]; then - grimblast save output - > "$XDG_SCREENSHOTS_DIR/$(date +'%F %H-%M-%S').png" + grimblast --freeze save output - > "$XDG_SCREENSHOTS_DIR/$(date +'%F %H-%M-%S').png" else - grimblast save area - > "$XDG_SCREENSHOTS_DIR/$(date +'%F %H-%M-%S').png" + grimblast --freeze save area - > "$XDG_SCREENSHOTS_DIR/$(date +'%F %H-%M-%S').png" fi