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